.\" Generated by scdoc 1.11.5 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "SYD\-LS" "1" "2026\-09\-01" .PP .SH NAME .PP \fBsyd\-ls\fR \- List unsafe directories, capabilities, system calls, environment variables, ioctl requests, personalities, and prctl options .PP .SH SYNOPSIS .PP \fBsyd\-ls\fR \fI[set]\fR .PP .SH DESCRIPTION .PP The \fBsyd\-ls\fR utility prints the names of the system calls which belong to the given set.\& Available sets are \fBaio\fR, \fBcpu\fR, \fBdead\fR, \fBdeny\fR, \fBebpf\fR, \fBfutex\fR, \fBhook\fR, \fBnice\fR, \fBnoop\fR, \fBpkey\fR, \fBptrace\fR, \fBsafe\fR, \fBsetid\fR, \fBtime\fR, and \fBuring\fR.\& .PP If set is \fBdrop\fR, \fBsyd\-ls\fR prints the list of Linux \fIcapabilities\fR(7) that are dropped at startup.\& .PP If set is \fBenv\fR, \fBsyd\-ls\fR prints the list of unsafe environment variables.\& .PP If set is \fBioctl\fR, \fBsyd\-ls\fR prints the list of allowed ioctl requests.\& .PP If set is \fBprctl\fR, \fBsyd\-ls\fR prints the list of allowed prctl options.\& .PP If set is \fBpersonality\fR, \fBsyd\-ls\fR prints the list of allowed personalities.\& .PP Given no set, \fBsyd\-ls\fR lists all files in the current working directory.\& In this mode, getdents64(2) is used directly.\& Use to list files in untrusted directories with huge number of files.\& File names are printed hex\-encoded, delimited by newline, use \fIsyd\-hex\fR(1) to decode.\& See EXAMPLES section for more information.\& .PP .SH EXAMPLES .PP .nf .RS 4 [alip@caissa tmp]$ mkdir test; cd test [alip@caissa test]$ for i in {1\&.\&.10000000}; do :>$i; done [alip@caissa test]$ df \-i \&. Filesystem Inodes IUsed IFree IUse% Mounted on tmpfs 10048576 10000228 48348 100% /tmp [alip@caissa test]$ syd\-ls | head \-n5 | syd\-hex \-dfs \&. \&.\&. 10000000 9999999 9999998 [alip@caissa test]$ for ls in syd\-ls gls 9ls \&'busybox ls\&'; do > sync > sudo sh \-c \&'echo 3 > /proc/sys/vm/drop_caches\&' > echo "[*] $ls" > time $ls >/dev/null > done [*] syd\-ls syd\-ls: Listed 10000002 files in 2\&.882764582 seconds\&. real 0m2\&.889s user 0m0\&.883s sys 0m1\&.995s [*] gls real 0m7\&.548s user 0m5\&.724s sys 0m1\&.803s [*] 9ls real 0m15\&.306s user 0m2\&.523s sys 0m12\&.743s [*] busybox ls real 0m18\&.011s user 0m11\&.178s sys 0m6\&.786s [alip@caissa test]$ gls \-\-version | head \-n1 ls (GNU coreutils) 9\&.6 [alip@caissa test]$ pacman \-Ss 9base | head \-n1 extra/9base 6\-9 [installed] [alip@caissa test]$ busybox | head \-n1 BusyBox v1\&.36\&.1 () multi\-call binary\&. .fi .RE .PP .SH SEE ALSO .PP \fIsyd\fR(1), \fIsyd\fR(2), \fIsyd\fR(5), \fIsyd\-hex\fR(1), \fIgetdents\fR(2) .PP \fBsyd\fR homepage: https://sydbox.\&exherbo.\&org/ .PP .SH AUTHORS .PP Maintained by Ali Polatel.\& Up\-to\-date sources can be found at https://gitlab.\&exherbo.\&org/sydbox/sydbox.\&git and on Radicle at rad:z38HCnbmcDegA2BMxuPaPRPMdp6wF.\& Bugs/patches can be submitted to https://gitlab.\&exherbo.\&org/groups/sydbox/\-/issues.\& Discuss in #sydbox on Libera Chat or in #sydbox:mailstation.\&de on Matrix.\&