Changeset View
Changeset View
Standalone View
Standalone View
head/sys/security/audit/audit_private.h
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
* that it will not need to be allocated during the processing of a system | * that it will not need to be allocated during the processing of a system | ||||
* call, both improving efficiency and avoiding sleeping at untimely moments. | * call, both improving efficiency and avoiding sleeping at untimely moments. | ||||
* This structure is converted to BSM format before being written to disk. | * This structure is converted to BSM format before being written to disk. | ||||
*/ | */ | ||||
struct vnode_au_info { | struct vnode_au_info { | ||||
mode_t vn_mode; | mode_t vn_mode; | ||||
uid_t vn_uid; | uid_t vn_uid; | ||||
gid_t vn_gid; | gid_t vn_gid; | ||||
dev_t vn_dev; | u_int32_t vn_dev; /* XXX dev_t compatibility */ | ||||
long vn_fsid; | long vn_fsid; /* XXX uint64_t compatibility */ | ||||
long vn_fileid; | long vn_fileid; /* XXX ino_t compatibility */ | ||||
long vn_gen; | long vn_gen; | ||||
}; | }; | ||||
struct groupset { | struct groupset { | ||||
gid_t *gidset; | gid_t *gidset; | ||||
u_int gidset_size; | u_int gidset_size; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | struct audit_record { | ||||
uid_t ar_arg_auid; | uid_t ar_arg_auid; | ||||
gid_t ar_arg_gid; | gid_t ar_arg_gid; | ||||
struct groupset ar_arg_groups; | struct groupset ar_arg_groups; | ||||
int ar_arg_fd; | int ar_arg_fd; | ||||
int ar_arg_atfd1; | int ar_arg_atfd1; | ||||
int ar_arg_atfd2; | int ar_arg_atfd2; | ||||
int ar_arg_fflags; | int ar_arg_fflags; | ||||
mode_t ar_arg_mode; | mode_t ar_arg_mode; | ||||
int ar_arg_dev; | int ar_arg_dev; /* XXX dev_t compatibility */ | ||||
long ar_arg_value; | long ar_arg_value; | ||||
void *ar_arg_addr; | void *ar_arg_addr; | ||||
int ar_arg_len; | int ar_arg_len; | ||||
int ar_arg_mask; | int ar_arg_mask; | ||||
u_int ar_arg_signum; | u_int ar_arg_signum; | ||||
char ar_arg_login[MAXLOGNAME]; | char ar_arg_login[MAXLOGNAME]; | ||||
int ar_arg_ctlname[CTL_MAXNAME]; | int ar_arg_ctlname[CTL_MAXNAME]; | ||||
struct socket_au_info ar_arg_sockinfo; | struct socket_au_info ar_arg_sockinfo; | ||||
▲ Show 20 Lines • Show All 279 Lines • Show Last 20 Lines |