Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 55) sorted by relevance

123

/busybox-1.35.0/shell/ash_test/ash-redir/
Dredir_leak.tests5 ls -1 /proc/self/fd | wc -l
6 ls -1 /proc/self/fd >/proc/self/fd/1 | wc -l
7 ls -1 /proc/self/fd >/proc/self/fd/1 2>&1 | wc -l
8 echo "`ls -1 /proc/self/fd `" | wc -l
9 echo "`ls -1 /proc/self/fd >/proc/self/fd/1 `" | wc -l
10 echo "`ls -1 /proc/self/fd >/proc/self/fd/1 2>&1 `" | wc -l
Dredir_children_should_not_see_saved_fd_1.right1 /proc/self/fd
2 /proc/self/fd/0
3 /proc/self/fd/1
4 /proc/self/fd/2
5 /proc/self/fd/3
Dredir_children_should_not_see_saved_fd_2.right1 /proc/self/fd
2 /proc/self/fd/0
3 /proc/self/fd/1
4 /proc/self/fd/2
5 /proc/self/fd/3
Dredir_children_should_not_see_saved_fd_3.right1 /proc/self/fd
2 /proc/self/fd/0
3 /proc/self/fd/1
4 /proc/self/fd/2
5 /proc/self/fd/3
Dredir_script.tests2 # Note: one of these fds is a directory opened to /proc/self/fd
6 for f in /proc/self/fd/*; do
7 test "$f" = "/proc/self/fd/0" && continue
8 test "$f" = "/proc/self/fd/1" && continue
9 test "$f" = "/proc/self/fd/2" && continue
/busybox-1.35.0/shell/hush_test/hush-redir/
Dredir_leak.tests5 ls -1 /proc/self/fd | wc -l
6 ls -1 /proc/self/fd >/proc/self/fd/1 | wc -l
7 ls -1 /proc/self/fd >/proc/self/fd/1 2>&1 | wc -l
8 echo "`ls -1 /proc/self/fd `" | wc -l
9 echo "`ls -1 /proc/self/fd >/proc/self/fd/1 `" | wc -l
10 echo "`ls -1 /proc/self/fd >/proc/self/fd/1 2>&1 `" | wc -l
Dredir_children_should_not_see_saved_fd_1.right1 /proc/self/fd
2 /proc/self/fd/0
3 /proc/self/fd/1
4 /proc/self/fd/2
5 /proc/self/fd/3
Dredir_children_should_not_see_saved_fd_2.right1 /proc/self/fd
2 /proc/self/fd/0
3 /proc/self/fd/1
4 /proc/self/fd/2
5 /proc/self/fd/3
Dredir_children_should_not_see_saved_fd_3.right1 /proc/self/fd
2 /proc/self/fd/0
3 /proc/self/fd/1
4 /proc/self/fd/2
5 /proc/self/fd/3
Dredir_script.tests2 # Note: one of these fds is a directory opened to /proc/self/fd
6 for f in /proc/self/fd/*; do
7 test "$f" = "/proc/self/fd/0" && continue
8 test "$f" = "/proc/self/fd/1" && continue
9 test "$f" = "/proc/self/fd/2" && continue
Dredir_children_should_not_see_saved_fd_1.tests4 busybox find /proc/self/fd >tmp_$$.out
/busybox-1.35.0/procps/
Dlsof.c47 procps_status_t *proc = NULL; in lsof_main() local
49 while ((proc = procps_scan(proc, PSSCAN_PID|PSSCAN_EXE)) != NULL) { in lsof_main()
56 if (getpid() == proc->pid) in lsof_main()
59 baseofs = sprintf(name, "/proc/%u/fd/", proc->pid); in lsof_main()
69 printf("%d\t%s\t%s\t%s\n", proc->pid, proc->exe, entry->d_name, fdlink); in lsof_main()
Dpgrep.c110 procps_status_t *proc; in pgrep_main() local
159 proc = NULL; in pgrep_main()
160 while ((proc = procps_scan(proc, scan_mask)) != NULL) { in pgrep_main()
164 if (proc->pid == pid) in pgrep_main()
169 if (ppid2match >= 0 && ppid2match != proc->ppid) in pgrep_main()
171 if (sid2match >= 0 && sid2match != proc->sid) in pgrep_main()
176 cmd = proc->argv0; in pgrep_main()
178 cmd = proc->comm; in pgrep_main()
180 int i = proc->argv_len; in pgrep_main()
201 if (ppid2match >= 0 && ppid2match != proc->ppid) in pgrep_main()
[all …]
/busybox-1.35.0/examples/bootfloppy/etc/
Dfstab1 proc /proc proc defaults 0 0
/busybox-1.35.0/shell/hush_test/hush-comm/
Dcomm.right2 /proc/N/comm: SCRIPT.sh
4 /proc/N/comm: SCRIPT.sh
6 /proc/N/comm: hush
Dcomm.tests3 echo 'procdir=/proc/$$'
4 #echo 'echo " /proc/N/exe: $(basename $(readlink $procdir/exe))"'
5 echo 'echo " /proc/N/comm: $(cat $procdir/comm)"'
/busybox-1.35.0/shell/ash_test/ash-comm/
Dcomm.right2 /proc/N/comm: SCRIPT.sh
4 /proc/N/comm: SCRIPT.sh
6 /proc/N/comm: ash
Dcomm.tests3 echo 'procdir=/proc/$$'
4 #echo 'echo " /proc/N/exe: $(basename $(readlink $procdir/exe))"'
5 echo 'echo " /proc/N/comm: $(cat $procdir/comm)"'
/busybox-1.35.0/examples/shutdown-1.0/script/
Dstop_storage38 test -e /proc/version || mount -t proc none /proc
56 cat /proc/mounts \
61 ( proc | sysfs | usbfs | devpts | rpc_pipefs | binfmt_misc | autofs | rootfs | tmpfs | ramfs )
Dstop_tasks55 cat /proc/swaps | grep -v ^Filename | cut -d ' ' -f1 \
64 cat /proc/swaps
66 cat /proc/mounts
/busybox-1.35.0/shell/ash_test/ash-signals/
Dsigquit_exec.tests3 grep SigIgn: /proc/self/status
4 exec grep SigIgn: /proc/self/status
/busybox-1.35.0/shell/hush_test/hush-signals/
Dsigquit_exec.tests3 grep SigIgn: /proc/self/status
4 exec grep SigIgn: /proc/self/status
/busybox-1.35.0/examples/
Dlinux-2.6.30_proc_self_exe.patch1 This patch makes /proc/self/exe executable even if proc
15 + && strcmp(name, "/proc/self/exe") == 0
/busybox-1.35.0/testsuite/
Dparse.tests73 none /proc proc defaults 0 0
86 [none][/proc][proc][defaults][0][0]
Dmount.testroot91 umount /proc
96 /proc /proc proc defaults 0 0

123