Security mount data & sb_copy_data hook.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Chris Wright
Quoted 1 line
Any feedback on this will be most appreciated.
Hrm, I'm not really fond of the extra page, and extra hook. Unfortunately, it doesn't seem like doing something generic in
lib/parser.cis feasible since not each fs uses it, and touching each fs to find this is even uglier.
The extra page isn't really an issue as mounting a fileystem is not performance critical.
Quoted 4 lines
Would it be possible to handle it all
in the module with something like:mount -tselinux -oreal_type=$fstype,context=foo,the_fs_opts dev mntpnt
I'm not sure how this could be done cleanly without further reaching into the vfs (e.g. to hijack the real filesystem ops etc.). Perhaps better when we have a proper filesystem stacking mechanism available.
- James
Signature · 9 lines
James Morris <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.