summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/heapsort.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-04-17 15:52:50 +0000
committerjilles <jilles@FreeBSD.org>2010-04-17 15:52:50 +0000
commite3a8d034ba069ba5a7dad2818a3994f2e52c5dff (patch)
tree64ac6f861971c8770b677048060a38143ba9b897 /lib/libc/stdlib/heapsort.c
parent286029c47836178eb034bb3cff6b884f0a4ed74d (diff)
downloadFreeBSD-src-e3a8d034ba069ba5a7dad2818a3994f2e52c5dff.zip
FreeBSD-src-e3a8d034ba069ba5a7dad2818a3994f2e52c5dff.tar.gz
getcwd(3): Clarify that EACCES may or may not be checked.
POSIX permits but does not require checking access on the current and parent directories. Because various programs do not like it if getcwd(3) fails, it seems best to avoid checking access as much as possible. There are various reports in GNATS about this (search for getcwd). Our getcwd(3) implementation first queries the kernel for the pathname directly, which does not check any permissions but sometimes fails, and then falls back to reading all parent directories for the names. PR: standards/44425 MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/heapsort.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud