kernel - Add fcntl(F_GETPATH) (3)

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 30 March 2021 21:14 UTC

- cache_fullpath() limits the result to MAXPATHLEN, but we must still adjust the error code to match the manual page and netbsd.

c022ba7f69 kernel - Add fcntl(F_GETPATH) (3)
lib/libc/sys/fcntl.2 | 7 +++++++
sys/kern/kern_descrip.c | 14 +++++++++++---
2 files changed, 18 insertions(+), 3 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share