SYD-X(1) General Commands Manual SYD-X(1)

syd-x - Check executability of the given files

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

syd-x checks executability of the given files. The 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.

-h Display help.
-c Exit with success if the "AT_EXECVE_CHECK" flag is supported.
-v Print file check status information on standard error.

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

The utility syd-err(1) may be used to convert the error number into a human readable string.

syd(1), syd(2), syd(5), syd-err(1)

Maintained by Ali Polatel. Up-to-date sources can be found at https://gitlab.exherbo.org/sydbox/sydbox.git and 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.

2025-06-12