diff options
author | Eric Paris <eparis@redhat.com> | 2012-10-10 10:38:47 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-07-25 13:03:09 -0400 |
commit | f936c6e502d3bc21b87c9830b3a24d1e07e6b6e1 (patch) | |
tree | e08e0e67e0b16c4e17dbf74ff8dd3c23bfbc55ae /security/selinux/ss/services.c | |
parent | cfca0303da0e2c3f570cb5cfc7c373828e6c13a2 (diff) | |
download | op-kernel-dev-f936c6e502d3bc21b87c9830b3a24d1e07e6b6e1.zip op-kernel-dev-f936c6e502d3bc21b87c9830b3a24d1e07e6b6e1.tar.gz |
SELinux: change sbsec->behavior to short
We only have 6 options, so char is good enough, but use a short as that
packs nicely. This shrinks the superblock_security_struct just a little
bit.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/ss/services.c')
-rw-r--r-- | security/selinux/ss/services.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index b4feecc..603c638 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c @@ -2329,7 +2329,7 @@ out: */ int security_fs_use( const char *fstype, - unsigned int *behavior, + short unsigned int *behavior, u32 *sid) { int rc = 0; |