CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2024/04/15 09:47:58

Modified files:
        include        : dirent.h 
        lib/libc       : Symbols.list 
        lib/libc/gen   : opendir.c scandir.3 scandir.c 
        lib/libc/hidden: dirent.h 

Log message:
Add scandirat(3); from freebsd

To be used in httpd(8) shortly to prevent toctu issues.

This makes __fdopendir internally accessible to avoid unnecessary
syscalls in scandirat(3). Suggested & diff by guenther

suggested by & OK millert
tweak & OK guenther
OK tb, jca

This rides the libc crank.

Reply via email to