aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Eric Fagan <sef@FreeBSD.org>1999-11-07 07:52:02 +0000
committerSean Eric Fagan <sef@FreeBSD.org>1999-11-07 07:52:02 +0000
commit900e2da7603504230762bd8ee29db5f00ac8b4a1 (patch)
treec1faab2ca8f0e265f94398e00d93cd2613b6322c
parent1ab41ed97c7c74f7a1bfc0069eda0fc1a2f42613 (diff)
downloadsrc-900e2da7603504230762bd8ee29db5f00ac8b4a1.tar.gz
src-900e2da7603504230762bd8ee29db5f00ac8b4a1.zip
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.
Notes
Notes: svn path=/head/; revision=52961
-rw-r--r--sys/fs/procfs/procfs_vnops.c1
-rw-r--r--sys/miscfs/procfs/procfs_vnops.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_vnops.c b/sys/fs/procfs/procfs_vnops.c
index 2eb893415eea..ee5be80a1f94 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 },
diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c
index 2eb893415eea..ee5be80a1f94 100644
--- a/sys/miscfs/procfs/procfs_vnops.c
+++ b/sys/miscfs/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 },