nuttx-apps/nshlib
Abhishek Mishra f75251f7e3 nshlib: close extra fds before jailed execvp
chroot <newroot> <command> closes non-stdio, non-O_CLOEXEC descriptors
before execvp so inherited host fds cannot bypass the jail.

Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
2026-08-21 02:54:29 +08:00
..
CMakeLists.txt netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
Kconfig nshlib: add chroot command 2026-08-21 02:54:29 +08:00
Make.defs
Makefile netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
nsh.h nshlib: add chroot command 2026-08-21 02:54:29 +08:00
nsh_alias.c
nsh_altconsole.c
nsh_builtin.c
nsh_codeccmd.c
nsh_command.c nshlib: add chroot command 2026-08-21 02:54:29 +08:00
nsh_console.c
nsh_console.h
nsh_consolemain.c
nsh_dbgcmds.c
nsh_dropbear.c netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
nsh_envcmds.c nshlib: close extra fds before jailed execvp 2026-08-21 02:54:29 +08:00
nsh_fileapps.c system/sudo: add setuid privilege helper 2026-08-17 09:06:13 -03:00
nsh_fscmds.c nshlib: add du command support 2026-07-26 07:39:39 -03:00
nsh_fsutils.c
nsh_identity.c system/sudo: add setuid privilege helper 2026-08-17 09:06:13 -03:00
nsh_init.c netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
nsh_login.c nshlib: apply #/$ prompt markers after login 2026-08-14 11:44:18 -03:00
nsh_mmcmds.c
nsh_mntcmds.c
nsh_modcmds.c
nsh_netcmds.c nshlib/ifconfig: support "ifconfig <iface> up|down" 2026-08-11 11:21:43 +08:00
nsh_parse.c nshlib: Add su, id, and whoami identity commands 2026-06-20 15:38:45 -03:00
nsh_passwdcmds.c !nshlib: Remove fixed login; require FSUTILS_PASSWD 2026-07-22 17:21:22 +08:00
nsh_printf.c
nsh_proccmds.c nshlib: top: add Linux-like summary and flicker-free refresh 2026-07-12 10:00:40 +08:00
nsh_prompt.c nshlib: apply privilege prompt markers only after real login 2026-08-15 18:42:18 +08:00
nsh_routecmds.c
nsh_script.c apps: Replace O_RDOK with O_RDONLY after alias removal 2026-06-28 13:00:52 +02:00
nsh_session.c nshlib: apply privilege prompt markers only after real login 2026-08-15 18:42:18 +08:00
nsh_syscmds.c nshlib: boot: guard nsh_getfullpath against NULL argv[1] 2026-08-07 21:31:18 +08:00
nsh_system.c
nsh_telnetd.c
nsh_telnetlogin.c nshlib: apply #/$ prompt markers after login 2026-08-14 11:44:18 -03:00
nsh_test.c
nsh_timcmds.c
nsh_usbconsole.c
nsh_usbtrace.c
nsh_vars.c fix: V-001 security vulnerability 2026-07-10 13:01:42 +08:00
nsh_wait.c
rc.sysinit.template
rcS.template