public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Improve tst-ttyname within containers
@ 2023-06-12 18:30 Adhemerval Zanella
  2023-06-12 18:30 ` [PATCH 1/2] linux: Split tst-ttyname Adhemerval Zanella
  2023-06-12 18:30 ` [PATCH 2/2] linux: Return unsupported if procfs can not be mount on tst-ttyname-namespace Adhemerval Zanella
  0 siblings, 2 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2023-06-12 18:30 UTC (permalink / raw)
  To: libc-alpha

The test might fail depending on how the container is configure,
its capabilities, and/or which LSM is enabled and how it is
configured (check the discussion on libc-alpha [1]).

[1] https://sourceware.org/pipermail/libc-alpha/2023-June/148747.html

Adhemerval Zanella (2):
  linux: Split tst-ttyname
  linux: Return unsupported if procfs can not be mount on
    tst-ttyname-namespace

 sysdeps/unix/sysv/linux/Makefile              |   3 +-
 .../{tst-ttyname.c => tst-ttyname-common.c}   | 208 +-----------------
 sysdeps/unix/sysv/linux/tst-ttyname-direct.c  | 110 +++++++++
 .../unix/sysv/linux/tst-ttyname-namespace.c   | 147 +++++++++++++
 4 files changed, 263 insertions(+), 205 deletions(-)
 rename sysdeps/unix/sysv/linux/{tst-ttyname.c => tst-ttyname-common.c} (68%)
 create mode 100644 sysdeps/unix/sysv/linux/tst-ttyname-direct.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-ttyname-namespace.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-27 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12 18:30 [PATCH 0/2] Improve tst-ttyname within containers Adhemerval Zanella
2023-06-12 18:30 ` [PATCH 1/2] linux: Split tst-ttyname Adhemerval Zanella
2023-06-27 14:04   ` Siddhesh Poyarekar
2023-06-12 18:30 ` [PATCH 2/2] linux: Return unsupported if procfs can not be mount on tst-ttyname-namespace Adhemerval Zanella
2023-06-27 14:03   ` Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).