diff options
author | Adam Jackson <ajax@redhat.com> | 2020-12-18 09:36:30 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2020-12-18 09:36:30 -0500 |
commit | 365cbbfc4b99f7d9937d1b8b61f1483556a5b57a (patch) | |
tree | 94a771d01ca052bcf7d9d6e3270f96360b14e510 /Xi | |
parent | 5e3900904ddc27f3d5580ce3a07929469d82fb5e (diff) |
os, shm: fcntl()'s third argument is integer, not pointer
All of these uses were attempting to set FD_CLOEXEC, which happens to be
(1<<0). Since flags is going to be aligned in memory, its address is
never going to have the low bit set, so we were never actually setting
what we meant to.
Fixes: xorg/xserver#1114
Diffstat (limited to 'Xi')
0 files changed, 0 insertions, 0 deletions