AUDIT_NAME_TO_FSTYPE(3) | Linux Audit API | AUDIT_NAME_TO_FSTYPE(3) |
audit_name_to_fstype - Convert the fstype name to the numeric fstype value
#include <libaudit.h>
int audit_name_to_fstype(const char *name);
audit_name_to_fstype() converts the fstype name ("debugfs" or "tracefs") to the numeric fstype value (0x64626720 or 0x74726163). name is the fstype name.
Returns -1 if an name occurs; otherwise, the return value is the numeric fstype value.
audit_fstype_to_name(3),
Steve Grubb
Mar 2022 | Red Hat |