summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/id.c
Commit message (Collapse)AuthorAgeFilesLines
* o Fix remaining sizeof problems for 64 bit machines.brian1998-06-271-4/+4
| | | | | | | | | | o Allow ``set ....'' when we have multiple links but aren't in multilink mode. o Do a TLS when we receive a ``Open'' event in ``Closed'' state, despite the rfc state transition table. This is clearly an error in the RFC as TLS cannot have yet been called (without TLF) in the ``Closed'' state. I've posted a message to comp.protocols.ppp for confirmation.
* o If there's a session leader left running for a descriptorbrian1998-05-291-1/+14
| | | | | | | | | | | that we're now closing, manually HUP that session leader so that the tty is fully released. o Always restart our carrier detect timer in the receiving process if it was running in the sending process (as we now *always* pass the descriptor). o Tweak argv when we go into pause() mode to keep our session so that ps can see what's going on (without checking for a `pause' state in `ps -l').
* o Don't forget to close our transfer socket if we cannotbrian1998-05-281-1/+14
| | | | | | | generate the data to transfer. o Transfer uucp lock ownership for the transferred device. o Don't assume we know the correct values of dev_is_modem and mbits after the transfer.
* MFMP: Make ppp multilink capable.brian1998-05-211-24/+53
| | | | See the file README.changes, and re-read the man page.
* MFMP: Allow 8 character login names.brian1998-02-191-6/+41
| | | | Do the login()/logwtmp()/logout() as id 0.
* Remove unused #includes.brian1998-01-211-6/+1
| | | | | | Make various bits static. Remove unused variables. Submitted by: eivind
* Write to the routing socket as uid 0. It's not good enoughbrian1997-12-271-1/+13
| | | | to just open it as uid 0 under OpenBSD.
* Add (BSD) copyright headers.brian1997-12-211-2/+26
|
* 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