Move some stuff (printing, logging, [un]locking) into utils.c.
authorPaul Mackerras <paulus@samba.org>
Mon, 12 Apr 1999 06:24:53 +0000 (06:24 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 12 Apr 1999 06:24:53 +0000 (06:24 +0000)
commite8be982dbc5c6c50dfc9f66737867570c8ed4973
treecbb86839226b05255cb0476e7ea99ccebd4c1d1d
parent5daac16c20d48941d638bfe4a0c0acdeecc2be35
Move some stuff (printing, logging, [un]locking) into utils.c.
Unified the locking code, added relock().
Revert strlcpy to strncpy when filling in utmp structs.
Fixed some bugs in DNS addr option handling.
Set PPPLOGNAME with login name of user.
Moved daemon() logic into detach().
Fix bug where errno was clobbered by seteuid().
Use pty in sys-linux.c when making a ppp unit.
23 files changed:
pppd/Makefile.NeXT
pppd/Makefile.aix4
pppd/Makefile.bsd
pppd/Makefile.linux
pppd/Makefile.osf
pppd/Makefile.sol2
pppd/Makefile.sunos4
pppd/Makefile.svr4
pppd/Makefile.ultrix
pppd/auth.c
pppd/ipcp.c
pppd/main.c
pppd/options.c
pppd/pppd.h
pppd/sys-NeXT.c
pppd/sys-aix4.c
pppd/sys-bsd.c
pppd/sys-linux.c
pppd/sys-osf.c
pppd/sys-sunos4.c
pppd/sys-svr4.c
pppd/sys-ultrix.c
pppd/utils.c [new file with mode: 0644]