public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* POSIX XXXat() methods
@ 2020-07-20 22:33 Joel Sherrill
  2020-07-21  5:00 ` Sebastian Huber
  2020-07-21  6:08 ` Brian Inglis
  0 siblings, 2 replies; 4+ messages in thread
From: Joel Sherrill @ 2020-07-20 22:33 UTC (permalink / raw)
  To: Newlib, Eshan Dhawan

Hi

Eshan has been looking for generic implementations of the 15 POSIX methods
like openat(), mkdirat(), etc. He has searched the normal places I know of
and hasn't found implementations of most of them that don't just call a
dedicated system call. Here is his analysis.

https://docs.google.com/spreadsheets/d/1nEniQOs9TxDy5fb7P0_XFg7VknQDldG1BDFWSoqdKg0/edit?usp=sharing

It appears that many could be implemented generically but with possible
overhead of saving current working directory, changing, returning, etc. and
likely race conditions.

Does anyone have any ideas on where to get generic implementations to port?
Or implementation strategies to write OS agnostic versions?

Thanks.

--joel

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

end of thread, other threads:[~2020-07-21  6:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20 22:33 POSIX XXXat() methods Joel Sherrill
2020-07-21  5:00 ` Sebastian Huber
2020-07-21  5:03   ` Sebastian Huber
2020-07-21  6:08 ` Brian Inglis

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