summaryrefslogtreecommitdiffstats
path: root/sys/bsm
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2011-03-01 13:14:28 +0000
committerrwatson <rwatson@FreeBSD.org>2011-03-01 13:14:28 +0000
commit0fbd4a42792bb396f7a17bd8ed9eea61339f2d5b (patch)
treeac8e862e328893a9b4876962ad7c9362e9bba20d /sys/bsm
parent8d27150a02987492c63fb82670f25f512e3eedbb (diff)
downloadFreeBSD-src-0fbd4a42792bb396f7a17bd8ed9eea61339f2d5b.zip
FreeBSD-src-0fbd4a42792bb396f7a17bd8ed9eea61339f2d5b.tar.gz
Add ECAPMODE, "Not permitted in capability mode", a new kernel errno
constant to indicate that a system call (or perhaps an operation requested via a system call) is not permitted for a capability mode process. Submitted by: anderson Sponsored by: Google, Inc. Obtained from: Capsicum Project MFC after: 1 week
Diffstat (limited to 'sys/bsm')
-rw-r--r--sys/bsm/audit_errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/bsm/audit_errno.h b/sys/bsm/audit_errno.h
index 9a13bd9..8b78199 100644
--- a/sys/bsm/audit_errno.h
+++ b/sys/bsm/audit_errno.h
@@ -205,6 +205,8 @@
#define BSM_ERRNO_EKEYEXPIRED 220 /* Linux-specific. */
#define BSM_ERRNO_EKEYREVOKED 221 /* Linux-specific. */
#define BSM_ERRNO_EKEYREJECTED 222 /* Linux-specific. */
+#define BSM_ERRNO_ENOTCAPABLE 223 /* FreeBSD-specific. */
+#define BSM_ERRNO_ECAPMODE 224 /* FreeBSD-specific. */
/*
* In the event that OpenBSM doesn't have a file representation of a local
OpenPOWER on IntegriCloud