This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/19408] New: linux personality syscall wrapper may erroneously return an error on 32-bit architectures


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]