mbox series

[0/2] faccessat test improvements

Message ID 20241016192108.811046-1-siddhesh@sourceware.org
Headers show
Series faccessat test improvements | expand

Message

Siddhesh Poyarekar Oct. 16, 2024, 7:21 p.m. UTC
Cleaned up current test for faccessat and added an xtest to verify
behaviour with different real and effective user/group combinations.

Siddhesh Poyarekar (2):
  tst-faccessat.c: Port to libsupport
  io: Add setuid tests for faccessat

 io/Makefile               |   4 +
 io/tst-faccessat-setuid.c | 163 ++++++++++++++++++++++++++++
 io/tst-faccessat.c        | 219 +++++++++++---------------------------
 support/Makefile          |   1 +
 support/xdup.c            |  30 ++++++
 support/xunistd.h         |   1 +
 6 files changed, 262 insertions(+), 156 deletions(-)
 create mode 100644 io/tst-faccessat-setuid.c
 create mode 100644 support/xdup.c