git: libc - Update for realpath() system call support

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Feb 1 17:44:51 PST 2020


commit 417215e847473c8b15546c6b6bf13ca422f83133
Author: Matthew Dillon <dillon at apollo.backplane.com>
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


More information about the Commits mailing list