Edward Tomasz Napierala 0dfbdd9fc2 linux(4): make getcwd(2) return ERANGE instead of ENOMEM
For native FreeBSD binaries, the return value from __getcwd(2)
doesn't really matter, as the libc wrapper takes over and returns
the proper errno.

PR:		kern/254120
Reported By:	Alex S <iwtcex@gmail.com>
Reviewed By:	kib
Sponsored By:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29217
2021-03-12 15:31:45 +00:00
..
2021-03-10 19:06:42 +01:00
2021-01-02 19:57:58 -07:00
2021-01-15 20:09:55 +01:00
2021-03-12 12:12:35 +01:00