All of lore.kernel.org
 help / color / mirror / Atom feed
From: dE <de.techno@gmail.com>
To: selinux@tycho.nsa.gov
Subject: Initial SIDs.
Date: Wed, 16 Jul 2014 11:45:29 +0530	[thread overview]
Message-ID: <53C61881.1020304@gmail.com> (raw)

I don't understanding why this's required.

As per my understanding, the SID values can be generated by the kernel 
given the security context and is internal to the kernel and independent 
of the policy, so I don't understand why do we define SID manually.

Second, I'm not sure why these initial processes require an SID in the 
1st place – my guess is cause the security context of the parent 
processes (like init) are used to compute the security context of it's 
children; so with a missing security context of the parent process, it's 
impossible to compute the security context of it's children. So a valid 
security context has to be predefined.

             reply	other threads:[~2014-07-16  6:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-16  6:15 dE [this message]
2014-07-16 10:41 ` Initial SIDs Dominick Grift
2014-07-19  5:37   ` dE

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=53C61881.1020304@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.