Making openat(2)
and friends more useful in practice
Contributed by Peter N. M. Hansteen on from the best laid plans of pufferfish and ... dept.
In a message to tech@
titled
openat(2) is mostly useless, sadly
Theo de Raadt (deraadt@
) describes how the
openat(2)
family of system calls has failed to live up to expectations in practice,
and he proposes changes that may improve the situation.
Theo writes,
List: openbsd-tech Subject: openat(2) is mostly useless, sadly From: "Theo de Raadt" <deraadt () openbsd ! org> Date: 2025-05-28 14:03:29 The family of system calls related to openat(2) are mostly useless in practice, rarely used. When they are used it is often ineffectively or even with performance-reducing results. int openat(int fd, const char *path, int flags, ...); These are the others: