lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ