[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080817013420.GA7622@orion>
Date: Sun, 17 Aug 2008 05:34:20 +0400
From: Alexander Beregalov <a.beregalov@...il.com>
To: dhowells@...hat.com, serue@...ibm.com, casey@...aufler-ca.com,
morgan@...nel.org, viro@...iv.linux.org.uk, jmorris@...ei.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] security.h: fix build failure
From: Alexander Beregalov <a.beregalov@...il.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@...il.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);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists