diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2011-03-01 13:14:28 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2011-03-01 13:14:28 +0000 |
commit | 25122f5c5fc022baacef53ab88688fa374bec4eb (patch) | |
tree | ac8e862e328893a9b4876962ad7c9362e9bba20d /sys/bsm/audit_errno.h | |
parent | 633c5bdac8abf6537548d82064421f2aee441e9a (diff) | |
download | src-25122f5c5fc022baacef53ab88688fa374bec4eb.tar.gz src-25122f5c5fc022baacef53ab88688fa374bec4eb.zip |
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
Notes
Notes:
svn path=/head/; revision=219128
Diffstat (limited to 'sys/bsm/audit_errno.h')
-rw-r--r-- | sys/bsm/audit_errno.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/bsm/audit_errno.h b/sys/bsm/audit_errno.h index 9a13bd9c3c94..8b781996484a 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 |