ouyangxiangzhen
28d943b226
sys/resource: Add RLIMIT_RTPRIO and RLIMIT_RTTIME definition
...
This commit add the definition of RLIMIT_RTPRIO and RLIMIT_RTTIME.
Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
2024-09-13 16:08:25 +08:00
yangyalei
c33e6528b1
getrlimit: add RLIMIT_MEMLOCK define
...
add RLIMIT_MEMLOCK define, enable compile mmap/18-1.c.
ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/18-1.c:95:16: \
error: ‘RLIMIT_MEMLOCK’ undeclared (first use in this function); did you mean ‘RLIMIT_STACK’?
Signed-off-by: yangyalei <yangyalei@xiaomi.com>
2023-07-31 07:50:10 -07:00
Xiang Xiao
92b2f1bd3d
fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long
...
to simplify the large file check in many place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-02 09:37:58 +01:00
crafcat7
ad3def0e15
sys/resource.h:Added ru_maxrss type
2023-02-18 06:59:16 +02:00
Xiang Xiao
319474b1b1
fs: Change off_t and related types to int64_t if long long is supported
...
since it is very popular that the storage capcacity is large than 4GB
even in the embedded system:
https://www.opengroup.org/platform/lfs.html
https://en.wikipedia.org/wiki/Large-file_support
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I019dc08aff02f9ea01eb6d750033bbc358994da5
2021-08-04 06:48:30 -07:00
Alin Jerpelea
9b9be7e1f0
include: Author: Gregory Nutt: update licenses to Apache 2.0
...
Update files from Gregory Nutt to Apache 2.0 license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-04 03:33:58 -08:00
chao.an
06d93828af
sys/resource: fix nxstyle warning
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-09 02:22:34 -08:00
chao.an
82f1263db9
sys/resource: include-able from C++ files
...
Change-Id: I914ab40495a25da184d0b7f8f8b1fa0d376c66a4
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-09 02:22:34 -08:00
anchao
c68f44dc44
Fix typographical error in endian.h and resource.h
2018-11-09 09:05:48 -06:00
Gregory Nutt
8befa072a5
include/sys/resource.h: Trivial typo fix.
2018-05-13 12:12:49 -06:00
Gregory Nutt
3208e4835e
include/sys: Add resource.h
2018-05-13 10:59:49 -06:00