summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add a FILES section which references /etc/groupdes1998-05-311-1/+3
| | | | Suggested by: Masafumi NAKANE <max@wide.ad.jp>
* Inherit BINDIR, don't set it here.bde1998-05-311-2/+4
|
* Fixed double slashes in pathnames.bde1998-05-311-2/+2
|
* o If there's a session leader left running for a descriptorbrian1998-05-297-16/+43
| | | | | | | | | | | 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').
* Some documentation corrections & typo fixes....brian1998-05-297-180/+217
|
* o Make modes consistent throughout ppp. The same strings are usedbrian1998-05-297-98/+90
| | | | | | | | | | | | | | | in `set mode', `allow modes', on the command line and when outputting mode names. The strings are matched so that only enough characters to uniquely identify the string are required, so you can now ppp -a mylabel (for auto mode) ppp -b mylabel (for background mode) ppp -dd mylabel (for direct dial mode) etc. o Make -ddial dial when specified on the command line (oops). Pointed out by: Alex <garbanzo@hooked.net>
* srandomdev() isn't available in all 2.* versions. Onlybrian1998-05-291-2/+2
| | | | use it for version 3 (-current) & up.
* o #define the name "tun" in defs.h against the future possibilitybrian1998-05-287-117/+170
| | | | | | | | | | | | | | | | | | | | | | of supporting architectures with different device names. o Close /dev/tunX when destroying the bundle. o Don't forget to close the parent end of the pipe in the child process when exec'ing a program from a chat script. o If we close our controlling terminal, ditch the current session with it, allowing getty(8) (or whatever) to regain control. o After transferring our controlling terminal descriptor to another ppp instance, we now fork a new ppp to continue where we left off, transferring ownership of all uucp locks and the /var/run/tunX.pid file. Meanwhile the parent closes all file descriptors, defaults all signals and does a pause() to wait for a HUP after the transferred descriptor is finally closed. We don't run /bin/cat any more (again!). Suggested by: bde TODO: It seems clocal devices need their pause()d session leader to be given a manual HUP, as closing the last open descriptor doesn't do the job.
* o Don't forget to close our transfer socket if we cannotbrian1998-05-287-19/+50
| | | | | | | 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.
* Use AF_LINK rather than AF_UNSPEC to set an ethernet multicast address.julian1998-05-281-14/+33
| | | | | | | | This is obviously not a terribly used function as it's apparently been broken forever. It IS possible that this fix is wrong and that the KERNEL is wrong (in which case you should fix if_ethersubr.c) either way it certainly has more hope of working now than before. I'd take it to 2.2 except that obviously no-one cares :-)
* Don't assume stdout is a tty in interactive modebrian1998-05-272-18/+26
| | | | Analyzed by: dmaddox@scsn.net (Donald J. Maddox)
* Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage().des1998-05-272-15/+12
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* ELF preparation step 2:sos1998-05-261-2/+1
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* o Only do the /bin/cat bit when we're transferring our ctty.brian1998-05-252-5/+5
|
* Give correct times with old wtmp files.steve1998-05-251-2/+3
| | | | | PR: 4732 Submitted by: Andrew Timonin <tim@pool1.convey.ru>
* o Don't try to transfer tty device descriptors as there's no way ofbrian1998-05-255-32/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | transferring session rights with them. Instead, create two `/bin/cat' processes. A new child is spawned and disassociated from the terminal and the parent, which continues with the rest of the ppp process. Meanwhile, the parent spawns another child, and both the parent and child exec the `/bin/cat' commands with the appropriate descriptors. This way, the session is owned by the parent, and the tty is held open. o Close LCPs that have done a TLF and are now in ST_STOPPED before calling Down. This prevents them from trying to come back up again after the peer has shut them down (it seems a bit strange that the rfc says that a Down in ST_STOPPED will cause a TLS etc). o Don't try to set the physical link name pointer when we're receiving and renaming a datalink. The physical hasn't been created yet, and as it happens, the garbage physical pointer happens to be the value of another physical - so we're pointing that other physical name at ourselves. yeuck. o Re-arrange the order of things in main (DoLoop()). We now handle signals only after the select and not before the UpdateSet. It's possible that either a signal (FSM timeout) or a descriptor_Read() brings a link down, after which we'd better tidy up any dead direct and 1off descriptors before calling UpdateSet() again. o Mention when we detect a PPP packet when we see one before the link is up (then start LCP as before).
* Merge updates from 2.2jkh1998-05-248-26/+28
|
* Sync documentation with 2.2 updates.jkh1998-05-246-15/+12
|
* Fix Anders Email address.steve1998-05-241-1/+1
|
* Add a fuller-featured Norwegian keycap entry.steve1998-05-241-6/+23
| | | | | PR: 6173 Submitted by: Anders Nordby <nickerne@nome.no>
* Add chkgrp, a small utility for checking for syntax errors in groupdes1998-05-243-0/+220
| | | | | | | files. PR: bin/1387 Suggested-by: Giles Lean <giles@nemeton.com
* Add chkgrpdes1998-05-241-3/+3
|
* Loosely document the '-s' commandline option.steve1998-05-241-1/+7
| | | | PR: 6713
* Add 'newsyslog.conf' to the list of files to not clobbersteve1998-05-241-1/+2
| | | | | | during the upgrade process. PR: 6629
* Show the link mode in `show links'.brian1998-05-231-3/+4
|
* Oops - patch failed in last commit ????brian1998-05-231-7/+1
|
* o Move our prompt descriptor list outside of the bundle.brian1998-05-2315-239/+222
| | | | | | | | | | | | | | | | | | | | It's now dealt with by the `server' object. This simplifies things as we only have one list of prompt descriptors and the log_ routines check prompt::logactive to determine whether it should be used for output. o Include the MP socket UpdateSet() result in bundle::UpdateSet(). o Don't select on the tun device unless we're in NETWORK phase or AUTO mode. o Stop the idle timer when we go to DEAD phase. We may have transferred a link and not had a chance to kill it. o Don't fail when trying to unlink our transferred datalink from our descriptor lists just before the transfer. o Add our link descriptor to the write set if we got a short write the last time (physical::out is set). o Log the connection source address when a connection is closed. o Remove descriptor::next field. Descriptor lists are not required any more.
* o Make sure we adjust our min seq and process any outstanding queuedbrian1998-05-234-12/+46
| | | | | | | | incoming fragments when a link goes down. o Don't use the minimum sequence numbers of links that aren't open. o Understand sequence number wrapping when determining the minimum sequence number. o Add & adjust a few comments.
* o If all CCPs are disabled & denied, don't send a REQ - just enterbrian1998-05-234-5/+21
| | | | STOPPED state waiting for the peer to say something.
* Don't give .It too many args.brian1998-05-212-4/+4
|
* Remove -Wpointer-arithbrian1998-05-211-2/+2
|
* o Add some missing #includesbrian1998-05-212-2/+6
| | | | o Calculate base device name correctly.
* MFMP: Make ppp multilink capable.brian1998-05-2195-9201/+16517
| | | | See the file README.changes, and re-read the man page.
* Close forgotten descriptor.brian1998-05-191-1/+4
| | | | | PR: 6690 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* Treat RTP_PRIO_FIFO the same as RTP_PRIO_REALTIME for status display.dufault1998-05-191-1/+2
|
* Remove a bogus dependency on the size of the inkernel msgbuf.phk1998-05-191-4/+3
| | | | | | | | | This change is likely to introduce a few linebreaks in the boot messages, but that is not easy to solve without breaking syslogd semantics. Maybe the right fix is to return an integral number of lines from the kernel driver. Noticed by: dg
* replaced check_rcpt ruleset with onejmb1998-05-171-13/+26
| | | | | recommended by Gary Palmer <gpalmer@freebsd.org> Obtained from: http://www.informatik.uni-kiel.de/%7Eca/email/check.html#check_rcpt
* Small typo in T/TCP patch ("speicfy" -> "specify").pb1998-05-151-2/+2
|
* On request of Garrett, ad a way to specify that a service should beguido1998-05-142-3/+20
| | | | | reachable via T/TCP Reviewed by: Garrett Wollman
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTphk1998-05-132-4/+4
| | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* The printf type checking in gcc wants %qd to be a long long, so addjb1998-05-131-2/+2
| | | | a cast in case off_t is not a long long (as on alpha).
* Make -Werror i386 specific because -nostinc on alpha spits warningsjb1998-05-133-6/+17
| | | | for unused static inline functions in header files.
* Fixed gross errors in previous commit. `sapipe' was used uninitializedbde1998-05-111-7/+11
| | | | | | | | | | to attempt to unblock SIGCHLD, but we actually want to unignore SIGPIPE. Obtained from: OpenBSD Finished conversion from sigvec to sigaction (don't assume that sa_mask is a scalar...). Didn't convert from sigblock to sigprocmask. Didn't fix missing error checking for sigaction...
* Make Mitsumi and Sony CDROM devs also use the `a' device. I thinkjkh1998-05-112-6/+6
| | | | | they'll have (or are having) similar problems to those described for the matcd device in PR#6576
* It was incorrect to use the `c' device for the matcd driver;jkh1998-05-112-4/+4
| | | | | | | | | | apparently, unlike the IDE or SCSI CDROM drivers, this is magically special-cased for audio CDs. This also might explain what happened with scd (Sony) CDs also since I made the same change there. A follow-up commit will fix that. Thanks, Dave! PR: 6576 Submitted by: Dave Marquardt <marquard@zilker.net>
* 1) kill -HUP syslog, even if compressing supposedly "binary" fileshoek1998-05-101-12/+16
| | | | | | | | | PR: docs/6385 2) -n (noaction) does not imply -r (run as non-root), since as of Rev. 1.12 (ache), -r changes actual behaviour. 3) missing \n from if(noaction) messages.
* Arg! Someone fixed the synopsis in -stable's newsyslog.8, but nothoek1998-05-102-4/+4
| | | | | in -current. However, they fixed both the ordering and the missing -F flag. Merge from 22 and fix ordering here, too.
* Fix the usage here, too (-F option).hoek1998-05-101-3/+3
| | | | Typo fix in comment ("Force the tim now matter what" s/tim/trim/)
* 1) Remove a line that somehow strayed from the one true path ofhoek1998-05-101-3/+2
| | | | | its sentence. 2) Fix usage (-F option).
* Removed bogus dependencies of generated .c files on generated headers.bde1998-05-106-17/+17
|
OpenPOWER on IntegriCloud