summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/id.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix prototypes.brian1997-11-221-9/+10
| | | | | | | | | | | | | | Remove extraneous decls. Add ``const'' to several places. Allow ``make NOALIAS=1'' to remove IP aliasing. Merge with OpenBSD - only the Makefiles vary. We can now survive a compile with -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts (although the Makefile just contains -Wall).
* Use seteuid() instead of setreuid().brian1997-11-131-5/+5
| | | | The setreuid() page says seteuid is better !
* Introduce ID0 logging.brian1997-11-091-0/+145
Stay as the invoking uid as much as possible. Execution as a normal user is still forbidden for now, so these changes are pretty ineffective. The next commit will implement the modifications suggested on -hackers a number of days ago.
OpenPOWER on IntegriCloud