commit | 84914b7ed1c5e0f3199a5a6997022758a70fcaff | [log] [tgz] |
---|---|---|
author | Paul Moore <paul.moore@hp.com> | Thu Apr 22 14:46:18 2010 -0400 |
committer | James Morris <jmorris@namei.org> | Mon Aug 02 15:34:38 2010 +1000 |
tree | a0ac9631fba19280516ec26819c884e6b086b183 | |
parent | d4f2d97841827cb876da8b607df05a3dab812416 [diff] |
selinux: Shuffle the sk_security_struct alloc and free routines The sk_alloc_security() and sk_free_security() functions were only being called by the selinux_sk_alloc_security() and selinux_sk_free_security() functions so we just move the guts of the alloc/free routines to the callers and eliminate a layer of indirection. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>