qemu-linaro: prctl(PR_SET_NAME, ...) not supported

Bug #926102 reported by Peter Maydell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
Medium
Peter Maydell

Bug Description

qemu's linux-user mode doesn't support prctl(PR_SET_NAME, ...) for setting the process name: we don't properly translate the pointer argument so it will generally fail EFAULT. This is now used by Perl (as of perl 5.14) if the script writes to $0; this causes adduser to fail if run under qemu-arm-user, as described in this thread:
  http://lists.linaro.org/pipermail/linaro-dev/2012-January/009791.html

I've submitted patches for this upstream:
 http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg00323.html

We should put these in qemu-linaro for the 2012.02 release.

Peter Maydell (pmaydell)
Changed in qemu-linaro:
milestone: none → 2012.02
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Peter Maydell (pmaydell)
status: In Progress → Fix Committed
Changed in qemu-linaro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.