[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bootup problems
On Wed, 2005-02-16 at 02:30, Timothy Wood wrote:
> Do you ever look further into this issue Stephen? The reason I ask is
> that I'm still seeing it on the current kernel.
<snip>
> | The sequence appears to be:
> | 1) policy load is started (from /sbin/init, right?),
> | 2) usb device is detected,
> | 3) policy load completes,
> | 4) security initialization of already created superblocks and inodes is
> | started (this was deferred until the policy was loaded),
> | 5) kernel invokes hotplug due to device detection,
> | 6) security state for hotplug inode has not yet been initialized, thus
> | it is still marked with unlabeled_t,
> | 7) no domain transition occurs on hotplug execution due to lack of
> | proper file type, so hotplug runs in kernel_t, yielding a series of
> | denials,
> | 8) some other inodes are also not yet initialized, so they also have
> | unlabeled_t,
> | 9) security initialization of hda3 inodes completes, so hotplug and
> | other inodes now have the right security context (but the running
> | hotplug process is still in kernel_t),
> | 10) various denials due to the fact that the filesystems have not yet
> | been mounted, so you are just accessing the empty mount point
> | directories that are left in file_t.
> |
> | The interleaving of the device detection / hotplug execution and policy
> | load / inode initialization is not good; requires further investigation.
No, I'm afraid that this hasn't been resolved yet.
--
Stephen Smalley <sds@xxxxxxxxxxxxxx>
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.
This mailing list archive is a service of Copilot Consulting.