diff options
author | Brian Geffon <bgeffon@google.com> | 2018-07-19 12:41:00 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-07-19 12:42:05 -0700 |
commit | df5a5d388e1fc3349ee70c3476fdffb195fbce9c (patch) | |
tree | ec1d00909f9a11a415ca6cc11bd65622f5d3bd81 /pkg/sentry/fs/tty | |
parent | a95640b1e9fb8c3751c54c80f6c04f0dff233aed (diff) |
Add AT_UID, AT_EUID, AT_GID, AT_EGID to aux vector.
With musl libc when these entries are missing from the aux vector
it's forcing libc.secure (effectively AT_SECURE). This mode prevents
RPATH and LD_LIBRARY_PATH from working.
https://git.musl-libc.org/cgit/musl/tree/ldso/dynlink.c#n1488
As the first entry is a mask of all the aux fields set:
https://git.musl-libc.org/cgit/musl/tree/ldso/dynlink.c#n187
PiperOrigin-RevId: 205284684
Change-Id: I04de7bab241043306b4f732306a81d74edfdff26
Diffstat (limited to 'pkg/sentry/fs/tty')
0 files changed, 0 insertions, 0 deletions