qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] linux-user: Support prctl PR_GET/SET_NAME
@ 2012-02-03 13:53 Peter Maydell
  2012-02-03 13:53 ` [Qemu-devel] [PATCH 1/2] linux-user/syscall.c: Fix indentation in prctl handling Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Peter Maydell @ 2012-02-03 13:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Riku Voipio, patches

These patches add support for the prctl options PR_GET_NAME
and PR_SET_NAME. In particular, perl 5.14 will use PR_SET_NAME
if you change the value of $0, which means that adduser will
fail if run under qemu with a sufficiently modern perl.

Patch one is just indentation cleanup, the meat is patch 2.

The only other prctl options which take pointer arguments are
all architecture specific, so there didn't seem much point in
adding them (they all work like PR_GET_PDEATHSIG in that they
pass an int* to be filled in); we'd have to actually emulate them
if we cared about them.

Peter Maydell (2):
  linux-user/syscall.c: Fix indentation in prctl handling
  linux-user: Add support for prctl PR_GET_NAME and PR_SET_NAME

 linux-user/syscall.c |   53 ++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 39 insertions(+), 14 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-21 15:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 13:53 [Qemu-devel] [PATCH 0/2] linux-user: Support prctl PR_GET/SET_NAME Peter Maydell
2012-02-03 13:53 ` [Qemu-devel] [PATCH 1/2] linux-user/syscall.c: Fix indentation in prctl handling Peter Maydell
2012-02-03 13:53 ` [Qemu-devel] [PATCH 2/2] linux-user: Add support for prctl PR_GET_NAME and PR_SET_NAME Peter Maydell
2012-02-22 22:55 ` [Qemu-devel] [PATCH 0/2] linux-user: Support prctl PR_GET/SET_NAME Peter Maydell
2012-03-02 21:18   ` Hector Oron
2012-03-08 14:20   ` Peter Maydell
2012-03-20 11:47     ` Peter Maydell
2012-03-21 15:12       ` Riku Voipio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).