[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-security-module
Subject:    Re: [TOMOYO #15 6/8] LSM adapter functions.
From:       Tetsuo Handa <penguin-kernel () i-love ! sakura ! ne ! jp>
Date:       2009-02-06 1:41:11
Message-ID: 200902060141.n161fBl6043702 () www262 ! sakura ! ne ! jp
[Download RAW message or body]

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-security-module" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic