diff options
| author | Christian Göttsche <cgzones@googlemail.com> | 2024-12-16 17:39:59 +0100 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2025-01-07 23:14:37 -0500 |
| commit | 9d8d094fa307a93674d9126bd05adbda8b3c0011 (patch) | |
| tree | 3ebe4165fd44b98767b9e6faadc79b7bb5e42aab /security/selinux/include | |
| parent | 2ef6fc99e0d922a54073e7b6d6465c62f4d3b62b (diff) | |
selinux: supply missing field initializers
Please clang by supplying the missing field initializers in the
secclass_map variable and sel_fill_super() function.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
[PM: tweak subj and commit description]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include')
| -rw-r--r-- | security/selinux/include/classmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index 2bc20135324a..03e82477dce9 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h @@ -179,7 +179,7 @@ const struct security_class_mapping secclass_map[] = { { "anon_inode", { COMMON_FILE_PERMS, NULL } }, { "io_uring", { "override_creds", "sqpoll", "cmd", NULL } }, { "user_namespace", { "create", NULL } }, - { NULL } + /* last one */ { NULL, {} } }; #ifdef __KERNEL__ /* avoid this check when building host programs */ |