AUDIT_FSTYPE_TO_NAME(3) Linux Audit API AUDIT_FSTYPE_TO_NAME(3)

audit_fstype_to_name - Convert the numeric fstype value to the fstype name

#include <libaudit.h>
const char *audit_fstype_to_name(int fstype);

audit_fstype_to_name() converts the numeric fstype value (0x64626720 or 0x74726163) to the fstype name ("debugfs" or "tracefs"). fstype is the numeric fstype value.

Returns NULL if an error occurs; otherwise, the return value is the fstype name.

audit_name_to_fstype(3),

Steve Grubb

Mar 2022 Red Hat