summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorsef <sef@FreeBSD.org>1999-11-07 07:52:02 +0000
committersef <sef@FreeBSD.org>1999-11-07 07:52:02 +0000
commitbbbec404e2feefa9458007c55164a427ac7db249 (patch)
treec1faab2ca8f0e265f94398e00d93cd2613b6322c /sys/fs
parent791f67cc7b62ac2a3407bbbd60f98310f6056082 (diff)
downloadFreeBSD-src-bbbec404e2feefa9458007c55164a427ac7db249.zip
FreeBSD-src-bbbec404e2feefa9458007c55164a427ac7db249.tar.gz
Make an incredibly stupid change because Warner threatened to do it and
continue doing it despite objections by me (the principal author). Note that this doesn't fix the real problem -- the real problem is generally bad setup by ignorant users, and education is the right way to fix it. So while this doesn't actually solve the prolem mentioned in the complaint (since it's still possible to do it via other methods, although they mostly involve a bit more complicity), and there are better methods to do this, nobody was willing or able to provide me with a real world example that couldn't be worked around using the existing permissions and group mechanism. And therefore, security by removing features is the method of the day. I only had three applications that used it, in any event. One of them would have made debugging easier, but I still haven't finished it, and won't now, so it doesn't really matter.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/procfs/procfs_vnops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_vnops.c b/sys/fs/procfs/procfs_vnops.c
index 2eb8934..ee5be80 100644
--- a/sys/fs/procfs/procfs_vnops.c
+++ b/sys/fs/procfs/procfs_vnops.c
@@ -91,7 +91,6 @@ static struct proc_target {
/* name type validp */
{ DT_DIR, N("."), Pproc, NULL },
{ DT_DIR, N(".."), Proot, NULL },
- { DT_REG, N("file"), Pfile, procfs_validfile },
{ DT_REG, N("mem"), Pmem, NULL },
{ DT_REG, N("regs"), Pregs, procfs_validregs },
{ DT_REG, N("fpregs"), Pfpregs, procfs_validfpregs },
OpenPOWER on IntegriCloud