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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to