Bug#380531: linux-2.6: mips and mipsel personality(2) support is broken
severity 380531 normal
thanks
On Sun, Jul 30, 2006 at 07:39:39PM +0100, Roger Leigh wrote:
> personality(2) only works the first time it is called [in the lifetime
> of a process/program]. All subsequent calls return EPERM, which is
> not a documented return value;
As the linux source don't document return values and it is linux
specific, the linux kernel is allowed to return any error is thinks is
needed.
> None of the other architectures I have tested
> (amd64, arm, i386, ia64, powerpc) behave this way: personality(2) is
> not a privileged call.
That it return sane values everything else don't document it as a non
priviledged call.
Bastian
--
Women are more easily and more deeply terrified ... generating more
sheer horror than the male of the species.
-- Spock, "Wolf in the Fold", stardate 3615.4
Reply to: