Re: [PATCH v1 0/1] selinux: fix error initialization in inode_doinit_with_dentry()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 27, 2020 at 5:44 AM <rentianyue@xxxxxxxxxxxxx> wrote:
> From: Tianyue Ren <rentianyue@xxxxxxxxxx>
>
> I think there is a error initialization for isec->sid when the dentry is NULL,
> when we do "remount -o rw,remount ${rootmnt}" action before selinux policy loading.It's
> leading kernel getting wrong security label "unlabeled_t" when the userspace access
> files such as /etc/fstab.

Out of curiosity, can you provide some background information
regarding why you made the decision to remount a filesystem before
loading the SELinux policy?

-- 
paul moore
www.paul-moore.com



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux