projects
/
platform
/
kernel
/
linux-arm64.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tun: fix LSM/SELinux labeling of tun/tap devices
[platform/kernel/linux-arm64.git]
/
security
/
selinux
/
include
/
objsec.h
diff --git
a/security/selinux/include/objsec.h
b/security/selinux/include/objsec.h
index
26c7eee
..
aa47bca
100644
(file)
--- a/
security/selinux/include/objsec.h
+++ b/
security/selinux/include/objsec.h
@@
-110,6
+110,10
@@
struct sk_security_struct {
u16 sclass; /* sock security class */
};
+struct tun_security_struct {
+ u32 sid; /* SID for the tun device sockets */
+};
+
struct key_security_struct {
u32 sid; /* SID of key */
};