[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200902060141.n161fBl6043702@www262.sakura.ne.jp>
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