.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * SELinux interface to the NetLabel subsystem |
---|
3 | 4 | * |
---|
4 | 5 | * Author: Paul Moore <paul@paul-moore.com> |
---|
5 | | - * |
---|
6 | 6 | */ |
---|
7 | 7 | |
---|
8 | 8 | /* |
---|
9 | 9 | * (c) Copyright Hewlett-Packard Development Company, L.P., 2006 |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License as published by |
---|
13 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
14 | | - * (at your option) any later version. |
---|
15 | | - * |
---|
16 | | - * This program is distributed in the hope that it will be useful, |
---|
17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See |
---|
19 | | - * the GNU General Public License for more details. |
---|
20 | | - * |
---|
21 | | - * You should have received a copy of the GNU General Public License |
---|
22 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
23 | | - * |
---|
24 | 10 | */ |
---|
25 | 11 | |
---|
26 | 12 | #ifndef _SELINUX_NETLABEL_H_ |
---|
.. | .. |
---|
108 | 94 | static inline int selinux_netlbl_skbuff_setsid(struct sk_buff *skb, |
---|
109 | 95 | u16 family, |
---|
110 | 96 | u32 sid) |
---|
111 | | -{ |
---|
112 | | - return 0; |
---|
113 | | -} |
---|
114 | | - |
---|
115 | | -static inline int selinux_netlbl_conn_setsid(struct sock *sk, |
---|
116 | | - struct sockaddr *addr) |
---|
117 | 97 | { |
---|
118 | 98 | return 0; |
---|
119 | 99 | } |
---|