Red Hat Bugzilla – Bug 130965
personality syscall parameters not decoded
Last modified: 2007-11-30 17:10:48 EST
Description of problem:
The parameters of the personality syscall are not decoded. This has
a) the PER_ values are no macros, so all the #ifdef PER_xxx tests fail
b) a number of values are missing
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.strace setarch -3 i386 /bin/echo
personality(0x8000008 /* PER_??? */) = 0
personality(PER_LINUX32_3GB) = 0
I'll attach a patch.
Created attachment 103111 [details]
Patch to implement PER_ option decoding
The patch assumes that recent kernel headers are available since we cannot test
using #ifdef whether the PER_ values are defined. The only alternative is to
define the value in system.c and not rely on kernel headers. Your choice.
I put a fix in upstream.
4.5.7-2 is in rawhide. I'll make an FC2 update release in a few days.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.