commit 417215e847473c8b15546c6b6bf13ca422f83133
Author: Matthew Dillon <[email protected]>
Date: Sat Feb 1 17:34:30 2020 -0800
libc - Update for realpath() system call support
* The realpath() implementation now checks to see if the system call
is available and uses it.
* getosreldate() now caches the result to avoid multiple sysctl()
calls.
* Add the new system calls (__realpath and getrandom()) to the symbol
list.
Summary of changes:
lib/libc/gen/getosreldate.c | 9 ++-
lib/libc/stdlib/realpath.c | 19 ++++++-
lib/libc/sys/Makefile.inc | 4 +-
lib/libc/sys/Symbol.map | 6 ++
lib/libc/sys/getrandom.2 | 134 ++++++++++++++++++++++++++++++++++++++++++++
sys/sys/random.h | 1 +
6 files changed, 167 insertions(+), 6 deletions(-)
create mode 100644 lib/libc/sys/getrandom.2
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/417215e847473c8b15546c6b6bf13ca422f83133
--
DragonFly BSD source repository