Designate a file or filesystem as trusted, or see if it is
Mark a file or filesystem as trusted:
pathtrust [!]file... [lockdown]
Test to see if a file is trusted:
pathtrust [-q] -t file... [lockdown]
QNX Neutrino
If you haven't specified the -t option, then if you specify a leading exclamation mark, the given file is designated as trusted. If you don't specify the exclamation mark, the underlying filesystem is designated as trusted.
The pathtrust utility sends messages to procnto to mark the given files and filesystems as trusted. If you don't mark any files or filesystems as trusted, all are trusted.
If a privileged process (root, or non-root with the PROCMGR_AID_PROT_EXEC ability—see procmgr_ability()) attempts to mark a region of memory as PROT_EXEC, any memory-mapped files in the region must be trusted or be from a trusted filesystem.