[hurd,commited,0/6] Make write and pwrite64 cancellation points

Message ID 20200614165757.4156687-1-samuel.thibault@ens-lyon.org
Headers show
Series
  • Make write and pwrite64 cancellation points
Related show

Message

Samuel Thibault June 14, 2020, 4:57 p.m.
Samuel Thibault (6):
  htl: Add noreturn attribute on __pthread_exit forward
  htl: initialize first and prevent from unloading
  htl: Move cleanup stack to variable shared between libc and pthread
  htl: Fix cleanup support for IO locking
  hurd: Make write and pwrite64 cancellation points
  htl: Enable more cancellation tests

 htl/Makefile                                  |  1 +
 htl/Versions                                  |  1 +
 htl/forward.c                                 |  4 +-
 htl/libc_pthread_init.c                       |  2 +
 htl/pt-alloc.c                                |  2 -
 htl/pt-cleanup.c                              |  2 +-
 htl/pt-internal.h                             |  4 +-
 nptl/Makefile                                 |  3 +-
 sysdeps/htl/libc-lockP.h                      | 33 +++++++++++
 sysdeps/htl/pthread-functions.h               |  4 +-
 sysdeps/htl/stdio-lock.h                      | 57 +++++++++++++++++++
 sysdeps/mach/hurd/Makefile                    |  2 +-
 sysdeps/mach/hurd/Versions                    |  2 +
 sysdeps/mach/hurd/dl-sysdep.c                 |  2 +
 sysdeps/mach/hurd/i386/localplt.data          |  3 +-
 sysdeps/mach/hurd/not-cancel.h                | 10 +++-
 sysdeps/mach/hurd/pwrite64.c                  | 16 +++---
 sysdeps/mach/hurd/pwrite64_nocancel.c         | 35 ++++++++++++
 sysdeps/mach/hurd/write.c                     | 13 +++--
 sysdeps/mach/hurd/write_nocancel.c            | 30 ++++++++++
 sysdeps/pthread/Makefile                      |  8 ++-
 .../pthread}/tst-cancel-self-cancelstate.c    |  0
 {nptl => sysdeps/pthread}/tst-cancel-self.c   |  0
 {nptl => sysdeps/pthread}/tst-cancel9.c       |  0
 {nptl => sysdeps/pthread}/tst-cancelx9.c      |  0
 25 files changed, 202 insertions(+), 32 deletions(-)
 create mode 100644 sysdeps/htl/stdio-lock.h
 create mode 100644 sysdeps/mach/hurd/pwrite64_nocancel.c
 create mode 100644 sysdeps/mach/hurd/write_nocancel.c
 rename {nptl => sysdeps/pthread}/tst-cancel-self-cancelstate.c (100%)
 rename {nptl => sysdeps/pthread}/tst-cancel-self.c (100%)
 rename {nptl => sysdeps/pthread}/tst-cancel9.c (100%)
 rename {nptl => sysdeps/pthread}/tst-cancelx9.c (100%)

-- 
2.27.0