Re: Change proc file permissions with sysctls
From: Jan Engelhardt
Date: Sun Mar 20 2005 - 04:50:57 EST
>> The permissions of files in /proc/1 (usually belonging to init) are
>> kept as they are. The idea is to let system processes be freely
>> visible by anyone, just as before. Especially interesting in this
>> regard would be instances of login. I don't know how to easily
>> discriminate between system processes and "normal" processes inside
>> the kernel (apart from pid == 1 and uid == 0 (which is too broad)).
>> Any ideas?
As a side note, I have not experienced any problems when also "hiding" system
processes by making e.g. /proc/1 mode 0700.
Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/