From: Aurelien Jarno <aurelien@aurel32.net>
To: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: SYS_personality does not work correctly on mips(el)64
Date: Thu, 12 Oct 2006 23:40:35 +0200 [thread overview]
Message-ID: <452EB653.7070604@aurel32.net> (raw)
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@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
next reply other threads:[~2006-10-12 21:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-12 21:40 Aurelien Jarno [this message]
2006-10-13 9:52 ` SYS_personality does not work correctly on mips(el)64 Thiemo Seufer
2006-10-13 10:25 ` Aurelien Jarno
2006-10-15 21:11 ` Aurelien Jarno
2006-10-15 21:27 ` Thiemo Seufer
2006-10-15 21:47 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=452EB653.7070604@aurel32.net \
--to=aurelien@aurel32.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox