Messages in this thread | | | Date | Sun, 20 Mar 2005 11:40:34 +0100 | From | Rene Scharfe <> | Subject | Re: [PATCH][1/5] Introduce proc_domode |
| |
Jan Engelhardt wrote: >> +#define MAXMODE 07777 > > > I think this should be 0777. SUID, SGID and sticky bit do not belong > into /proc.
It's not /proc specific, the function proc_domode can be used for all kinds of sysctls. It enforces a maximum mode, specified in the ->extra1 member of a sysctl table entry. In patches 2 and 5 you can see this value is 0444 for all five new sysctls.
Rene - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |