lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 12 Oct 2006 23:40:35 +0200
From:	Aurelien Jarno <aurelien@...el32.net>
To:	linux-mips@...ux-mips.org, linux-kernel@...r.kernel.org
Subject: SYS_personality does not work correctly on mips(el)64

Hi all,

On mips(el), when doing multiple call to the syscall SYS_personality in 
order to get the current personality (using 0xffffffff for the first 
argument), on a 64-bit kernel, the second and subsequent syscalls are 
failing. That works correctly with a 32-bit kernels and on other 
architectures.

Here is a small test below:

#include <sys/personality.h>
#include <stdio.h>

void main()
{
   printf("%i\n", personality(0xFFFFFFFF));
   printf("%i\n", personality(0xFFFFFFFF));
}


Bye,
Aurelien
-- 
   .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
  : :' :  Debian developer           | Electrical Engineer
  `. `'   aurel32@...ian.org         | aurelien@...el32.net
    `-    people.debian.org/~aurel32 | www.aurel32.net
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ