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 1757b28b1f1 drivers/sensors: Use sensor_data_t for the electrical
quantities.
new 6c7f604f79d sched: add per-group filesystem jail root
new a0adad66026 fs: start absolute lookups at the jail root
new 2977db26327 fs: add chroot() syscall
new 4b86c1dd230 docs: document chroot jail root
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/applications/nsh/commands.rst | 46 +++
Documentation/applications/nsh/config.rst | 1 +
Documentation/implementation/chroot.rst | 252 +++++++++++++
Documentation/implementation/index.rst | 1 +
Documentation/implementation/user_identity.rst | 22 +-
Documentation/reference/user/10_filesystem.rst | 3 +
Documentation/standards/posix.rst | 5 +
fs/Kconfig | 12 +
fs/driver/fs_findblockdriver.c | 17 +-
fs/driver/fs_finddriver.c | 14 +-
fs/driver/fs_findmtddriver.c | 17 +-
fs/event/event_open.c | 14 +-
fs/fat/fs_fat32attrib.c | 16 +-
fs/inode/fs_inodefind.c | 14 +-
fs/inode/fs_inoderemove.c | 10 +-
fs/inode/fs_inodereserve.c | 10 +-
fs/inode/fs_inodesearch.c | 402 ++++++++++++---------
fs/inode/inode.h | 65 ++--
fs/littlefs/lfs_vfs.c | 3 +
fs/mount/fs_automount.c | 174 ++++-----
fs/mount/fs_mount.c | 31 +-
fs/mount/fs_umount2.c | 13 +-
fs/mqueue/mq_open.c | 31 +-
fs/mqueue/mq_unlink.c | 14 +-
fs/partition/fs_partition.c | 2 +
fs/semaphore/sem_open.c | 14 +-
fs/semaphore/sem_unlink.c | 14 +-
fs/shm/shm_open.c | 24 +-
fs/shm/shm_unlink.c | 16 +-
fs/unionfs/fs_unionfs.c | 13 +-
fs/vfs/CMakeLists.txt | 4 +
fs/vfs/Make.defs | 4 +
.../group/group_setgroups.c => fs/vfs/fs_chroot.c | 89 +++--
fs/vfs/fs_chstat.c | 11 +-
fs/vfs/fs_close.c | 1 +
fs/vfs/fs_link.c | 50 +--
fs/vfs/fs_mkdir.c | 31 +-
fs/vfs/fs_open.c | 17 +-
fs/vfs/fs_readlink.c | 27 +-
fs/vfs/fs_rename.c | 66 ++--
fs/vfs/fs_rmdir.c | 37 +-
fs/vfs/fs_stat.c | 11 +-
fs/vfs/fs_statfs.c | 13 +-
fs/vfs/fs_symlink.c | 35 +-
fs/vfs/fs_unlink.c | 15 +-
include/nuttx/sched.h | 6 +
include/unistd.h | 3 +
sched/group/group_create.c | 70 +++-
sched/group/group_leave.c | 15 +
syscall/syscall.csv | 1 +
50 files changed, 1190 insertions(+), 586 deletions(-)
create mode 100644 Documentation/implementation/chroot.rst
copy sched/group/group_setgroups.c => fs/vfs/fs_chroot.c (53%)