diff options
author | Eric Paris <eparis@redhat.com> | 2008-04-22 17:46:08 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-04-28 09:28:58 +1000 |
commit | e392febedb6e1050a1a81a7bd72456a32c88e710 (patch) | |
tree | 6f1ea622ff88b3b5941392a44e7315c70536a79e /security/selinux/include/avc_ss.h | |
parent | 064922a805ec7aadfafdd27aa6b4908d737c3c1d (diff) |
SELinux: avc_ss.h whitespace, syntax, and other cleanups
This patch changes avc_ss.h to fix whitespace and syntax issues. Things that
are fixed may include (does not not have to include)
whitespace at end of lines
spaces followed by tabs
spaces used instead of tabs
spacing around parenthesis
location of { around structs and else clauses
location of * in pointer declarations
removal of initialization of static data to keep it in the right section
useless {} in if statemetns
useless checking for NULL before kfree
fixing of the indentation depth of switch statements
no assignments in if statements
and any number of other things I forgot to mention
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/include/avc_ss.h')
-rw-r--r-- | security/selinux/include/avc_ss.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/security/selinux/include/avc_ss.h b/security/selinux/include/avc_ss.h index ff869e8b6f4..c0d314d9f8e 100644 --- a/security/selinux/include/avc_ss.h +++ b/security/selinux/include/avc_ss.h @@ -10,22 +10,19 @@ int avc_ss_reset(u32 seqno); -struct av_perm_to_string -{ +struct av_perm_to_string { u16 tclass; u32 value; const char *name; }; -struct av_inherit -{ +struct av_inherit { u16 tclass; const char **common_pts; u32 common_base; }; -struct selinux_class_perm -{ +struct selinux_class_perm { const struct av_perm_to_string *av_perm_to_string; u32 av_pts_len; const char **class_to_string; |