libc: unistd: lib_getrlimit: use INT_MAX as dummy rlim_max value.

Signed-off-by: Takeyoshi Kikuchi <kikuchi@centurysys.co.jp>
This commit is contained in:
Takeyoshi Kikuchi 2023-02-17 14:40:05 +09:00 committed by Xiang Xiao
parent 2e5a20612c
commit c4fc414b09
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ int getrlimit(int resource, FAR struct rlimit *rlp)
case RLIMIT_NOFILE:
{
rlp->rlim_cur = 128;
rlp->rlim_max = 1024 * 1024; /* dummy */
rlp->rlim_max = INT_MAX; /* dummy */
}
break;