[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200803112352.EGH60440.OJQFSFtOMFOVHL@I-love.SAKURA.ne.jp>
Date: Tue, 11 Mar 2008 23:52:06 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Question regarding chmod/chown for /proc entries
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists