public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] <fd_to_filename.h> improvements
@ 2020-02-14 18:10 Florian Weimer
  2020-02-14 18:11 ` [PATCH 1/3] <fd_to_filename.h>: Add type safety and port to Hurd Florian Weimer
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Florian Weimer @ 2020-02-14 18:10 UTC (permalink / raw)
  To: libc-alpha

This series ports fd_to_filename to Hurd and adds more type safety (to
reduce the risk of buffer overflows).

Florian Weimer (3):
  <fd_to_filename.h>: Add type safety and port to Hurd
  Linux: Port ttyname, ttyname_r to <fd_file_name.h>
  Linux: Port fexecve to <fd_to_filename.h>

 libio/freopen.c                               |   4 +-
 libio/freopen64.c                             |   4 +-
 misc/Makefile                                 |   6 +-
 misc/fd_to_filename.c                         | 104 +++++++++++++++++
 misc/tst-fd_to_filename.c                     | 106 ++++++++++++++++++
 sysdeps/generic/arch-fd_to_filename.h         |  19 ++++
 sysdeps/generic/fd_to_filename.h              |  25 +++--
 sysdeps/mach/hurd/arch-fd_to_filename.h       |  19 ++++
 ...fd_to_filename.h => arch-fd_to_filename.h} |  22 +---
 sysdeps/unix/sysv/linux/fexecve.c             |   6 +-
 sysdeps/unix/sysv/linux/ttyname.c             |   7 +-
 sysdeps/unix/sysv/linux/ttyname_r.c           |   7 +-
 12 files changed, 285 insertions(+), 44 deletions(-)
 create mode 100644 misc/fd_to_filename.c
 create mode 100644 misc/tst-fd_to_filename.c
 create mode 100644 sysdeps/generic/arch-fd_to_filename.h
 create mode 100644 sysdeps/mach/hurd/arch-fd_to_filename.h
 rename sysdeps/unix/sysv/linux/{fd_to_filename.h => arch-fd_to_filename.h} (58%)

-- 
2.24.1

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

end of thread, other threads:[~2020-02-17 19:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 18:10 [PATCH 0/3] <fd_to_filename.h> improvements Florian Weimer
2020-02-14 18:11 ` [PATCH 1/3] <fd_to_filename.h>: Add type safety and port to Hurd Florian Weimer
2020-02-14 18:43   ` Samuel Thibault
2020-02-14 19:08   ` Adhemerval Zanella
2020-02-14 20:21     ` Florian Weimer
2020-02-14 20:29   ` Paul Eggert
2020-02-15 13:17     ` Florian Weimer
2020-02-16  0:02       ` Paul Eggert
2020-02-17 15:19         ` Florian Weimer
2020-02-17 18:26           ` Paul Eggert
2020-02-17 18:59             ` Adhemerval Zanella
2020-02-17 19:14               ` Paul Eggert
2020-02-14 18:11 ` [PATCH 3/3] Linux: Port fexecve to <fd_to_filename.h> Florian Weimer
2020-02-14 18:11 ` [PATCH 2/3] Linux: Port ttyname, ttyname_r to <fd_file_name.h> Florian Weimer

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).