forked from freebsd/freebsd-src
-
Notifications
You must be signed in to change notification settings - Fork 0
vnode_au_info(33)
Mateusz Piotrowski edited this page Aug 5, 2016
·
4 revisions
The structure is required by au_to_attr()
(see au_token(3)
).
The structure is defined in sys/security/audit/audit_private.h
.
/*
* Audit data is generated as a stream of struct audit_record structures,
* linked by struct kaudit_record, and contain storage for possible audit so
* that it will not need to be allocated during the processing of a system
* call, both improving efficiency and avoiding sleeping at untimely moments.
* This structure is converted to BSM format before being written to disk.
*/
struct vnode_au_info {
mode_t vn_mode;
uid_t vn_uid;
gid_t vn_gid;
dev_t vn_dev;
long vn_fsid;
long vn_fileid;
long vn_gen;
};
I've not found any interface functions for this structure so I guess it has to be managed manually.
It is a private structure. It is defined in a public interface in bsm/libbsm.h
and is only included when _KERNEL
or KERNEL
is defined.