SYD-X(1)

πŸ“¦
version 3.59.0 Β· 3 versions
, in arch rolling

πŸ’… SYD-X(1) β€” like, the manual page bestie

okay so this is syd-x, and it lives in the General Commands Manual section (section 1, iykyk) πŸŽ€


✨ NAME ✨

syd-x β€” checks whether files are executable, and lists the executables of processes. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

syd-x [-hcv] [-l pid...] [files...]

πŸ’– DESCRIPTION πŸ’–

okay so syd-x does one of two things depending on the mood: it checks executability of the files you hand it, or it lists the executables of the processes you hand it. slay, dual-purpose icon. ✨

the file executability check is lowkey doing the most: it uses the execveat(2) system call with the flag "AT_EXECVE_CHECK" on Linux>=6.14, and falls back to the faccessat(2) system call with the flag "X_OK" on older Linux. so it works on your old laptop too, we love a generous queen. 🫢

but the moment you pass the -l option, list mode activates: all following arguments are interpreted as process IDs, not files. read that again bestie, everything after it is pids. πŸ’…

in list mode, the executable file listing is done using the "PROCMAP_QUERY" ioctl(2) request on Linux>=6.11, and falls back to parsing the proc_pid_maps(5) file textually on older Linux. textual parsing era, we respect the hustle. πŸ“œ


⭐ OPTIONS ⭐

  • -h β€” display help. your girl's gotta know what's up πŸ’β€β™€οΈ
  • -c β€” exit with success if the "AT_EXECVE_CHECK" flag is supported. a little vibe check for the kernel, no cap βœ…
  • -l pid β€” specify a process ID to list the executables of, may be repeated. stack 'em up, one pid per flag, go off πŸ‘‘
  • -v β€” print file check status information on standard error. the receipts go to stderr, as receipts do 🧾

πŸ’€ EXIT STATUS πŸ’€

syd-x exits with 0 on success or with the errno(3) number on failure. so if it's not 0, that number is literally the errno telling you what went wrong. not me reading error codes for fun πŸ™ˆ


🌈 SEE ALSO 🌈

syd(1), syd(2), syd(5)


πŸŽ€ AUTHORS πŸŽ€

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. πŸ’œ


fr fr that's the whole page β€” go check some files, go list some pids, be the main character of your own process tree 🌟

okay bye bestie, this page was dated 2026-09-01 and it's the SYD-X(1) manual β€” catch you in the next man page, mwah πŸ˜­πŸ’–

πŸ“¦ where this page comes from