[PATCH] /proc/ppc64/lparcfg permissions
Nathan Lynch
ntl at pobox.com
Sat Apr 23 03:36:26 EST 2005
On Fri, Apr 22, 2005 at 12:31:11PM -0500, Makhlis, Lev wrote:
> On Fri, 2005-04-22 at 13:04 -0400, Nathan Lynch wrote:
> > > Makhlis, Lev wrote:
> > > >Hi,
> > > >
> > > >Is there a good reason that /proc/ppc64/lparcfg is only readable to
> > root?
> > > >(For comparison, any user can run lparstat(1) on AIX.)
> > >
> > > No reason that I'm aware of.
> > >
> >
> > I'd be a little more cautious (paranoid?). Reading lparcfg causes
> > several hypervisor and RTAS calls. It seems there's potential for
> > local DOS if we were to make this world-readable.
>
> Do you know if lpar_get_info() on AIX makes the same hypervisor calls?
No, I don't know.
More information about the Linuxppc64-dev
mailing list