diff options
author | rwatson <rwatson@FreeBSD.org> | 2015-03-19 12:32:48 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2015-03-19 12:32:48 +0000 |
commit | bcbbcda0f2e4af8b9dd5b88b8aee78fb712e107e (patch) | |
tree | e5b4ae536a72fe4a7a095f75635897247049ed5f /lib | |
parent | b9b03fb7e3cdf29ad38ea78cca31b5416c7ad569 (diff) | |
download | FreeBSD-src-bcbbcda0f2e4af8b9dd5b88b8aee78fb712e107e.zip FreeBSD-src-bcbbcda0f2e4af8b9dd5b88b8aee78fb712e107e.tar.gz |
Merge an applicable subset of r263234 from HEAD to stable/10:
Update most userspace consumers of capability.h to use capsicum.h instead.
auditdistd is not updated as I will make the change upstream and then do a
vendor import sometime in the next week or two.
Note that a significant fraction does not apply, as FreeBSD 10 doesn't
contain a Capsicumised ping, casperd, libcasper, etc. When these features
are merged, the capsicum.h change will need to be merged with them.
Sponsored by: Google, Inc.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/cap_sandboxed.c | 2 | ||||
-rw-r--r-- | lib/libprocstat/libprocstat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/cap_sandboxed.c b/lib/libc/gen/cap_sandboxed.c index baa9b3f..ec2d4db 100644 --- a/lib/libc/gen/cap_sandboxed.c +++ b/lib/libc/gen/cap_sandboxed.c @@ -30,7 +30,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include <sys/capability.h> +#include <sys/capsicum.h> #include <assert.h> #include <errno.h> diff --git a/lib/libprocstat/libprocstat.c b/lib/libprocstat/libprocstat.c index d8d39bb..727419b 100644 --- a/lib/libprocstat/libprocstat.c +++ b/lib/libprocstat/libprocstat.c @@ -61,7 +61,7 @@ __FBSDID("$FreeBSD$"); #include <sys/conf.h> #include <sys/ksem.h> #include <sys/mman.h> -#include <sys/capability.h> +#include <sys/capsicum.h> #define _KERNEL #include <sys/mount.h> #include <sys/pipe.h> |