devcons: fix permissions for reboot and sysstat

#c/reboot is a write only file
#c/sysstat should not be writable by everyone (write resets counters)
This commit is contained in:
cinap_lenrek 2020-02-23 20:42:00 +01:00
parent 9fcce48b38
commit ab5c4799d9

View file

@ -344,9 +344,9 @@ static Dirtab consdir[]={
"pid", {Qpid}, NUMSIZE, 0444,
"ppid", {Qppid}, NUMSIZE, 0444,
"random", {Qrandom}, 0, 0444,
"reboot", {Qreboot}, 0, 0664,
"reboot", {Qreboot}, 0, 0220,
"sysname", {Qsysname}, 0, 0664,
"sysstat", {Qsysstat}, 0, 0666,
"sysstat", {Qsysstat}, 0, 0664,
"time", {Qtime}, NUMSIZE+3*VLNUMSIZE, 0664,
"user", {Quser}, 0, 0666,
"zero", {Qzero}, 0, 0444,