git: kernel - Add fcntl(F_GETPATH) (3)

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 30 14:15:02 PDT 2021


commit c022ba7f69efc7609c8a668a7548c3fa7fb4582b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 30 14:14:15 2021 -0700

    kernel - Add fcntl(F_GETPATH) (3)
    
    * cache_fullpath() limits the result to MAXPATHLEN, but we must
      still adjust the error code to match the manual page and netbsd.

Summary of changes:
 lib/libc/sys/fcntl.2    |  7 +++++++
 sys/kern/kern_descrip.c | 14 +++++++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c022ba7f69efc7609c8a668a7548c3fa7fb4582b


-- 
DragonFly BSD source repository



More information about the Commits mailing list