diff options
author | 2015-09-20 21:08:02 -0400 | |
---|---|---|
committer | 2015-09-27 02:21:29 -0400 | |
commit | d96587d02f203e2c40790ac1c0e5778c6299d1a2 (patch) | |
tree | 78da9c8d918050db452311093d59a56c39508fcb /headers.h | |
parent | libsbutil: add helpers for reading config options (w/out env export) (diff) | |
download | sandbox-d96587d02f203e2c40790ac1c0e5778c6299d1a2.tar.gz sandbox-d96587d02f203e2c40790ac1c0e5778c6299d1a2.tar.bz2 sandbox-d96587d02f203e2c40790ac1c0e5778c6299d1a2.zip |
sandbox: enable support for linux namespacesv2.9
This initial version doesn't enable their use by default.
URL: https://bugs.gentoo.org/512794
Reported-by: Matthew Thode <prometheanfire@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r-- | headers.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -53,6 +53,9 @@ #ifdef HAVE_PWD_H # include <pwd.h> #endif +#ifdef HAVE_SCHED_H +# include <sched.h> +#endif #ifdef HAVE_SIGINFO_H # include <siginfo.h> #endif @@ -96,11 +99,17 @@ #ifdef HAVE_SYS_FILE_H # include <sys/file.h> #endif +#ifdef HAVE_SYS_IOCTL_H +# include <sys/ioctl.h> +#endif #ifdef HAVE_SYS_MMAN_H # include <sys/mman.h> #else #error #endif +#ifdef HAVE_SYS_MOUNT_H +# include <sys/mount.h> +#endif #ifdef HAVE_SYS_PARAM_H # include <sys/param.h> #endif @@ -110,6 +119,9 @@ #ifdef HAVE_SYS_REG_H # include <sys/reg.h> #endif +#ifdef HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#endif #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif |