Sorry for slow response. Matthew Wilcox wrote:If write access is denied because of a rule "No modifications to /etc/passwd", a rule "Allow modifications to /tmp/passwd" can no longer be enforced after "mount --bind /etc/ /tmp/" or "mount --bind /etc/passwd /tmp/passwd" or "mv /etc/passwd /tmp/passwd" or "ln /etc/passwd /tmp/passwd" is done. "No modifications" (i.e. "forbid modifications") and "Allow modifications" (i.e. "don't forbid modifications") are incompatible rules as long as the rules are described using pathnames but the judgment is done using inodes (or labels). If rules are described like "No modifications to passwd_t", it is correct to deny modifications of the file when the file with passwd_t was renamed or bind-mounted or hard-linked. Those who want to do access restriction based on the entity of the file prefer rules described using inodes (or labels). If rules are described like "No modifications to /etc/passwd" and "Allow modifications to /tmp/passwd", it is wrong to deny modifications of the file when /etc/passwd was renamed or bind-mounted or hard-linked to /tmp/passwd . Those who want to do access restriction based on the location of the file prefer rules described using pathnames. SELinux and Smack are the former. AppArmor and TOMOYO Linux are the latter. I'm afraid it is unlikely. Thank you. --
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
| Junio C Hamano | Re: Rss produced by git is not valid xml? |
| Linux Kernel Mailing List | iSeries: fix section mismatch in iseries_veth |
| Linux Kernel Mailing List | ixbge: remove TX lock and redo TX accounting. |
| Linux Kernel Mailing List | ixgbe: fix several counter register errata |
| Linux Kernel Mailing List | b43: fix build with CONFIG_SSB_PCIHOST=n |
| Linux Kernel Mailing List | 9p: block-based virtio client |
