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
..
2023-05-17 10:24:42 +08:00
2023-07-11 23:32:17 +08:00
2023-08-11 20:39:16 +08:00
2023-06-12 08:39:38 +02:00
2023-07-13 10:11:58 +08:00
2023-07-13 10:11:58 +08:00
2023-07-13 10:11:58 +08:00
2023-07-11 23:32:17 +08:00
2023-07-28 20:56:22 -07:00
2023-05-19 02:40:38 +08:00
2023-07-11 23:32:17 +08:00
2023-07-29 07:28:23 -07:00
2023-05-05 18:36:36 +08:00