]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: new helper - selinux_add_opt()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 15 Dec 2018 01:28:15 +0000 (20:28 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 Dec 2018 16:49:18 +0000 (11:49 -0500)
commit4c21672cafde4330279d9466243186fed785c403
treef6ffef1eb1886b5b94677979ac03de3e5d48036c
parent918ff7ce16829601915de5938b842492af06e9d9
selinux: new helper - selinux_add_opt()

the guts of the loop in selinux_parse_opts_str() - takes one
(already recognized) option and adds it to growing selinux_mnt_opts.

Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/selinux/hooks.c