* [PATCH -next] selinux: netlabel: Remove unused inline function selinux_netlbl_conn_setsid
@ 2020-05-09 11:18 YueHaibing
2020-05-13 0:19 ` Paul Moore
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-05-09 11:18 UTC (permalink / raw)
To: paul, stephen.smalley.work, eparis, tglx
Cc: selinux, linux-kernel, YueHaibing
There's no callers in-tree.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
security/selinux/include/netlabel.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/security/selinux/include/netlabel.h b/security/selinux/include/netlabel.h
index d30d8d7cdc9c..0c58f62dc6ab 100644
--- a/security/selinux/include/netlabel.h
+++ b/security/selinux/include/netlabel.h
@@ -98,12 +98,6 @@ static inline int selinux_netlbl_skbuff_setsid(struct sk_buff *skb,
return 0;
}
-static inline int selinux_netlbl_conn_setsid(struct sock *sk,
- struct sockaddr *addr)
-{
- return 0;
-}
-
static inline int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep,
struct sk_buff *skb)
{
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] selinux: netlabel: Remove unused inline function selinux_netlbl_conn_setsid
2020-05-09 11:18 [PATCH -next] selinux: netlabel: Remove unused inline function selinux_netlbl_conn_setsid YueHaibing
@ 2020-05-13 0:19 ` Paul Moore
0 siblings, 0 replies; 2+ messages in thread
From: Paul Moore @ 2020-05-13 0:19 UTC (permalink / raw)
To: YueHaibing; +Cc: Stephen Smalley, Eric Paris, tglx, selinux, linux-kernel
On Sat, May 9, 2020 at 7:19 AM YueHaibing <yuehaibing@huawei.com> wrote:
>
> There's no callers in-tree.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> security/selinux/include/netlabel.h | 6 ------
> 1 file changed, 6 deletions(-)
This appears to go back to the original SELinux/NetLabel hooks. Wow.
Thanks for the patch, it's now merged into the selinux/next branch.
--
paul moore
www.paul-moore.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-13 0:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 11:18 [PATCH -next] selinux: netlabel: Remove unused inline function selinux_netlbl_conn_setsid YueHaibing
2020-05-13 0:19 ` Paul Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).