/*-
- * Copyright (c) 1999-2009 Apple Inc.
+ * Copyright (c) 1999-2016 Apple Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#define AR_PRESELECT_USER_TRAIL 0x00004000U
#define AR_PRESELECT_USER_PIPE 0x00008000U
+#define AR_PRESELECT_FILTER 0x00010000U
+
#define AR_DRAIN_QUEUE 0x80000000U
/*
int au_trigger;
au_evclass_map_t au_evclass;
au_mask_t au_mask;
+ au_asflgs_t au_flags;
auditinfo_t au_auinfo;
auditpinfo_t au_aupinfo;
auditpinfo_addr_t au_aupinfo_addr;
int ar_arg_exitstatus;
int ar_arg_exitretval;
struct sockaddr_storage ar_arg_sockaddr;
+ int ar_arg_fd2;
#if CONFIG_MACF
/*
au_event_t audit_flags_and_error_to_openevent(int oflags, int error);
au_event_t audit_flags_and_error_to_openextendedevent(int oflags,
int error);
+au_event_t audit_flags_and_error_to_openatevent(int oflags,
+ int error);
+au_event_t audit_flags_and_error_to_openbyidevent(int oflags,
+ int error);
au_event_t audit_msgctl_to_event(int cmd);
au_event_t audit_semctl_to_event(int cmr);
int audit_canon_path(struct vnode *cwd_vp, char *path,
* Audit Session.
*/
void audit_session_init(void);
-int audit_session_setaia(proc_t p, auditinfo_addr_t *aia_p, int newprocess);
+int audit_session_setaia(proc_t p, auditinfo_addr_t *aia_p);
auditinfo_addr_t *audit_session_update(auditinfo_addr_t *new_aia);
int audit_session_lookup(au_asid_t asid, auditinfo_addr_t *ret_aia);