selinux: rework security_netlbl_secattr_to_sid
authorEric Paris <eparis@redhat.com>
Tue, 23 Nov 2010 16:40:09 +0000 (11:40 -0500)
committerEric Paris <eparis@redhat.com>
Tue, 30 Nov 2010 22:28:57 +0000 (17:28 -0500)
commit7ae9f23cbd3ef9daff7f768da4bfd4c56b19300d
tree8a92d6d1f05268c27f0e37d5684e947c6111d89e
parent4b02b524487622ce1cf472123899520b583f47dc
selinux: rework security_netlbl_secattr_to_sid

security_netlbl_secattr_to_sid is difficult to follow, especially the
return codes.  Try to make the function obvious.

Signed-off-by: Eric Paris <eparis@redhat.com>
security/selinux/ss/services.c