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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 06 Feb 2009 10:41:11 +0900
From:	Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
To:	adobriyan@...il.com
Cc:	jmorris@...ei.org, linux-security-module@...r.kernel.org,
	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	haradats@...data.co.jp, takedakn@...data.co.jp
Subject: Re: [TOMOYO #15 6/8] LSM adapter functions.

Alexey Dobriyan wrote:
> > +	if (tomoyo_prepend(&end, &buflen, "/proc/sys"))
> 
> Hardcoded path?
> 
Yes.

The sysctl's table tree is accessible via sys/ directory of proc filesystem.
Since this function is called by sysctl(2), we don't have a mount point.
On the assumption that proc filesystem is mounted on /proc/ , TOMOYO pretends
as if corresponding sysctl table entry under sys/ directory of proc filesystem
is accessed.

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