On Wed, 12 Sep 2007, Andreas Schwab wrote:In this particular case because the user may not normally have direct access to some of the data to be contained in that file. Decryption keys in a key management system, in particular. If the keys are passed over secure network links such that they only ever exist in system RAM, and are not reachable via the filesystem, these keys can be protected from disclosure to the user (short of /proc/#/mem type of tricks). However, if there is even a brief window when the user can gain access to the file, these keys are at risk of disclosure. The problem can be addressed, in this case, by having the daemon half of the design create these files, however it would provide a bit more flexibility if the client side was also capable of creating them. It's not a make-or-break problem, by any means, but does somewhat motivate an O_NOLINK flag for open(). Brent P.S. By the way, there doesn't seem to be a way to remove /proc/#/mem files. That might be an additional nicety -- programs worried about being snooped could unlink their own entry. /dev/mem and /dev/kmem can simply be removed by the sysadmin of such a system. If all of that were done you'd have to resort to attacking crash dumps, core dumps, or via something like kdb to extract "hidden" data. -- Brent Casavant All music is folk music. I ain't bcasavan@sgi.com never heard a horse sing a song. Silicon Graphics, Inc. -- Louis Armstrong -
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | Re: CFD: linux-wanking@vger.kernel.org (was [PATCH] Standard indentation of argume... |
| Linus Torvalds | Linux 2.6.27-rc8 |
git: | |
| Junio C Hamano | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| Ingo Molnar | git-rerere observations and feature suggestions |
| Mike | Re: I don't want the .git directory next to my code. |
| Stephen Hemminger | git pull for update of netdev fails. |
| Leon Dippenaar | New tcp stack attack |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Daniel Ouellet | identifying sparse files and get ride of them trick available? |
| Shohrukh Shoyoqubov | Re: Site-to-site IPSec VPN between OpenBSD and Cisco PIX 515E |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Patrick McHardy | Re: Not understand some in htb_do_events function |
| David Miller | [GIT]: Networking |
| David Miller | Re: xfrm_state locking regression... |
