syd-x(1)

syd-x1

Check executability of files, list executables of processes

Usage

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

Overview

syd-x checks executability of the given files or lists executables of the given processes. The file executability check 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. If the -l option is specified, list mode is activated: all following arguments are interpreted as process IDs, not files. In list mode, 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.

Options

-hDisplay help.
-cExit with success if the "AT_EXECVE_CHECK" flag is supported.
-l pidSpecify a process ID to list the executables of, may be repeated.
-vPrint file check status information on standard error.

Exit status

syd-x exits with 0 on success or with the errno(3) number on failure.

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.

From syd 3.59.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.