o No longer mount /proc by default on newly installed systems. Almost

all facilities that previously relied on /proc have been rewritten
  to use ptrace().  procfs has presented a substantial security
  hazard for years, with several user->root compromises in the last
  few years.  Procfs will continue to be available but will require
  administrator intervention to use.

Reviewed by:	scottl, jedgar, mike, tmm
This commit is contained in:
Robert Watson 2002-02-10 01:34:04 +00:00
parent b6e1c37356
commit 71e8420535
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90440
2 changed files with 0 additions and 8 deletions

View File

@ -246,10 +246,6 @@ configFstab(dialogMenuItem *self)
fprintf(fstab, "/dev/%s\t\t%s\t\tcd9660\tro,noauto\t0\t0\n", devs[i]->name, cdname);
}
/* And finally, a /proc. */
fprintf(fstab, "proc\t\t\t/proc\t\tprocfs\trw\t\t0\t0\n");
Mkdir("/proc");
fclose(fstab);
if (isDebug())
msgDebug("Wrote out /etc/fstab file\n");

View File

@ -246,10 +246,6 @@ configFstab(dialogMenuItem *self)
fprintf(fstab, "/dev/%s\t\t%s\t\tcd9660\tro,noauto\t0\t0\n", devs[i]->name, cdname);
}
/* And finally, a /proc. */
fprintf(fstab, "proc\t\t\t/proc\t\tprocfs\trw\t\t0\t0\n");
Mkdir("/proc");
fclose(fstab);
if (isDebug())
msgDebug("Wrote out /etc/fstab file\n");