* [PATCH] selinux: Remove security_ops extern
@ 2014-11-28 4:25 Yao Dongdong
2014-12-01 21:47 ` Paul Moore
0 siblings, 1 reply; 2+ messages in thread
From: Yao Dongdong @ 2014-11-28 4:25 UTC (permalink / raw)
To: paul, sds, james.l.morris, serge
Cc: linux-security-module, linux-kernel, lizefan
security_ops is not used in this file.
Signed-off-by: Yao Dongdong <yaodongdong@huawei.com>
---
security/selinux/hooks.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index c603b20..6da7532 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -95,8 +95,6 @@
#include "audit.h"
#include "avc_ss.h"
-extern struct security_operations *security_ops;
-
/* SECMARK reference count */
static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0);
--
1.8.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] selinux: Remove security_ops extern
2014-11-28 4:25 [PATCH] selinux: Remove security_ops extern Yao Dongdong
@ 2014-12-01 21:47 ` Paul Moore
0 siblings, 0 replies; 2+ messages in thread
From: Paul Moore @ 2014-12-01 21:47 UTC (permalink / raw)
To: Yao Dongdong
Cc: sds, james.l.morris, serge, linux-security-module, linux-kernel,
lizefan
On Friday, November 28, 2014 04:25:35 AM Yao Dongdong wrote:
> security_ops is not used in this file.
>
> Signed-off-by: Yao Dongdong <yaodongdong@huawei.com>
> ---
> security/selinux/hooks.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks.
> diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
> index c603b20..6da7532 100644
> --- a/security/selinux/hooks.c
> +++ b/security/selinux/hooks.c
> @@ -95,8 +95,6 @@
> #include "audit.h"
> #include "avc_ss.h"
>
> -extern struct security_operations *security_ops;
> -
> /* SECMARK reference count */
> static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0);
--
paul moore
www.paul-moore.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-01 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 4:25 [PATCH] selinux: Remove security_ops extern Yao Dongdong
2014-12-01 21:47 ` Paul Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox