summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-11-23 11:40:08 -0500
committerEric Paris <eparis@redhat.com>2010-11-30 17:28:56 -0500
commit9398c7f794078dc1768cc061b3da8cdd59f179a5 (patch)
tree16e665d3bf7160e2da67b236b27a6bf87a73d5e2 /mm
parente8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff)
SELinux: standardize return code handling in policydb.c
policydb.c has lots of different standards on how to handle return paths on error. For the most part transition to rc=errno if (failure) goto out; [...] out: cleanup() return rc; Instead of doing cleanup mid function, or having multiple returns or other options. This doesn't do that for every function, but most of the complex functions which have cleanup routines on error. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions