This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from d6444d0a7bd drivers/usbdev: re-assert soft connect in cdcecm/cdcncm
disconnect()
new 4c622716543 sched/group: add getresuid, getresgid, setreuid, and
setregid
new 4bbe61ead5e fs/inode: assign owner and group when reserving
pseudo-inodes
new fe28fb033c3 fs: enforce permission checks when opening IPC
pseudo-inodes
new 282d4cb0e93 libc/pwd: parse NuttX 5-field passwd records
new ddf38abe458 Documentation: describe credential APIs and pseudo-fs
ownership
new 5c9c236954b libc/pwd: default ostest multiuser passwd path to
/tmp/ostest_passwd
The 6 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/implementation/user_identity.rst | 29 ++++++
fs/inode/fs_inode.c | 15 ++-
fs/inode/fs_inodereserve.c | 13 +++
fs/inode/inode.h | 6 --
fs/mqueue/mq_open.c | 20 ++++
fs/semaphore/sem_open.c | 8 ++
fs/shm/shm_open.c | 7 +-
fs/vfs/fs_pseudofile.c | 16 ----
include/sys/syscall_lookup.h | 4 +
include/unistd.h | 3 +
libs/libc/pwd/Kconfig | 4 +-
libs/libc/pwd/lib_find_pwdfile.c | 49 +++++++---
libs/libc/unistd/CMakeLists.txt | 8 +-
libs/libc/unistd/Make.defs | 3 +-
.../libc/unistd/{lib_setegid.c => lib_getresgid.c} | 35 ++++---
libs/libc/unistd/{lib_setuid.c => lib_getresuid.c} | 35 ++++---
libs/libc/unistd/lib_setregid.c | 27 ++----
libs/libc/unistd/lib_setreuid.c | 26 ++---
sched/group/CMakeLists.txt | 6 +-
sched/group/Make.defs | 1 +
sched/group/{group_getegid.c => group_getresgid.c} | 38 +++++---
sched/group/{group_getegid.c => group_getresuid.c} | 38 +++++---
.../lib_setregid.c => sched/group/group_setregid.c | 106 ++++++++++++++++++---
.../lib_setreuid.c => sched/group/group_setreuid.c | 106 ++++++++++++++++++---
syscall/syscall.csv | 4 +
25 files changed, 447 insertions(+), 160 deletions(-)
copy libs/libc/unistd/{lib_setegid.c => lib_getresgid.c} (76%)
copy libs/libc/unistd/{lib_setuid.c => lib_getresuid.c} (76%)
copy sched/group/{group_getegid.c => group_getresgid.c} (71%)
copy sched/group/{group_getegid.c => group_getresuid.c} (71%)
copy libs/libc/unistd/lib_setregid.c => sched/group/group_setregid.c (51%)
copy libs/libc/unistd/lib_setreuid.c => sched/group/group_setreuid.c (51%)