diff options
| author | Dan Carpenter <[email protected]> | 2015-02-04 16:34:30 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2015-02-04 16:34:30 +0000 |
| commit | 6eb4e2b41b264f57ee02d16ee61683952945484d (patch) | |
| tree | 9ab88aee868ae4213a72b880d6e2a381c665e125 /lib/flex_array.c | |
| parent | selinux: add security in-core xattr support for pstore and debugfs (diff) | |
| download | kernel-6eb4e2b41b264f57ee02d16ee61683952945484d.tar.gz kernel-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 <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
