Skip to content

Commit 376ef14

Browse files
committed
selinux: fix style issues with security/selinux/include/policycap_names.h
As part of on ongoing effort to perform more automated testing and provide more tools for individual developers to validate their patches before submitting, we are trying to make our code "clang-format clean". My hope is that once we have fixed all of our style "quirks", developers will be able to run clang-format on their patches to help avoid silly formatting problems and ensure their changes fit in well with the rest of the SELinux kernel code. Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent db896a0 commit 376ef14

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

security/selinux/include/policycap_names.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2+
23
#ifndef _SELINUX_POLICYCAP_NAMES_H_
34
#define _SELINUX_POLICYCAP_NAMES_H_
45

56
#include "policycap.h"
67

8+
/* clang-format off */
79
/* Policy capability names */
810
const char *const selinux_policycap_names[__POLICYDB_CAP_MAX] = {
911
"network_peer_controls",
@@ -16,5 +18,6 @@ const char *const selinux_policycap_names[__POLICYDB_CAP_MAX] = {
1618
"ioctl_skip_cloexec",
1719
"userspace_initial_context",
1820
};
21+
/* clang-format on */
1922

2023
#endif /* _SELINUX_POLICYCAP_NAMES_H_ */

0 commit comments

Comments
 (0)