This is an automated email from the ASF dual-hosted git repository.
acassis pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 621122e93c8 Documentation: Describe the execute permission check of
programs.
new cc48013050c sched/group: Keep resource limits per process.
new a6d583afb41 fs/inode: Enforce RLIMIT_NOFILE for new file descriptors.
new 439f658351c libc, sched, binfmt: Use RLIMIT_STACK for the default
stack size.
new 16985928749 Documentation: Describe getrlimit(), setrlimit() and the
resource limits.
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Documentation/reference/user/01_task_control.rst | 50 +++++
binfmt/elf.c | 5 +-
fs/inode/fs_files.c | 36 +++-
include/nuttx/lib/lib.h | 4 +
include/nuttx/sched.h | 6 +
include/sys/syscall_lookup.h | 2 +
libs/libc/misc/CMakeLists.txt | 1 +
libs/libc/misc/Make.defs | 2 +-
.../pthread_condinit.c => misc/lib_getstacksize.c} | 51 +++--
libs/libc/pthread/pthread_attr_init.c | 5 +
libs/libc/unistd/CMakeLists.txt | 2 -
libs/libc/unistd/Make.defs | 3 +-
libs/libc/unistd/lib_getrlimit.c | 93 ---------
libs/libc/unistd/lib_setrlimit.c | 55 -----
libs/libc/unistd/lib_sysconf.c | 14 +-
sched/group/CMakeLists.txt | 1 +
sched/group/Make.defs | 2 +-
sched/group/group.h | 2 +
sched/group/group_create.c | 4 +
sched/group/group_rlimit.c | 221 +++++++++++++++++++++
sched/pthread/pthread_create.c | 4 +
syscall/syscall.csv | 2 +
22 files changed, 380 insertions(+), 185 deletions(-)
copy libs/libc/{pthread/pthread_condinit.c => misc/lib_getstacksize.c} (67%)
delete mode 100644 libs/libc/unistd/lib_getrlimit.c
delete mode 100644 libs/libc/unistd/lib_setrlimit.c
create mode 100644 sched/group/group_rlimit.c