All of lore.kernel.org
 help / color / mirror / Atom feed
From: dE <de.techno@gmail.com>
To: selinux@tycho.nsa.gov
Subject: Default context with context mount option.
Date: Sun, 08 Jun 2014 20:18:15 +0530	[thread overview]
Message-ID: <539477AF.20408@gmail.com> (raw)

When a new file is created on a FS which supports security namespace but 
the FS is mounted using context= option, then what will be the context 
of the newly created file on the FS?

I did exactly this, and next, umount and then mount the FS readonly to 
get the getfattr dump to realize the security namespace is not empty 
(this came as a surprise).

So, can someone explain what exactly happens in this case?

Thanks.

             reply	other threads:[~2014-06-08 14:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-08 14:48 dE [this message]
2014-06-08 17:46 ` Default context with context mount option Christian Evans
2014-06-09  5:30   ` dE
2014-06-09 13:34 ` Stephen Smalley
2014-06-10  8:16   ` dE
2014-06-10 12:05     ` Stephen Smalley
2014-06-10 15:41       ` David Caplan
2014-06-10 17:25         ` Stephen Smalley
2014-06-11  7:12         ` dE
2014-06-11  7:08       ` dE
2014-06-11  7:29       ` dE
2014-06-11 12:33         ` Stephen Smalley
2014-06-12  1:15           ` dE
2014-06-11 12:38         ` Daniel J Walsh

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=539477AF.20408@gmail.com \
    --to=de.techno@gmail.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.