about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/tst-sysvshm-linux.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-09-16 16:00:14 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-10-15 04:00:36 -0700
commitc02695d776406faaf63418e4e80c4a7023af0b4f (patch)
tree0d7183d167d642375e062ad18bce2ccbdc2939bf /sysdeps/unix/sysv/linux/tst-sysvshm-linux.c
parentb8b53b338f6da91e86d115a39da860cefac736ad (diff)
downloadglibc-c02695d776406faaf63418e4e80c4a7023af0b4f.tar.gz
glibc-c02695d776406faaf63418e4e80c4a7023af0b4f.tar.xz
glibc-c02695d776406faaf63418e4e80c4a7023af0b4f.zip
x86/CET: Update vfork to prevent child return
Child of vfork should either call _exit or one of the exec family of
functions.  But normally there is nothing to prevent child of vfork from
return of the vfork-calling function.  Simpilfy x86 vfork when shadow
stack is in use to introduce mismatched shadow stack in child of vfork
to trigger SIGSEGV when the child returns from the function in which
vfork was called.
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-sysvshm-linux.c')
0 files changed, 0 insertions, 0 deletions