[PATCH 09/10] lowmem: Fix split of ptrace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A previous commit split the ptrace member into two. Thus we need to update the
lowmem module accordingly.

Signed-off-by: Viktor Rosendahl <viktor.rosendahl@xxxxxxxxx>
---
 security/lowmem.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/security/lowmem.c b/security/lowmem.c
index 56f1f6e..b986070 100644
--- a/security/lowmem.c
+++ b/security/lowmem.c
@@ -324,7 +324,8 @@ enough_memory:
 
 static struct security_operations lowmem_security_ops = {
 	/* Use the capability functions for some of the hooks */
-	.ptrace = cap_ptrace,
+	.ptrace_may_access = cap_ptrace_may_access,
+	.ptrace_traceme = cap_ptrace_traceme,
 	.capget = cap_capget,
 	.capset_check = cap_capset_check,
 	.capset_set = cap_capset_set,
-- 
1.5.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux