CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/01/30 22:49:51
Modified files:
usr.sbin/npppd/npppd: Makefile npppd.c npppd.h npppd_auth.c
npppd_config.c npppd_ctl.c npppd_defs.h
npppd_local.h npppd_subr.c
usr.sbin/npppd/pppoe: pppoed.c
usr.sbin/npppd/pptp: pptpd.c
Added files:
usr.sbin/npppd/npppd: privsep.c privsep.h
Log message:
privilege separation of npppd.
- Drop privilege after daemon initializing.
- Some system calls that requires root privileges were replaced to
wrapper functions that communicate with a separated privileged
process via IPC. And the privileged process checks whether the
operations are acceptable.