[PATCH] /proc/ppc64/lparcfg permissions

Makhlis, Lev Lev_Makhlis at bmc.com
Sat Apr 23 03:31:11 EST 2005


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?



More information about the Linuxppc64-dev mailing list