]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: Allow world readable /proc/ppc64/lparcfg
authorWim Coekaerts <wim.coekaerts@oracle.com>
Tue, 6 Sep 2005 03:22:47 +0000 (20:22 -0700)
committerPaul Mackerras <paulus@samba.org>
Tue, 6 Sep 2005 06:07:54 +0000 (16:07 +1000)
commitbca6a014b1c842c12e53c38dea544c45265bf012
tree0c1da9e0a792cca58e3bbb2d533f269ac63c0a9a
parentc126d83315f026e6d0a26821e5b199b643b93cff
[PATCH] ppc64: Allow world readable /proc/ppc64/lparcfg

I would like to be able to read the lparcfg data from any user so we
can make "intelligent" decisions based on underlying attributes when
running in lpars.  Yes there's software that likes to do this :) and
runs as non-root.

It's very similar to say VM where you can get CP to provide feedback
of the real hardware inside a VM guest.

Signed-off-by: Wim Coekaerts <wim.coekaerts@oracle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/lparcfg.c