]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: introduce str_read() helper
authorNamhyung Kim <namhyung@kernel.org>
Sun, 15 Jun 2014 14:02:51 +0000 (23:02 +0900)
committerPaul Moore <pmoore@redhat.com>
Wed, 18 Jun 2014 19:55:58 +0000 (15:55 -0400)
commit67eeb3399129aa5570bfee2eba548b17aa931931
tree66869f4749d44bd9718d58d7bede850495ca877f
parent57a62d277de30ff4f650d511aaad319ebdfea1df
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>
security/selinux/ss/policydb.c