Bug ID 915889
Summary glibc's execve() reverses 'environ' pointers
Classification openSUSE
Product openSUSE Factory
Version 201501*
Hardware aarch64
OS Other
Status NEW
Severity Minor
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter mail@bernhard-voelker.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

On aarch64, the output of 'env' is reverse to that of 'env env' - which in
turn is reverse to that of 'env env env' and so on.
It seems that execve() is reversing the pointers of the 'environ' array.

This was seen as failure for the coreutils-testsuite on aarch64 on OBS,
and discussed upstream at
  http://lists.gnu.org/archive/html/coreutils/2015-02/msg00001.html

I'm not sure if this is a bug or just a minor oops, as POSIX seems to
allow such behavior, but as this only happens on aarch64, I thought it
is worth reporting.
Please clarify. Thanks.


You are receiving this mail because: