.\" 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\-X" "1" "2026\-09\-01" .PP .SH NAME .PP \fBsyd\-x\fR \- Check executability of files, list executables of processes .PP .SH SYNOPSIS .PP \fBsyd\-x\fR \fI[\-hcv]\fR \fI[\-l pid.\&.\&.\&]\fR \fI[files.\&.\&.\&]\fR .PP .SH DESCRIPTION .PP \fBsyd\-x\fR checks executability of the given files or lists executables of the given processes.\& The file executability check uses the \fIexecveat\fR(2) system call with the flag "AT_EXECVE_CHECK" on Linux>=6.\&14 and falls back to the \fIfaccessat\fR(2) system call with the flag "X_OK" on older Linux.\& If the \fI\-l\fR 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" \fIioctl\fR(2) request on Linux>=6.\&11 and falls back to parsing the \fIproc_pid_maps\fR(5) file textually on older Linux.\& .PP .SH OPTIONS .PP .TS l lx l lx l lx l lx. T{ \fB\-h\fR T} T{ Display help.\& T} T{ \fB\-c\fR T} T{ Exit with success if the "AT_EXECVE_CHECK" flag is supported.\& T} T{ \fB\-l\fR \fIpid\fR T} T{ Specify a process ID to list the executables of, may be repeated.\& T} T{ \fB\-v\fR T} T{ Print file check status information on standard error.\& T} .TE .sp 1 .SH EXIT STATUS .PP \fBsyd\-x\fR exits with 0 on success or with the \fIerrno\fR(3) number on failure.\& .PP .SH SEE ALSO .PP \fIsyd\fR(1), \fIsyd\fR(2), \fIsyd\fR(5) .PP .PD 0 .IP \(bu 4 \fBsyd\fR homepage: https://sydbox.\&exherbo.\&org/ .IP \(bu 4 Executability check: https://docs.\&kernel.\&org/next/userspace\-api/check_exec.\&html .PD .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.\&