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:
parent
b6e1c37356
commit
71e8420535
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user