From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 08:20:59 +0000 Subject: [PATCH] kernel_5.10 no rt --- kernel/security/selinux/include/netlabel.h | 22 +--------------------- 1 files changed, 1 insertions(+), 21 deletions(-) diff --git a/kernel/security/selinux/include/netlabel.h b/kernel/security/selinux/include/netlabel.h index 8671de0..0c58f62 100644 --- a/kernel/security/selinux/include/netlabel.h +++ b/kernel/security/selinux/include/netlabel.h @@ -1,26 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * SELinux interface to the NetLabel subsystem * * Author: Paul Moore <paul@paul-moore.com> - * */ /* * (c) Copyright Hewlett-Packard Development Company, L.P., 2006 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See - * the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * */ #ifndef _SELINUX_NETLABEL_H_ @@ -108,12 +94,6 @@ static inline int selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, u32 sid) -{ - return 0; -} - -static inline int selinux_netlbl_conn_setsid(struct sock *sk, - struct sockaddr *addr) { return 0; } -- Gitblit v1.6.2