Re: [TOMOYO #15 6/8] LSM adapter functions.

Tetsuo Handa
2009-02-06T01:42:36Z

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.