Skip to content
Commit 2606fd1f authored by Eric Paris's avatar Eric Paris Committed by James Morris
Browse files

secmark: make secmark object handling generic



Right now secmark has lots of direct selinux calls.  Use all LSM calls and
remove all SELinux specific knowledge.  The only SELinux specific knowledge
we leave is the mode.  The only point is to make sure that other LSMs at
least test this generic code before they assume it works.  (They may also
have to make changes if they do not represent labels as strings)

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
Acked-by: default avatarPaul Moore <paul.moore@hp.com>
Acked-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 15714f7b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment