2006-02-02 10:05:39 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE= lib${LIB}
|
2017-01-20 03:57:24 +00:00
|
|
|
OPENBSMDIR= ${SRCTOP}/contrib/openbsm
|
2015-12-01 22:20:04 +00:00
|
|
|
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
|
2006-02-02 10:05:39 +00:00
|
|
|
|
|
|
|
LIB= bsm
|
2009-07-19 17:25:24 +00:00
|
|
|
SHLIB_MAJOR= 3
|
2006-02-02 10:05:39 +00:00
|
|
|
|
2015-12-01 22:20:04 +00:00
|
|
|
.PATH: ${_LIBBSMDIR}
|
2006-02-02 10:05:39 +00:00
|
|
|
.PATH: ${OPENBSMDIR}/bsm
|
|
|
|
.PATH: ${OPENBSMDIR}/man
|
|
|
|
|
|
|
|
SRCS= bsm_audit.c \
|
|
|
|
bsm_class.c \
|
|
|
|
bsm_control.c \
|
Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm
build along with man pages, add audit_bsm_domain.c and
audit_bsm_socket_type.c to the kernel environment.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 5
- Stub libauditd(3) man page added.
- All BSM error number constants with BSM_ERRNO_.
- Interfaces to convert between local and BSM socket types and protocol
families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
of constants in audit_domain.h and audit_socket_type.h. This improves
interoperability by converting local constant spaces, which vary by OS, to
and from Solaris constants (where available) or OpenBSM constants for
protocol domains not present in Solaris (a fair number). These routines
should be used when generating and interpreting extended socket tokens.
- Fix build warnings with full gcc warnings enabled on most supported
platforms.
- Don't compile error strings into bsm_errno.c when building it in the kernel
environment.
- When started by launchd, use the label com.apple.auditd rather than
org.trustedbsd.auditd.
2009-01-14 10:44:16 +00:00
|
|
|
bsm_domain.c \
|
Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Add libauditd build parts and add to auditd's linkage;
force libbsm to build before libauditd.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 4
- With the addition of BSM error number mapping, we also need to map the
local error number passed to audit_submit(3) to a BSM error number,
rather than have the caller perform that conversion.
- Reallocate user audit events to avoid collisions with Solaris; adopt a
more formal allocation scheme, and add some events allocated in Solaris
that will be of immediate use on other platforms.
- Add an event for Calife.
- Add au_strerror(3), which allows generating strings for BSM errors
directly, rather than requiring applications to map to the local error
space, which might not be able to entirely represent the BSM error
number space.
- Major auditd rewrite for launchd(8) support. Add libauditd library
that is shared between launchd and auditd.
- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for
(re)starting auditing under launchd(8) on Mac OS X.
- Add 'current' symlink to active audit trail.
- Add crash recovery of previous audit trail file when detected on audit
startup that it has not been properly terminated.
- Add the event AUE_audit_recovery to indicated when an audit trail file
has been recovered from not being properly terminated. This event is
stored in the new audit trail file and includes the path of recovered
audit trail file.
- Mac OS X and FreeBSD dependent code in auditd.c is separated into
auditd_darwin.c and auditd_fbsd.c files.
- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system
calls.
- For Mac OS X, we use ASL(3) instead of syslog(3) for logging.
- Add support for NOTICE level logging.
OpenBSM 1.1 alpha 3
- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map
between BSM error numbers (largely the Solaris definitions) and local
errno(2) values for 32-bit and 64-bit return tokens. This is required
as operating systems don't agree on some of the values of more recent
error numbers.
- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the
total size for the token. This buge.
- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed.
2008-12-31 11:12:24 +00:00
|
|
|
bsm_errno.c \
|
2006-02-02 10:05:39 +00:00
|
|
|
bsm_event.c \
|
2009-04-19 16:17:13 +00:00
|
|
|
bsm_fcntl.c \
|
2006-02-02 10:05:39 +00:00
|
|
|
bsm_flags.c \
|
|
|
|
bsm_io.c \
|
|
|
|
bsm_mask.c \
|
|
|
|
bsm_notify.c \
|
Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm
build along with man pages, add audit_bsm_domain.c and
audit_bsm_socket_type.c to the kernel environment.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 5
- Stub libauditd(3) man page added.
- All BSM error number constants with BSM_ERRNO_.
- Interfaces to convert between local and BSM socket types and protocol
families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
of constants in audit_domain.h and audit_socket_type.h. This improves
interoperability by converting local constant spaces, which vary by OS, to
and from Solaris constants (where available) or OpenBSM constants for
protocol domains not present in Solaris (a fair number). These routines
should be used when generating and interpreting extended socket tokens.
- Fix build warnings with full gcc warnings enabled on most supported
platforms.
- Don't compile error strings into bsm_errno.c when building it in the kernel
environment.
- When started by launchd, use the label com.apple.auditd rather than
org.trustedbsd.auditd.
2009-01-14 10:44:16 +00:00
|
|
|
bsm_socket_type.c \
|
2006-02-02 10:05:39 +00:00
|
|
|
bsm_token.c \
|
|
|
|
bsm_user.c \
|
|
|
|
bsm_wrappers.c
|
|
|
|
|
|
|
|
#
|
|
|
|
# Must use BSM include files from within the contrib area, not the system.
|
|
|
|
#
|
2015-12-01 22:20:04 +00:00
|
|
|
CFLAGS+= -I${OPENBSMDIR} -I${_LIBBSMDIR}
|
2006-02-02 10:05:39 +00:00
|
|
|
|
2010-01-02 09:58:07 +00:00
|
|
|
WARNS?= 1
|
|
|
|
|
2006-02-02 10:05:39 +00:00
|
|
|
INCS= audit_uevents.h libbsm.h
|
|
|
|
INCSDIR= ${INCLUDEDIR}/bsm
|
|
|
|
|
|
|
|
MAN= libbsm.3 \
|
|
|
|
au_class.3 \
|
|
|
|
au_control.3 \
|
Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm
build along with man pages, add audit_bsm_domain.c and
audit_bsm_socket_type.c to the kernel environment.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 5
- Stub libauditd(3) man page added.
- All BSM error number constants with BSM_ERRNO_.
- Interfaces to convert between local and BSM socket types and protocol
families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
of constants in audit_domain.h and audit_socket_type.h. This improves
interoperability by converting local constant spaces, which vary by OS, to
and from Solaris constants (where available) or OpenBSM constants for
protocol domains not present in Solaris (a fair number). These routines
should be used when generating and interpreting extended socket tokens.
- Fix build warnings with full gcc warnings enabled on most supported
platforms.
- Don't compile error strings into bsm_errno.c when building it in the kernel
environment.
- When started by launchd, use the label com.apple.auditd rather than
org.trustedbsd.auditd.
2009-01-14 10:44:16 +00:00
|
|
|
au_domain.3 \
|
Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Add libauditd build parts and add to auditd's linkage;
force libbsm to build before libauditd.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 4
- With the addition of BSM error number mapping, we also need to map the
local error number passed to audit_submit(3) to a BSM error number,
rather than have the caller perform that conversion.
- Reallocate user audit events to avoid collisions with Solaris; adopt a
more formal allocation scheme, and add some events allocated in Solaris
that will be of immediate use on other platforms.
- Add an event for Calife.
- Add au_strerror(3), which allows generating strings for BSM errors
directly, rather than requiring applications to map to the local error
space, which might not be able to entirely represent the BSM error
number space.
- Major auditd rewrite for launchd(8) support. Add libauditd library
that is shared between launchd and auditd.
- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for
(re)starting auditing under launchd(8) on Mac OS X.
- Add 'current' symlink to active audit trail.
- Add crash recovery of previous audit trail file when detected on audit
startup that it has not been properly terminated.
- Add the event AUE_audit_recovery to indicated when an audit trail file
has been recovered from not being properly terminated. This event is
stored in the new audit trail file and includes the path of recovered
audit trail file.
- Mac OS X and FreeBSD dependent code in auditd.c is separated into
auditd_darwin.c and auditd_fbsd.c files.
- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system
calls.
- For Mac OS X, we use ASL(3) instead of syslog(3) for logging.
- Add support for NOTICE level logging.
OpenBSM 1.1 alpha 3
- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map
between BSM error numbers (largely the Solaris definitions) and local
errno(2) values for 32-bit and 64-bit return tokens. This is required
as operating systems don't agree on some of the values of more recent
error numbers.
- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the
total size for the token. This buge.
- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed.
2008-12-31 11:12:24 +00:00
|
|
|
au_errno.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_event.3 \
|
2009-04-19 16:17:13 +00:00
|
|
|
au_fcntl_cmd.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_free_token.3 \
|
|
|
|
au_io.3 \
|
|
|
|
au_mask.3 \
|
2015-12-18 09:50:24 +00:00
|
|
|
au_notify.3 \
|
2006-09-19 08:30:34 +00:00
|
|
|
au_open.3 \
|
Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm
build along with man pages, add audit_bsm_domain.c and
audit_bsm_socket_type.c to the kernel environment.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 5
- Stub libauditd(3) man page added.
- All BSM error number constants with BSM_ERRNO_.
- Interfaces to convert between local and BSM socket types and protocol
families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
of constants in audit_domain.h and audit_socket_type.h. This improves
interoperability by converting local constant spaces, which vary by OS, to
and from Solaris constants (where available) or OpenBSM constants for
protocol domains not present in Solaris (a fair number). These routines
should be used when generating and interpreting extended socket tokens.
- Fix build warnings with full gcc warnings enabled on most supported
platforms.
- Don't compile error strings into bsm_errno.c when building it in the kernel
environment.
- When started by launchd, use the label com.apple.auditd rather than
org.trustedbsd.auditd.
2009-01-14 10:44:16 +00:00
|
|
|
au_socket_type.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_token.3 \
|
2006-06-05 12:53:44 +00:00
|
|
|
au_user.3 \
|
|
|
|
audit_submit.3
|
2006-02-02 10:05:39 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# It seems like maybe some of these should be installed separately, since
|
|
|
|
# they're not all libbsm parts.
|
|
|
|
#
|
|
|
|
MAN+= audit.2 \
|
|
|
|
audit.log.5 \
|
|
|
|
audit_class.5 \
|
|
|
|
audit_control.5 \
|
|
|
|
audit_event.5 \
|
|
|
|
audit_user.5 \
|
|
|
|
audit_warn.5 \
|
|
|
|
auditctl.2 \
|
|
|
|
auditon.2 \
|
|
|
|
getaudit.2 \
|
|
|
|
getauid.2 \
|
|
|
|
setaudit.2 \
|
|
|
|
setauid.2
|
|
|
|
|
|
|
|
MLINKS= libbsm.3 bsm.3 \
|
|
|
|
au_class.3 getauclassent.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_class.3 getauclassent_r.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_class.3 getauclassnam.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_class.3 getauclassnam_3.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_class.3 setauclass.3 \
|
|
|
|
au_class.3 endauclass.3 \
|
|
|
|
au_control.3 setac.3 \
|
|
|
|
au_control.3 endac.3 \
|
|
|
|
au_control.3 getacdir.3 \
|
|
|
|
au_control.3 getacmin.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_control.3 getacfilesz.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_control.3 getacflg.3 \
|
|
|
|
au_control.3 getacna.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_control.3 getacpol.3 \
|
Merge OpenBSM 1.2-alpha5 from vendor branch to FreeBSD -CURRENT:
- Add a new "qsize" parameter in audit_control and the getacqsize(3) API to
query it, allowing to set the kernel's maximum audit queue length.
- Add support to push a mapping between audit event names and event numbers
into the kernel (where supported) using new A_GETEVENT and A_SETEVENT
auditon(2) operations.
- Add audit event identifiers for a number of new (and not-so-new) FreeBSD
system calls including those for asynchronous I/O, thread management, SCTP,
jails, multi-FIB support, and misc. POSIX interfaces such as
posix_fallocate(2) and posix_fadvise(2).
- On operating systems supporting Capsicum, auditreduce(1) and praudit(1) now
run sandboxed.
- Empty "flags" and "naflags" fields are now permitted in audit_control(5).
Many thanks to Christian Brueffer for producing the OpenBSM release and
importing/tagging it in the vendor branch. This release will allow improved
auditing of a range of new FreeBSD functionality, as well as non-traditional
events (e.g., fine-grained I/O auditing) not required by the Orange Book or
Common Criteria.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, AFRL
MFC after: 3 weeks
2017-03-26 21:14:49 +00:00
|
|
|
au_control.3 getacqsize.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_control.3 au_poltostr.3 \
|
|
|
|
au_control.3 au_strtopol.3 \
|
Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm
build along with man pages, add audit_bsm_domain.c and
audit_bsm_socket_type.c to the kernel environment.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 5
- Stub libauditd(3) man page added.
- All BSM error number constants with BSM_ERRNO_.
- Interfaces to convert between local and BSM socket types and protocol
families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
of constants in audit_domain.h and audit_socket_type.h. This improves
interoperability by converting local constant spaces, which vary by OS, to
and from Solaris constants (where available) or OpenBSM constants for
protocol domains not present in Solaris (a fair number). These routines
should be used when generating and interpreting extended socket tokens.
- Fix build warnings with full gcc warnings enabled on most supported
platforms.
- Don't compile error strings into bsm_errno.c when building it in the kernel
environment.
- When started by launchd, use the label com.apple.auditd rather than
org.trustedbsd.auditd.
2009-01-14 10:44:16 +00:00
|
|
|
au_domain.3 au_bsm_to_domain.3 \
|
|
|
|
au_domain.3 au_domain_to_bsm.3 \
|
Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Add libauditd build parts and add to auditd's linkage;
force libbsm to build before libauditd.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 4
- With the addition of BSM error number mapping, we also need to map the
local error number passed to audit_submit(3) to a BSM error number,
rather than have the caller perform that conversion.
- Reallocate user audit events to avoid collisions with Solaris; adopt a
more formal allocation scheme, and add some events allocated in Solaris
that will be of immediate use on other platforms.
- Add an event for Calife.
- Add au_strerror(3), which allows generating strings for BSM errors
directly, rather than requiring applications to map to the local error
space, which might not be able to entirely represent the BSM error
number space.
- Major auditd rewrite for launchd(8) support. Add libauditd library
that is shared between launchd and auditd.
- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for
(re)starting auditing under launchd(8) on Mac OS X.
- Add 'current' symlink to active audit trail.
- Add crash recovery of previous audit trail file when detected on audit
startup that it has not been properly terminated.
- Add the event AUE_audit_recovery to indicated when an audit trail file
has been recovered from not being properly terminated. This event is
stored in the new audit trail file and includes the path of recovered
audit trail file.
- Mac OS X and FreeBSD dependent code in auditd.c is separated into
auditd_darwin.c and auditd_fbsd.c files.
- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system
calls.
- For Mac OS X, we use ASL(3) instead of syslog(3) for logging.
- Add support for NOTICE level logging.
OpenBSM 1.1 alpha 3
- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map
between BSM error numbers (largely the Solaris definitions) and local
errno(2) values for 32-bit and 64-bit return tokens. This is required
as operating systems don't agree on some of the values of more recent
error numbers.
- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the
total size for the token. This buge.
- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed.
2008-12-31 11:12:24 +00:00
|
|
|
au_errno.3 au_bsm_to_errno.3 \
|
|
|
|
au_errno.3 au_errno_to_bsm.3 \
|
|
|
|
au_errno.3 au_strerror.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_event.3 setauevent.3 \
|
|
|
|
au_event.3 endauevent.3 \
|
|
|
|
au_event.3 getauevent.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_event.3 getauevent_r.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_event.3 getauevnam.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_event.3 getauevnam_r.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_event.3 getauevnum.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_event.3 getauevnum_r.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_event.3 getauevnonam.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_event.3 getauevnonam_r.3 \
|
2009-04-19 16:17:13 +00:00
|
|
|
au_fcntl_cmd.3 au_bsm_to_fcntl_cmd.3 \
|
|
|
|
au_fcntl_cmd.3 au_fcntl_cmd_t_bsm.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_io.3 au_fetch_tok.3 \
|
|
|
|
au_io.3 au_print_tok.3 \
|
|
|
|
au_io.3 au_read_rec.3 \
|
|
|
|
au_mask.3 au_preselect.3 \
|
|
|
|
au_mask.3 getauditflagsbin.3 \
|
|
|
|
au_mask.3 getauditflagschar.3 \
|
2015-12-18 09:50:24 +00:00
|
|
|
au_notify.3 au_get_state.3 \
|
|
|
|
au_notify.3 au_notify_initialize.3 \
|
|
|
|
au_notify.3 au_notify_terminate.3 \
|
2006-09-19 08:30:34 +00:00
|
|
|
au_open.3 au_close.3 \
|
|
|
|
au_open.3 au_close_buffer.3 \
|
|
|
|
au_open.3 au_close_token.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_open.3 au_write.3 \
|
Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm
build along with man pages, add audit_bsm_domain.c and
audit_bsm_socket_type.c to the kernel environment.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 5
- Stub libauditd(3) man page added.
- All BSM error number constants with BSM_ERRNO_.
- Interfaces to convert between local and BSM socket types and protocol
families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
of constants in audit_domain.h and audit_socket_type.h. This improves
interoperability by converting local constant spaces, which vary by OS, to
and from Solaris constants (where available) or OpenBSM constants for
protocol domains not present in Solaris (a fair number). These routines
should be used when generating and interpreting extended socket tokens.
- Fix build warnings with full gcc warnings enabled on most supported
platforms.
- Don't compile error strings into bsm_errno.c when building it in the kernel
environment.
- When started by launchd, use the label com.apple.auditd rather than
org.trustedbsd.auditd.
2009-01-14 10:44:16 +00:00
|
|
|
au_socket_type.3 au_bsm_to_socket_type.3 \
|
|
|
|
au_socket_type.3 au_socket_type_to_bsm.3 \
|
2006-02-02 10:05:39 +00:00
|
|
|
au_token.3 au_to_arg32.3 \
|
|
|
|
au_token.3 au_to_arg64.3 \
|
|
|
|
au_token.3 au_to_arg.3 \
|
|
|
|
au_token.3 au_to_attr64.3 \
|
|
|
|
au_token.3 au_to_data.3 \
|
|
|
|
au_token.3 au_to_exit.3 \
|
|
|
|
au_token.3 au_to_groups.3 \
|
|
|
|
au_token.3 au_to_newgroups.3 \
|
|
|
|
au_token.3 au_to_in_addr.3 \
|
|
|
|
au_token.3 au_to_in_addr_ex.3 \
|
|
|
|
au_token.3 au_to_ip.3 \
|
|
|
|
au_token.3 au_to_ipc.3 \
|
|
|
|
au_token.3 au_to_ipc_perm.3 \
|
|
|
|
au_token.3 au_to_iport.3 \
|
|
|
|
au_token.3 au_to_opaque.3 \
|
|
|
|
au_token.3 au_to_file.3 \
|
|
|
|
au_token.3 au_to_text.3 \
|
|
|
|
au_token.3 au_to_path.3 \
|
|
|
|
au_token.3 au_to_process32.3 \
|
|
|
|
au_token.3 au_to_process64.3 \
|
|
|
|
au_token.3 au_to_process.3 \
|
|
|
|
au_token.3 au_to_process32_ex.3 \
|
|
|
|
au_token.3 au_to_process64_ex.3 \
|
|
|
|
au_token.3 au_to_process_ex.3 \
|
|
|
|
au_token.3 au_to_return32.3 \
|
|
|
|
au_token.3 au_to_return64.3 \
|
|
|
|
au_token.3 au_to_return.3 \
|
|
|
|
au_token.3 au_to_seq.3 \
|
|
|
|
au_token.3 au_to_sock_inet32.3 \
|
|
|
|
au_token.3 au_to_sock_inet128.3 \
|
|
|
|
au_token.3 au_to_sock_inet.3 \
|
|
|
|
au_token.3 au_to_subject32.3 \
|
|
|
|
au_token.3 au_to_subject64.3 \
|
|
|
|
au_token.3 au_to_subject.3 \
|
|
|
|
au_token.3 au_to_subject32_ex.3 \
|
|
|
|
au_token.3 au_to_subject64_ex.3 \
|
|
|
|
au_token.3 au_to_subject_ex.3 \
|
|
|
|
au_token.3 au_to_me.3 \
|
|
|
|
au_token.3 au_to_exec_args.3 \
|
|
|
|
au_token.3 au_to_exec_env.3 \
|
|
|
|
au_token.3 au_to_header.3 \
|
|
|
|
au_token.3 au_to_header32.3 \
|
|
|
|
au_token.3 au_to_header64.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_token.3 au_to_trailer.3 \
|
2007-04-23 14:46:59 +00:00
|
|
|
au_token.3 au_to_zonename.3 \
|
2006-09-25 11:53:58 +00:00
|
|
|
au_user.3 setauuser.3 \
|
|
|
|
au_user.3 endauuser.3 \
|
|
|
|
au_user.3 getauuserent.3 \
|
|
|
|
au_user.3 getauuserent_r.3 \
|
|
|
|
au_user.3 getauusernam.3 \
|
|
|
|
au_user.3 getauusernam_R.3 \
|
|
|
|
au_user.3 au_user_mask.3 \
|
2007-10-19 10:37:34 +00:00
|
|
|
au_user.3 getfauditflags.3 \
|
|
|
|
getaudit.2 getaudit_addr.2 \
|
|
|
|
setaudit.2 setaudit_addr.2
|
2006-02-02 10:05:39 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
2018-07-28 20:04:39 +00:00
|
|
|
|
|
|
|
# Disable -Wcast-align. Casting sa_local in au_to_socket_ex triggers this
|
|
|
|
# warning, but it's ok because sa_local must've originally pointed to a
|
|
|
|
# sockaddr_in or sockaddr_in6 anyway.
|
|
|
|
# Better would be to disable this warning in just that one function, but GCC
|
|
|
|
# 4.2 can't do that :( .
|
|
|
|
CWARNFLAGS.bsm_token.c+= -Wno-cast-align
|