freebsd-skq/lib/libc/gen
Jilles Tjoelker 702f62fb48 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
2010-04-17 15:52:50 +00:00
..
__getosreldate.c Add prototype for libc internal interfaces. 2010-03-31 18:37:00 +00:00
__xuname.c
_once_stub.c
_pthread_stubs.c Use umtx to implement process sharable semaphore, to make this work, 2010-01-05 02:37:59 +00:00
_rand48.c
_spinlock_stub.c Add prototypes for libc private interfaces. 2010-03-31 18:36:04 +00:00
_thread_init.c Add prototype for libc internal interfaces. 2010-03-31 18:37:00 +00:00
alarm.3
alarm.c
arc4random.3
arc4random.c
assert.c
basename.3
basename.c
check_utility_compat.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
check_utility_compat.c
clock.3
clock.c
closedir.c
confstr.3 mdoc: remove .Pp where not needed 2010-04-14 18:29:26 +00:00
confstr.c
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c Comment a fine point, so it does not get lost when people borrow code 2010-03-15 08:58:35 +00:00
devname.3
devname.c Perform some cleanups to devname(3). 2010-01-31 14:51:04 +00:00
directory.3
dirname.3
dirname.c
disklabel.c
dladdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
dlfcn.c - Remove const'ness from dlerror(3) prototype, for consistency with POSIX. 2010-03-24 15:59:51 +00:00
dlinfo.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
dllockinit.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
dlopen.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
drand48.c
erand48.c
err.3
err.c
errlst.c
errno.c
exec.3
exec.c
fdevname.c
feature_present.3
feature_present.c
fmtcheck.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
fmtcheck.c
fmtmsg.3
fmtmsg.c
fnmatch.3
fnmatch.c fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen. 2010-04-16 22:29:24 +00:00
fpclassify.3
fpclassify.c
frexp.3 mdoc: don't abuse Bo/Pc to get what looks like an interval 2010-04-14 18:29:34 +00:00
frexp.c
fstab.c
ftok.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
ftok.c
fts-compat.c
fts-compat.h
fts.3
fts.c
ftw.3
ftw.c
getbootfile.3
getbootfile.c
getbsize.3
getbsize.c
getcap.3
getcap.c
getcontext.3
getcwd.3 getcwd(3): Clarify that EACCES may or may not be checked. 2010-04-17 15:52:50 +00:00
getcwd.c
getdiskbyname.3
getdomainname.3
getdomainname.c
getfsent.3
getgrent.3
getgrent.c
getgrouplist.3
getgrouplist.c
gethostname.3
gethostname.c
getloadavg.3
getloadavg.c
getlogin.c
getmntinfo.3
getmntinfo.c
getnetgrent.3
getnetgrent.c
getosreldate.3
getosreldate.c
getpagesize.3
getpagesize.c
getpagesizes.3
getpagesizes.c
getpass.3
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3
getpwent.c
getttyent.3 Add two changes that should have gone into commit r202274. 2010-01-14 05:37:43 +00:00
getttyent.c Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
getusershell.3
getusershell.c
getutxent.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
getutxent.c Perform several small cleanups to the utmpx code. 2010-01-17 21:40:05 +00:00
getvfsbyname.3
getvfsbyname.c
glob.3
glob.c
initgroups.3
initgroups.c
isatty.c
isgreater.3
isinf.c
isnan.c
jrand48.c
lcong48.c
ldexp.3
ldexp.c
lockf.3
lockf.c
lrand48.c
makecontext.3
Makefile.inc Add two changes that should have gone into commit r202274. 2010-01-14 05:37:43 +00:00
modf.3
mrand48.c
nftw.c
nice.3
nice.c
nlist.3
nlist.c
nrand48.c
opendir.c Let opendir() use O_DIRECTORY. 2010-03-21 20:45:06 +00:00
pause.3
pause.c Make pause(3) implementation not depended on the legacy sigcompat.c 2010-02-25 13:51:11 +00:00
pmadvise.c
popen.3
popen.c
posix_spawn_file_actions_addopen.3
posix_spawn_file_actions_init.3
posix_spawn.3
posix_spawn.c
posix_spawnattr_getflags.3
posix_spawnattr_getpgroup.3
posix_spawnattr_getschedparam.3
posix_spawnattr_getschedpolicy.3
posix_spawnattr_getsigdefault.3
posix_spawnattr_getsigmask.3
posix_spawnattr_init.3
psignal.3
psignal.c
pututxline.c Just ignore the timestamps given to pututxline(). 2010-01-23 08:43:21 +00:00
pw_scan.c
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c
rand48.3 Bump .Dd, forgotten in r203393 2010-02-02 19:44:51 +00:00
rand48.h
readdir.c
readpassphrase.3
readpassphrase.c
rewinddir.c
rfork_thread.3
scandir.3 For alphasort() add reference to strcoll(3) 2010-01-20 11:55:14 +00:00
scandir.c Style: reword comment. 2010-01-20 11:59:46 +00:00
seed48.c
seekdir.c
sem_destroy.3
sem_getvalue.3
sem_init.3 Update manuals of sem_open and sem_init. 2010-01-12 01:30:05 +00:00
sem_new.c preserve errno when processing error cases. 2010-01-18 10:29:04 +00:00
sem_open.3 Update manuals of sem_open and sem_init. 2010-01-12 01:30:05 +00:00
sem_post.3
sem_timedwait.3
sem_wait.3
sem.c Reapply r201145 to lib/libc/gen/sem.c 2010-01-23 12:48:46 +00:00
semctl.c
setdomainname.c
sethostname.c
setjmp.3
setjmperr.c
setmode.3
setmode.c
setproctitle.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
setproctitle.c
setprogname.c
siginterrupt.3
siginterrupt.c
siglist.c
signal.3
signal.c
sigsetops.3
sigsetops.c
sleep.3
sleep.c
srand48.c
statvfs.3
statvfs.c
stringlist.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
stringlist.c
strtofflags.3
strtofflags.c
swapcontext.c
Symbol.map Revert r202447 by re-exposing the old uname(3) function. 2010-01-19 23:07:12 +00:00
sysconf.3 mdoc: remove .Pp where not needed 2010-04-14 18:29:26 +00:00
sysconf.c Split the contributed code from libc/stdtime from lib/libc/stdtime 2010-02-26 06:44:00 +00:00
sysctl.3 mdoc: remove .Pp where not needed 2010-04-14 18:29:26 +00:00
sysctl.c Add proper const keywords to sysctl(3) parameters. 2010-02-21 13:57:02 +00:00
sysctlbyname.c While there, trim some trailing whitespace. 2010-02-21 14:58:01 +00:00
sysctlnametomib.c Add proper const keywords to sysctl(3) parameters. 2010-02-21 13:57:02 +00:00
syslog.3
syslog.c
tcgetpgrp.3
tcgetsid.3
tcsendbreak.3
tcsetattr.3
tcsetpgrp.3
tcsetsid.3
telldir.c
telldir.h
termios.c
time.3 Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2). 2009-12-29 14:29:08 +00:00
time.c
times.3
times.c
timezone.3
timezone.c
tls.c The static TLS size as given by tls_static_space includes TLS_TCB_SIZE 2010-02-16 02:22:59 +00:00
ttyname.3 Improve the ttyname(3) manual page. 2010-01-24 14:44:05 +00:00
ttyname.c
ttyslot.c Simplify ttyslot(3). 2010-01-17 15:43:14 +00:00
tzset.3
ualarm.3
ualarm.c
ucontext.3
ulimit.3
ulimit.c
uname.3
uname.c Revert r202447 by re-exposing the old uname(3) function. 2010-01-19 23:07:12 +00:00
unvis.3
unvis.c
usleep.3
usleep.c
utime.3
utime.c
utxdb.c Just ignore the timestamps given to pututxline(). 2010-01-23 08:43:21 +00:00
utxdb.h Perform several small cleanups to the utmpx code. 2010-01-17 21:40:05 +00:00
valloc.3
valloc.c
vis.3
vis.c
wait3.c
wait.c
waitpid.c
wordexp.3
wordexp.c