From 5445e82ad4d7ed0a7206009c05a59ff6e2a0b621 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 10 Feb 2002 01:34:04 +0000 Subject: 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 --- usr.sbin/sysinstall/config.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'usr.sbin/sysinstall') diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 11be068..1f2d4fb 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -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"); -- cgit v1.1