All of lore.kernel.org
 help / color / mirror / Atom feed
* Copying/setting security.selinux xattr explicitly
@ 2016-02-10 10:59 Laurent Bigonville
  2016-02-10 14:30 ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Bigonville @ 2016-02-10 10:59 UTC (permalink / raw)
  To: selinux

Hello,

I've a question concerning copying the security.selinux xattr explicitly.

In you opinion what should happen in an implementation if it cannot be 
reset security.selinux on the target file?

Apparently GNU cp -a ignore failures (while cp --preserve=context fails).

In some python helper function (_copyxattr(), see 
https://bugs.python.org/issue14082), it will return an exception if the 
copy of any of the xattr is failing, there is no special case for 
security.selinux.

What do you think should be the behavior here?

Cheers,

Laurent Bigonville

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-10 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-10 10:59 Copying/setting security.selinux xattr explicitly Laurent Bigonville
2016-02-10 14:30 ` Stephen Smalley
2016-02-10 14:53   ` Laurent Bigonville

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.