Question regarding chmod/chown for /proc entries
From: Tetsuo Handa
Date: Tue Mar 11 2008 - 10:52:26 EST
Hello.
In 2.4 kernels, chmod/chown requests against /proc entries
return success but the mode/uid/gid aren't changed.
In 2.6 kernels, chmod/chown requests against /proc entries
return success and the mode/uid/gid are changed.
This is because 2.4 kernels don't update
"struct proc_dir_entry"->mode/uid/gid like 2.6 kernels.
( 2.4 kernels don't have proc_notify_change() hook.)
What's the reason for this difference?
Regards.
--
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/