mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] security.h: fix build failure
@ 2008-08-17  1:34 Alexander Beregalov
  2008-08-17  9:24 ` Ingo Molnar
  2008-08-17 12:43 ` James Morris
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Beregalov @ 2008-08-17  1:34 UTC (permalink / raw)
  To: dhowells, serue, casey, morgan, viro, jmorris, linux-kernel

From: Alexander Beregalov <a.beregalov@gmail.com>

security.h: fix build failure

include/linux/security.h: In function 'security_ptrace_traceme':
include/linux/security.h:1760: error: 'parent' undeclared (first use in this function)


Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 include/linux/security.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/security.h b/include/linux/security.h
index 2ee5ecf..80c4d00 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -1755,7 +1755,7 @@ static inline int security_ptrace_may_access(struct task_struct *child,
 	return cap_ptrace_may_access(child, mode);
 }
 
-static inline int security_ptrace_traceme(struct task_struct *child)
+static inline int security_ptrace_traceme(struct task_struct *parent)
 {
 	return cap_ptrace_traceme(parent);
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-17 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-17  1:34 [PATCH] security.h: fix build failure Alexander Beregalov
2008-08-17  9:24 ` Ingo Molnar
2008-08-17 12:43 ` James Morris
2008-08-17 13:08   ` [GIT] " James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®