This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/19408] New: linux personality syscall wrapper may erroneously return an error on 32-bit architectures
- From: "ldv at altlinux dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 28 Dec 2015 01:02:08 +0000
- Subject: [Bug libc/19408] New: linux personality syscall wrapper may erroneously return an error on 32-bit architectures
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19408
Bug ID: 19408
Summary: linux personality syscall wrapper may erroneously
return an error on 32-bit architectures
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: ldv at altlinux dot org
Reporter: ldv at altlinux dot org
CC: drepper.fsp at gmail dot com
Target Milestone: 2.23
While personality syscall is always successful on 32-bit architectures
nowadays, the syscall wrapper may return an error.
For example, personality((unsigned) -EINVAL) will make any subsequent
personality call, including absolutely harmless read-only
personality(0xffffffff) call, return -1 with errno set to EINVAL.
--
You are receiving this mail because:
You are on the CC list for the bug.