aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2015-10-21 21:44:27 +0000
committerPaul Moore <[email protected]>2015-10-21 21:44:27 +0000
commit9529c7886c0741847eeb85cf2b0e0730eebe4fa5 (patch)
tree67c47ad3799aaa914ce5c374b750fca019df5bb1 /security/selinux/hooks.c
parentselinux: use kstrdup() in security_get_bools() (diff)
downloadkernel-9529c7886c0741847eeb85cf2b0e0730eebe4fa5.tar.gz
kernel-9529c7886c0741847eeb85cf2b0e0730eebe4fa5.zip
selinux: use sprintf return value
sprintf returns the number of characters printed (excluding '\0'), so we can use that and avoid duplicating the length computation. Signed-off-by: Rasmus Villemoes <[email protected]> Acked-by: Stephen Smalley <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions