nuttx/include/nuttx/lib
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
..
builtin.h builtin: support uid/gid config for binfs app 2023-08-14 01:37:00 +08:00
float.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
lib.h arch/esp32: use kernel internal API for libc stubs 2023-08-08 11:58:29 -03:00
math.h libs: workaround for Visual Studio(MSVC) Compiler Error C2124 2023-02-09 20:11:55 +08:00
math32.h Revert "lib/math32.h: support LOG2_CEIL/LOG2_FLOOR function at compile time" 2023-02-13 09:30:25 +02:00
modlib.h Fix and improve dynamic loader 2023-07-13 10:11:58 +08:00
setjmp.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
stdarg.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
xorshift128.h nuttx: Author David S. Alessio: update licenses to Apache 2021-03-22 19:28:38 -07:00