aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netport.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-06-15 23:02:51 +0900
committerPaul Moore <pmoore@redhat.com>2014-06-18 15:55:58 -0400
commit4b6f405f72112175a5e044b015c4119b3a5b6f52 (patch)
tree66869f4749d44bd9718d58d7bede850495ca877f /security/selinux/netport.c
parentSELinux: use ARRAY_SIZE (diff)
downloadlinux-dev-4b6f405f72112175a5e044b015c4119b3a5b6f52.tar.xz
linux-dev-4b6f405f72112175a5e044b015c4119b3a5b6f52.zip
selinux: introduce str_read() helper
There're some code duplication for reading a string value during policydb_read(). Add str_read() helper to fix it. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'security/selinux/netport.c')
0 files changed, 0 insertions, 0 deletions