LSM: SafeSetID: refactor policy parsing
authorJann Horn <jannh@google.com>
Wed, 10 Apr 2019 16:55:48 +0000 (09:55 -0700)
committerMicah Morton <mortonm@chromium.org>
Mon, 15 Jul 2019 15:07:09 +0000 (08:07 -0700)
commit78ae7df96d647627ceae0b65eea9e4f83a0a4b66
tree1f7f4fb2c97ee93390fe7527e4d026ee87214422
parent8068866c4af124345e2a129be921278aada7830f
LSM: SafeSetID: refactor policy parsing

In preparation for changing the policy parsing logic, refactor the line
parsing logic to be less verbose and move it into a separate function.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Micah Morton <mortonm@chromium.org>
security/safesetid/securityfs.c