Skip to content

fix(zephyr): increase zvfs_open_max to required minimum#217

Merged
kr-t merged 1 commit into
mainfrom
zvsf_open_sockets
May 25, 2026
Merged

fix(zephyr): increase zvfs_open_max to required minimum#217
kr-t merged 1 commit into
mainfrom
zvsf_open_sockets

Conversation

@kr-t
Copy link
Copy Markdown
Collaborator

@kr-t kr-t commented May 25, 2026

fixes following zephyr warning:
CONFIG_ZVFS_OPEN_MAX is less than requested minimum:
10 < 11
Setting the file descriptor size to 11

@kr-t kr-t requested review from casaroli and srberard as code owners May 25, 2026 09:16
fixes following zephyr warning:
  CONFIG_ZVFS_OPEN_MAX is less than requested minimum:
    10 < 11
  Setting the file descriptor size to 11

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
@kr-t kr-t force-pushed the zvsf_open_sockets branch from 2e04d0f to 23d6e17 Compare May 25, 2026 09:16
@casaroli
Copy link
Copy Markdown
Collaborator

casaroli commented May 25, 2026

Filename                                                         Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ocre/context.c                                                       375               155    58.67%          10                 0   100.00%         291                80    72.51%         190                95    50.00%
ocre/container.c                                                     709               381    46.26%          15                 0   100.00%         495               197    60.20%         360               223    38.06%
ocre/util/unique_random_id.c                                          21                 4    80.95%           3                 0   100.00%          29                 6    79.31%          12                 4    66.67%
ocre/util/string_array.c                                              39                18    53.85%           4                 0   100.00%          53                27    49.06%          24                14    41.67%
ocre/util/rm_rf.c                                                     66                15    77.27%           4                 0   100.00%         114                42    63.16%          44                16    63.64%
ocre/ocre.c                                                          451               191    57.65%           9                 0   100.00%         291                91    68.73%         226               131    42.04%
runtime/wamr-wasip1/wamr.c                                           298               183    38.59%           7                 0   100.00%         282               135    52.13%         162               111    31.48%
runtime/wamr-wasip1/ocre_api/core/core_mutex.c                         7                 4    42.86%           4                 3    25.00%          14                10    28.57%           2                 1    50.00%
runtime/wamr-wasip1/ocre_api/core/core_memory.c                        2                 0   100.00%           2                 0   100.00%           6                 0   100.00%           0                 0         -
runtime/wamr-wasip1/ocre_api/core/core_timer.c                        24                24     0.00%           5                 5     0.00%          43                43     0.00%          14                14     0.00%
runtime/wamr-wasip1/ocre_api/core/core_eventq.c                       19                10    47.37%           5                 2    60.00%          57                30    47.37%          10                 6    40.00%
runtime/wamr-wasip1/ocre_api/core/core_misc.c                          3                 2    33.33%           3                 2    33.33%          13                 8    38.46%           0                 0         -
runtime/wamr-wasip1/ocre_api/ocre_api.c                               18                18     0.00%           2                 2     0.00%          25                25     0.00%           6                 6     0.00%
runtime/wamr-wasip1/ocre_api/ocre_common.c                           245               163    33.47%          13                 5    61.54%         220               147    33.18%         134               107    20.15%
runtime/wamr-wasip1/ocre_api/ocre_messaging/ocre_messaging.c         225               225     0.00%           5                 5     0.00%         182               182     0.00%         118               118     0.00%
runtime/wamr-wasip1/ocre_api/ocre_timers/ocre_timer.c                272               245     9.93%           8                 6    25.00%         170               154     9.41%         146               137     6.16%
runtime/wamr-wasip1/ocre_api/utils/strlcat.c                          12                12     0.00%           1                 1     0.00%          21                21     0.00%          10                10     0.00%
common/common.c                                                       23                 1    95.65%           1                 0   100.00%          16                 2    87.50%          14                 2    85.71%
platform/posix/lstat.c                                                 1                 0   100.00%           1                 0   100.00%           3                 0   100.00%           0                 0         -
platform/posix/file_mmap.c                                            78                53    32.05%           2                 0   100.00%          61                37    39.34%          38                27    28.95%
platform/posix/memory.c                                                3                 0   100.00%           3                 0   100.00%           9                 0   100.00%           0                 0         -

Files which contain no functions:
uthash/include/uthash/utlist.h                                         0                 0         -           0                 0         -           0                 0         -           0                 0         -
runtime/wamr-wasip1/ocre_api/core/core_internal.h                      0                 0         -           0                 0         -           0                 0         -           0                 0         -
runtime/wamr-wasip1/ocre_api/ocre_api.h                                0                 0         -           0                 0         -           0                 0         -           0                 0         -
platform/posix/include/ocre/platform/log.h                             0                 0         -           0                 0         -           0                 0         -           0                 0         -
platform/posix/include/ocre/platform/config.h                          0                 0         -           0                 0         -           0                 0         -           0                 0         -
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                               2891              1704    41.06%         107                31    71.03%        2395              1237    48.35%        1510              1022    32.32%

@kr-t kr-t merged commit bc71bb2 into main May 25, 2026
32 checks passed
@kr-t kr-t deleted the zvsf_open_sockets branch May 25, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants