From: James Antill <jantill@redhat.com>
To: SELinux Mail List <selinux@tycho.nsa.gov>
Subject: Tar storage of SELinux context, translated or not
Date: Wed, 10 Jan 2007 11:53:43 -0500 [thread overview]
Message-ID: <1168448023.13080.33.camel@code.and.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
As some of you know, I have done patches to make GNUtar able to
save/restore ACLs, SELinux context and generic user xattrs. I've
recently had to fixup the ACL support for compatibility with star etc.,
and for a couple of reasons that got me thinking about the SELinux
support as well.
I had originally decided that the SELinux security context should be
stored in translated form, Ie. getfilecon => tar => setfilecon, my
thinking was that if you want to store something over a long period this
is the better format ... but as I think more about it now I'm not 100%
convinced (for instance, AIUI ipsec etc. uses raw format to distribute
context between machines).
With the current changes, this is a great time to change it (but I
really, really, don't want to have an option either way) ... if we want
to. So should I change it to non-translated?
--
James Antill <jantill@redhat.com>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-01-10 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-10 16:53 James Antill [this message]
2007-01-10 17:33 ` Tar storage of SELinux context, translated or not Paul Moore
2007-01-10 17:43 ` Stephen Smalley
2007-01-10 17:56 ` Casey Schaufler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1168448023.13080.33.camel@code.and.org \
--to=jantill@redhat.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.