Serge E. Hallyn <se...@us.ibm.com> wrote:

> Or did you mean something else by 'fix up' cred->security?

cred->security is inherited from the current process by virtue of calling
prepare_creds() - as such, it is almost certainly going to be wrong.  Can you
just ask the LSM for a set of textual security labels when saving, and then
set those back when restoring?

David
_______________________________________________
Containers mailing list
contain...@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to