aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-06-12 20:55:01 +0200
committerJames Morris <[email protected]>2010-08-02 15:35:03 +1000
commit38184c522249dc377366d4edc41dc500c2c3bb9e (patch)
tree10c87bf5fdaea233a7842a79f04459792e1b5ba1 /net/unix/sysctl_net_unix.c
parentfc5c126e4733e6fb3080d3d822ca63226e74fc84 (diff)
selinux: fix error codes in cond_policydb_init()
It's better to propagate the error code from avtab_init() instead of returning -1 (-EPERM). It turns out that avtab_init() never fails so this patch doesn't change how the code runs but it's still a clean up. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Stephen D. Smalley <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions