summaryrefslogtreecommitdiffstats
path: root/net/netlabel
diff options
context:
space:
mode:
authorDan Carpenter2015-02-04 17:34:30 +0100
committerPaul Moore2015-02-04 17:34:30 +0100
commit6eb4e2b41b264f57ee02d16ee61683952945484d (patch)
tree9ab88aee868ae4213a72b880d6e2a381c665e125 /net/netlabel
parentselinux: add security in-core xattr support for pstore and debugfs (diff)
downloadkernel-qcow2-linux-6eb4e2b41b264f57ee02d16ee61683952945484d.tar.gz
kernel-qcow2-linux-6eb4e2b41b264f57ee02d16ee61683952945484d.tar.xz
kernel-qcow2-linux-6eb4e2b41b264f57ee02d16ee61683952945484d.zip
SELinux: fix error code in policydb_init()
If hashtab_create() returns a NULL pointer then we should return -ENOMEM but instead the current code returns success. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions