summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* fix parameters to lock_answer().alfred2001-11-121-1/+1
| | | | Submitted by: Timo Geusch <freebsd@unix-consult.com>
* Fixup for WARNS.alfred2001-11-121-6/+9
|
* Drop privs while servicing kernel lock requests.alfred2001-11-111-7/+17
| | | | | | Restore umask used before FIFO creation. If opening the FIFO fails, exit. Properly check the return value of open (use == -1 instead of < 0).
* leverage fixed fifo implementation (rev 1.56 ofalfred2001-11-081-8/+3
| | | | | | | | | | src/sys/fs/fifofs/fifo_vnops.c) to serve locks better, my previous workaround for lack of decent fifo system wasn't cutting it, particularly the kernel would send a message down the fifo and immediately close it, this would lead to delayed unlock requests being seen by the lockd causing all sorts of badness. Basically, don't reopen the fifo, just select(2) on it.
* use syslog rather than printf so we can see what's going on in debug modealfred2001-11-081-4/+4
|
* style fixes, fix line wrap and function declarationalfred2001-11-081-6/+5
|
* o When "-n" is used with watch, it disables the use of <control-X> torwatson2001-11-072-6/+8
| | | | | | change terminals being watched. This change makes watch pass the <control-X> through to the terminal if it's not being intercepted-- previously, the keypress would simply be dropped.
* Remove unused variablesbrian2001-11-041-5/+2
|
* Exclude pppctl on ia64 due to libc_r. I had been building withpeter2001-11-041-1/+1
| | | | -DNOLIBC_R, but this is a little safer.
* Add a ``log'' command for logging specific information.brian2001-11-0313-44/+104
| | | | | | | | | | | | | | Add an ``UPTIME'' variable to indicate the bundle uptime. It's now possible to put something like this in ppp.linkdown for a server setup: MYADDR: log Session closing: User USER, address HISADDR, up UPTIME Fixed some memory leakage with commands that expand words. Made some functions static. Fixed a diagnostic bug (iface add .... SIOCDIFADDR)
* Call CCP protocol -1 ``none''brian2001-11-031-1/+4
|
* cmott@scientech.com -> cm@linktel.netbrian2001-11-033-4/+4
| | | | Requested by: Charless Mott <cmott@scientech.com>
* Always set unit number to -1 unless some other unit is specified inimp2001-11-021-0/+1
| | | | | | | | the config file. This fixes the breakage caused by the recent change in the behavior of device_add_child for ata (which shows soren's reservations were well founded). Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
* MFS: Stop reaping children. It makes evil things happen to the extractionjkh2001-11-012-0/+4
| | | | loop.
* Don't assume fixit media is only either a floppy disk or 2nd CDROM discbrian2001-10-292-12/+12
| | | | | Reviewed by: murray MFC after: 1 week
* Fix ctime(&int) due to change to lastlog->ll_timedillon2001-10-291-1/+2
|
* localtime() was being called with an int-pointer due to recent utmpdillon2001-10-291-2/+4
| | | | fixes.
* Do not assume that sizeof(tv_sec) is sizeof(time_t) - it will be, butdillon2001-10-281-4/+9
| | | | | it isn't yet because our tv_sec is currently a long (so 64 bit architectures are already broken to a degree).
* Fix int vs time_t, convert int to time_tdillon2001-10-281-2/+3
|
* Convert time_t to/from 32 bit representations for transmission overdillon2001-10-281-4/+6
| | | | a network and storage.
* Explicitly use int32_t for on-disk records for pw_change and pw_expire,peter2001-10-271-8/+11
| | | | | | since that is what we use now and this insulates us from any time_t tweaks here. We can define a record format that uses 64 bit times if/when we need to.
* mdoc(7) police:ru2001-10-261-38/+49
| | | | | | - Bump document date. - Remove hard sentence breaks. - Fix markup.
* Make `-b' option actually work as advertised.sobomax2001-10-251-0/+1
|
* Move the 'type' variable inside the block where it is actually used.jhb2001-10-232-6/+6
|
* Collect multi name handling.takawata2001-10-232-0/+4
| | | | Reported by : Stephan Kulow <coolo@caldera.de>
* Don't avoid setting a 0 second timer in datalink_StartDialTimer() bybrian2001-10-232-13/+11
| | | | | | | | | | | | | not setting any timer. Instead, set a 1 millisecond timer. This ensures that ppp will come out of it's select() call after losing carrier in -ddial mode with a reconnect period of 0 and going to ST_OPENING, rather than waiting indefinitely for some other event to wake ppp up. Bump the ppp version number to indicate the event. MFC after: 3 days
* ia64 support. Due to the bogus placement of some i4b includes, it ispeter2001-10-231-1/+1
| | | | | i386-only, even though it would work on all the isa-capable platforms. Change the NOI4B so that instead of excluding alpha, it only includes i386.
* ia64 support. Hide a.out support solely under i386. While alpha neverpeter2001-10-232-1/+8
| | | | | was released in a.out form, it does define the a.out data structures. The ia64 port does not.
* ia64 support: move pnpinfo to i386 and alpha sections for now. i386 haspeter2001-10-231-3/+7
| | | | | | | native inb/outb etc, and alpha has libio. ia64 doesn't have any yet. move pppctl to the NOLIBC_R section (libc_r is not possible on ia64 in its present form due to assumptions about setjmp/longjmp magic)
* Change the vnode list under the mount point from a LIST to a TAILQdillon2001-10-231-2/+2
| | | | | | in preparation for an implementation of limiting code for kern.maxvnodes. MFC after: 3 days
* Fix UserTerms disassembling. Now that dumped ASL can be compiled withiwasaki2001-10-2210-35/+266
| | | | | | | | | | | ports/devel/acpitools (iasl). - Merge AML parser to build ACPI namespace - Comment header info. out so that ASL compiler ignore them - Fix DSDT header size to be discarded when DSDT file is specified for input (acpidump and amldb) - Write DSDT header as well into DSDT file for output - Fix some trivial typo (Concatenate and SizeOf) - Remove DEBUG_FLAGS from Makefile (acpidump and amldb)
* This is __i386__-only, not !__alpha__. We never had userconfig onpeter2001-10-221-1/+1
| | | | anything but i386/pc98.
* Add a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnPhm2001-10-211-1/+2
| | | | | | | | card. Submitted by: Steve Looman Reviewed by: hm MFC after: 1 month
* Remove the ``-c 22'' option from newfs command line. Changes in newfs(8)roberto2001-10-202-2/+2
| | | | | | | | makes that obsolete. The jury^W-arch is still out about the block and fragment sizes so I'll that for later. Reminded by: obrien MFC after: 2 days
* Include the right i4b files for NetBSDbrian2001-10-191-0/+5
|
* Change rmskey() to rmopie() - we don't have skey anymoreache2001-10-191-6/+6
|
* Print [fddi] or [atm] tags for ARP addresses on interfaces of that type.mdodd2001-10-191-0/+6
|
* Add experimental support for sending keypad facility messages.hm2001-10-187-24/+172
| | | | MFC after: 2 months
* Fix AUTH callback negotiations.brian2001-10-181-2/+2
| | | | MFC after: 1 week
* When the peer fails to specify an MRU and a 1500 byte MRU is notbrian2001-10-182-4/+8
| | | | | | | | | | | | allowed either because of the transport or configuration, send a MRU NAK only once, then allow the negotiations to proceed. rfc1661 says that 1500 should always be allowed and rfc2516 says that 1492 is the maximum for PPPoE. This changes ppp so that it only weakly suggests 1492, then goes with the default (leaving the problem in the hands of the peer WRT how they set their MTU). MFC after: 1 week
* keypad facility information element: add keypad facility information decoding.hm2001-10-181-4/+12
| | | | MFC after: 1 month
* The interface index space may be sparsely populated (e.g. when anfenner2001-10-171-1/+5
| | | | | | | interface in the middle is if_detach()'d). Return (and handle) ENOENT when the ifmib(4) is accessed for a nonexistent interface. MFC after: 14 days
* When nfsd was started with only UDP servers, the master nfsd wouldiedowse2001-10-161-76/+106
| | | | | | | | | | | | | | | | | spin in a loop eating CPU time. This bug has existed since the TI-RPC import. The problem is that we should only enter the select loop if at least one TCP server was started. Fix this by having the master nfsd become a UDP server itself if there are no TCP servers. Also improve/correct the code for cleaning up slave nfsd processes and unregistering with rpcbind when the master nfsd exits. One issue that remains open is that if a slave nfsd dies, then all nfsds will shut down. This is because nfssvc() in the master nfsd returns 0 when the master nfsd receives a SIGCHLD. Submitted by: tmm
* Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.sobomax2001-10-161-1/+1
| | | | MFC after: 2 weeks
* Increase the number of packages that can be installed by an order ofobrien2001-10-161-1/+1
| | | | | magnitude. Geez, this is Unix, what is with the arbitrary needless constants.
* Fix "off by 1" error introduced in the previous commit by replacing strncpy(3)sobomax2001-10-162-2/+2
| | | | | | with strlcpy(3). MFC after: 2 weeks
* Use strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer.sobomax2001-10-152-2/+2
| | | | | Prompted by: dd MFC after: 2 weeks
* The user wants to ensure, not insure, that the package isn't going todd2001-10-151-1/+1
| | | | damage their system.
* Implement partial-file NFS lock testing.alfred2001-10-143-13/+139
| | | | Submitted by: "Andrew P. Lentvorski" <andrewl@io.com>
* Add the ability to load klds from a floppy as part of the installation.jkh2001-10-125-0/+142
| | | | | Submitted by: "Daniel O'Connor" <doconnor@gsoft.com.au> MFC after: 2 weeks
OpenPOWER on IntegriCloud