I try to get a better understanding of hardening OpenBSD
systems and have been digging man pages, several books (incl.
"The design and implementation of the 4.4BSD operating system")
and the archives (but not the sources due to my lack of real C
knowledge).I could not find any answers regarding the following questions:
1) Why do flags not prevent the mount system call from using
protected directories as mount points?I would guess that flags just "protect at inode level" while
mount "happens at vnode level".I am just wondering why it is done this way because protection
of important config or log files can be bypassed easily by
mounting another file system on top of /etc or /var, for example.I think there must be a good reason for implementing flags this
way and I would like to understand that.2) In FreeBSD this problem seems to have been addressed by
disabling mounting file systems in any securelevel higher than 1.I could not find any OpenBSD discussion regarding this.
Could someone please provide a link or shed some light on this
otherwise?Thanks in advance for any help.
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
| Tony Lindgren | [PATCH 26/90] ARM: OMAP: abstract debug card setup (smc, leds) |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jesper Juhl | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
