freebsd-dev/lib/libc/gen
Ruslan Ermilov bedff4e805 Reset LogTag to NULL in closelog(3). This fixes mysterious crashes
caused by dynamic PAM modules that call openlog(3) and closelog(3),
e.g. ports/security/pam_pwdfile.

What happened here is that the module first registered its "ident"
with openlog(3), then PAM library unloaded module with dlclose(3),
and the next call to syslog(3) resulted in SIGSEGV.

MFC after:	3 days
2002-11-14 12:40:14 +00:00
..
__xuname.c
_pthread_stubs.c Argh, change declaration of two-dimensional array so that it actually 2002-11-13 21:55:22 +00:00
_rand48.c
_spinlock_stub.c
_thread_init.c
alarm.3
alarm.c
arc4random.3
arc4random.c
assert.c
basename.3
basename.c
check_utility_compat.3
check_utility_compat.c
clock.3
clock.c
closedir.c
confstr.3
confstr.c
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c
devname.3
devname.c
directory.3
dirname.3
dirname.c
disklabel.c
dladdr.3
dlfcn.c
dlfunc.c
dllockinit.3
dlopen.3
drand48.c
erand48.c
err.3
err.c
errlst.c
errno.c
exec.3
exec.c
fmtcheck.3
fmtcheck.c
fmtmsg.3
fmtmsg.c
fnmatch.3
fnmatch.c
frexp.3
fstab.c
ftok.3
ftok.c
fts-compat.c
fts-compat.h
fts.3
fts.c
getbootfile.3
getbootfile.c
getbsize.3
getbsize.c
getcap.3
getcap.c
getcontext.3
getcwd.3
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
getobjformat.3
getobjformat.c
getosreldate.c
getpagesize.3
getpagesize.c
getpass.3
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3
getpwent.c
getttyent.3
getttyent.c
getusershell.3
getusershell.c
getvfsbyname.3
getvfsbyname.c
getvfsent.3
getvfsent.c
glob.3
glob.c
initgroups.3
initgroups.c
isatty.c
isinf.3
jrand48.c
lcong48.c
ldexp.3
lockf.3
lockf.c
lrand48.c
makecontext.3
Makefile.inc
modf.3
mrand48.c
msgctl.3
msgget.3
msgrcv.3
msgsnd.3
nice.3
nice.c
nlist.3
nlist.c
nrand48.c
ntp_gettime.c
opendir.c
pause.3
pause.c
pmadvise.c
popen.3
popen.c
posixshm.c
pselect.3
pselect.c
psignal.3
psignal.c
pw_scan.c
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c
rand48.3
rand48.h
readdir.c
readpassphrase.3
readpassphrase.c
rewinddir.c
rfork_thread.3
scandir.3
scandir.c
seed48.c
seekdir.c
sem_destroy.3
sem_getvalue.3
sem_init.3
sem_open.3
sem_post.3
sem_wait.3
sem.c
semctl.c
setdomainname.c
sethostname.c
setjmp.3
setjmperr.c
setmode.3
setmode.c
setproctitle.3
setproctitle.c
setprogname.c
shm_open.3
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
stringlist.c
strtofflags.3
strtofflags.c
swapcontext.c
sysconf.3
sysconf.c
sysctl.3
sysctl.c
sysctlbyname.c
sysctlnametomib.c
syslog.3
syslog.c Reset LogTag to NULL in closelog(3). This fixes mysterious crashes 2002-11-14 12:40:14 +00:00
tcgetpgrp.3
tcsendbreak.3
tcsetattr.3
tcsetpgrp.3
telldir.c
telldir.h
termios.c
time.3
time.c
times.3
times.c
timezone.3
timezone.c
ttyname.3
ttyname.c
ttyslot.c
tzset.3
ualarm.3
ualarm.c
ucontext.3
ulimit.3
ulimit.c
uname.3
uname.c
unvis.3
unvis.c
usleep.3
usleep.c
utime.3
utime.c
valloc.3
valloc.c
vis.3
vis.c
wait3.c
wait.c
waitpid.c