summaryrefslogtreecommitdiff
path: root/security/selinux/ss
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-12-16 19:40:00 +0300
committerPaul Moore <paul@paul-moore.com>2025-01-08 07:14:38 +0300
commit046b85a993a19c992da317b2c19e168d1da795af (patch)
tree8c03f1168706508107fd19aa04376d657861918a /security/selinux/ss
parent9d8d094fa307a93674d9126bd05adbda8b3c0011 (diff)
downloadlinux-046b85a993a19c992da317b2c19e168d1da795af.tar.xz
selinux: avoid using types indicating user space interaction
Integer types starting with a double underscore, like __u32, are intended for usage of variables interacting with user-space. Just use the plain variant. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss')
-rw-r--r--security/selinux/ss/policydb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/policydb.h b/security/selinux/ss/policydb.h
index 4bba386264a3..5c11069121d3 100644
--- a/security/selinux/ss/policydb.h
+++ b/security/selinux/ss/policydb.h
@@ -144,7 +144,7 @@ struct range_trans {
/* Boolean data type */
struct cond_bool_datum {
- __u32 value; /* internal type value */
+ u32 value; /* internal type value */
int state;
};