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: NNamhyung Kim <namhyung@kernel.org> Signed-off-by: NPaul Moore <pmoore@redhat.com>
Showing
想要评论请 注册 或 登录