freebsd-dev/sys/security/audit
Kirk McKusick 88640c0e8b Create new EINTEGRITY error with message "Integrity check failed".
An integrity check such as a check-hash or a cross-correlation failed.
The integrity error falls between EINVAL that identifies errors in
parameters to a system call and EIO that identifies errors with the
underlying storage media. EINTEGRITY is typically raised by intermediate
kernel layers such as a filesystem or an in-kernel GEOM subsystem when
they detect inconsistencies. Uses include allowing the mount(8) command
to return a different exit value to automate the running of fsck(8)
during a system boot.

These changes make no use of the new error, they just add it. Later
commits will be made for the use of the new error number and it will
be added to additional manual pages as appropriate.

Reviewed by:    gnn, dim, brueffer, imp
Discussed with: kib, cem, emaste, ed, jilles
Differential Revision: https://reviews.freebsd.org/D18765
2019-01-17 06:35:45 +00:00
..
audit_arg.c Add const to input-only char * arguments. 2018-11-02 20:50:22 +00:00
audit_bsm_db.c The kernel DTrace audit provider (dtaudit) relies on auditd(8) to load 2018-09-03 14:26:43 +00:00
audit_bsm_klib.c
audit_bsm.c Fix audit of chflagsat, lgetfh, and setfib 2018-07-22 14:11:52 +00:00
audit_dtrace.c Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +00:00
audit_ioctl.h
audit_pipe.c fix incorrect operator in the AUDITPIPE_SET_QLIMIT bounds check 2018-07-23 16:56:49 +00:00
audit_private.h Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +00:00
audit_syscalls.c Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
audit_trigger.c
audit_worker.c Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +00:00
audit.c audit: change audit_syscalls_enabled type to bool 2018-11-29 08:37:33 +00:00
audit.h audi: replace open-coded TDP_AUDITREC checks with the macro 2018-12-11 17:14:12 +00:00
bsm_domain.c
bsm_errno.c Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
bsm_fcntl.c
bsm_socket_type.c
bsm_token.c