summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/s3c2410_udc.c
diff options
context:
space:
mode:
authorRafal Krypa <r.krypa@samsung.com>2012-07-09 21:36:34 +0400
committerCasey Schaufler <casey@schaufler-ca.com>2012-07-14 02:49:24 +0400
commit65ee7f45cf075adcdd6b6ef365f5a5507f1ea5c5 (patch)
treef674119c2d4e6eb877bb283dce89bdafa0442fa4 /drivers/usb/gadget/s3c2410_udc.c
parent3518721a8932b2a243f415c374aef020380efc9d (diff)
downloadlinux-65ee7f45cf075adcdd6b6ef365f5a5507f1ea5c5.tar.xz
Smack: don't show empty rules when /smack/load or /smack/load2 is read
This patch removes empty rules (i.e. with access set to '-') from the rule list presented to user space. Smack by design never removes labels nor rules from its lists. Access for a rule may be set to '-' to effectively disable it. Such rules would show up in the listing generated when /smack/load or /smack/load2 is read. This may cause clutter if many rules were disabled. As a rule with access set to '-' is equivalent to no rule at all, they may be safely hidden from the listing. Targeted for git://git.gitorious.org/smack-next/kernel.git Signed-off-by: Rafal Krypa <r.krypa@samsung.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'drivers/usb/gadget/s3c2410_udc.c')
0 files changed, 0 insertions, 0 deletions