aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds2012-05-21 22:27:36 -0500
committerLinus Torvalds2012-05-21 22:27:36 -0500
commitcb60e3e65c1b96a4d6444a7a13dc7dd48bc15a2b (patch)
tree4322be35db678f6299348a76ad60a2023954af7d /arch/Kconfig
parent99262a3dafa3290866512ddfb32609198f8973e9 (diff)
parentff2bb047c4bce9742e94911eeb44b4d6ff4734ab (diff)
downloadam43-linux-kernel-cb60e3e65c1b96a4d6444a7a13dc7dd48bc15a2b.tar.gz
am43-linux-kernel-cb60e3e65c1b96a4d6444a7a13dc7dd48bc15a2b.tar.xz
am43-linux-kernel-cb60e3e65c1b96a4d6444a7a13dc7dd48bc15a2b.zip
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull security subsystem updates from James Morris: "New notable features: - The seccomp work from Will Drewry - PR_{GET,SET}_NO_NEW_PRIVS from Andy Lutomirski - Longer security labels for Smack from Casey Schaufler - Additional ptrace restriction modes for Yama by Kees Cook" Fix up trivial context conflicts in arch/x86/Kconfig and include/linux/filter.h * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (65 commits) apparmor: fix long path failure due to disconnected path apparmor: fix profile lookup for unconfined ima: fix filename hint to reflect script interpreter name KEYS: Don't check for NULL key pointer in key_validate() Smack: allow for significantly longer Smack labels v4 gfp flags for security_inode_alloc()? Smack: recursive tramsmute Yama: replace capable() with ns_capable() TOMOYO: Accept manager programs which do not start with / . KEYS: Add invalidation support KEYS: Do LRU discard in full keyrings KEYS: Permit in-place link replacement in keyring list KEYS: Perform RCU synchronisation on keys prior to key destruction KEYS: Announce key type (un)registration KEYS: Reorganise keys Makefile KEYS: Move the key config into security/keys/Kconfig KEYS: Use the compat keyctl() syscall wrapper on Sparc64 for Sparc32 compat Yama: remove an unused variable samples/seccomp: fix dependencies on arch macros Yama: add additional ptrace scopes ...
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index bd265a217bd..1f9461b9cc8 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -231,4 +231,27 @@ config HAVE_CMPXCHG_DOUBLE
231config ARCH_WANT_OLD_COMPAT_IPC 231config ARCH_WANT_OLD_COMPAT_IPC
232 bool 232 bool
233 233
234config HAVE_ARCH_SECCOMP_FILTER
235 bool
236 help
237 An arch should select this symbol if it provides all of these things:
238 - syscall_get_arch()
239 - syscall_get_arguments()
240 - syscall_rollback()
241 - syscall_set_return_value()
242 - SIGSYS siginfo_t support
243 - secure_computing is called from a ptrace_event()-safe context
244 - secure_computing return value is checked and a return value of -1
245 results in the system call being skipped immediately.
246
247config SECCOMP_FILTER
248 def_bool y
249 depends on HAVE_ARCH_SECCOMP_FILTER && SECCOMP && NET
250 help
251 Enable tasks to build secure computing environments defined
252 in terms of Berkeley Packet Filter programs which implement
253 task-defined system call filtering polices.
254
255 See Documentation/prctl/seccomp_filter.txt for details.
256
234source "kernel/gcov/Kconfig" 257source "kernel/gcov/Kconfig"