OpenVZ Forum


Home » Mailing lists » Devel » Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.
Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem. [message #25330 is a reply to message #25208] Tue, 18 December 2007 00:03 Go to previous message
Tetsuo Handa is currently offline  Tetsuo Handa
Messages: 3
Registered: December 2007
Junior Member
Hello.

Serge E. Hallyn wrote:
> CAP_MKNOD will be removed from its capability
I think it is not enough because the root can rename/unlink device files
(mv /dev/sda1 /dev/tmp; mv /dev/sda2 /dev/sda1; mv /dev/tmp /dev/sda2).

> To use your approach, i guess we would have to use selinux (or tomoyo)
> to enforce that devices may only be created under /dev?
Everyone can use this filesystem alone.
But use with MAC (or whatever access control mechanisms that prevent
attackers from unmounting/overlaying this filesystem) is recomennded.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: Hang with fair cgroup scheduler (reproducer is attached.)
Next Topic: [PATCH 0/9] Core pid namespace enhancements
Goto Forum:
  


Current Time: Sat Aug 02 16:44:16 GMT 2025

Total time taken to generate the page: 0.59675 seconds