incubator-nuttx/fs
fangxinyong 903e87a7bd builtin: support uid/gid config for binfs app
Implement I_SUID/I_SGID feature for binfs in the POSIX compliant way.
If set-user-ID bit is set in the file permissions, then the effective
user ID of process shall be set to UID of the new process image file.

test case:
hello example emulates to set uid and file set-user-ID bit, and call
geteuid and getegid API.
UID  = 2000
GID  = 3000
MODE = 06555

nsh> ls -l /bin/hello
 -r-sr-sr-x    2000    3000       0 hello
nsh> hello
geteuid:2000
getegid:3000

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-08-14 01:37:00 +08:00
..
aio fs: remove sched_[un]lock 2023-08-01 23:15:37 +02:00
binfs builtin: support uid/gid config for binfs app 2023-08-14 01:37:00 +08:00
cromfs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
driver nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
fat Kconfig: Simplify the conditional default statement 2023-07-16 14:39:20 -03:00
hostfs nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
inode fs/inode: add missing FAR 2023-08-08 11:58:29 -03:00
littlefs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
mmap nuttx/fs:remove (flags & MAP_PRIVATE) == 0. 2023-08-04 04:20:06 -07:00
mount build: add initial cmake build system 2023-07-08 13:50:48 +08:00
mqueue fs/mqueue/mq_open.c: Add the judgment for mq_attr is NULL. 2023-08-03 03:10:56 -07:00
nfs fs/nfs: fix coding style issue 2023-07-31 21:41:30 -07:00
nxffs nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
partition TXTABLE: Support backup table 2023-07-29 20:27:10 -07:00
procfs fdt: Add initial FDT support and procfs for userspace export 2023-08-05 12:41:06 -07:00
romfs fs/romfs: Fix FIOC_FILEPATH for dup'ed file 2023-08-02 06:12:25 -07:00
rpmsgfs nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
semaphore fs: remove sched_[un]lock 2023-08-01 23:15:37 +02:00
shm fs/shmfs: implement read and write interface 2023-08-02 22:57:28 -07:00
smartfs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
socket build: add initial cmake build system 2023-07-08 13:50:48 +08:00
spiffs Fix nuttx coding style 2023-07-11 23:32:17 +08:00
tmpfs tmpfs: fix tmpfs_read overwrite after seek over tfo_size 2023-08-03 10:40:28 -07:00
unionfs nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
userfs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
vfs nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig fs/pseudofile: config pseudofile feature 2023-07-31 22:22:58 -07:00
Makefile Minor style clean up 2023-01-28 19:53:20 +02:00
fs_initialize.c fs: Flush the file system cache in BOARDIOC_POWEROFF too 2023-04-21 20:37:59 +03:00