summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* DTRT in the restart casejkh2001-10-1210-6/+16
|
* Write a real man page.des2001-10-122-26/+95
|
* Make `-t' flag in pkg_*(1) tools actually working.sobomax2001-10-111-1/+2
| | | | | | PR: 30843 Submitted by: Vladimir B. Grebenschikov <vova@express.ru> MFC after: 2 weeks
* - Introduce a notion of `packing list format version'. This allows makingsobomax2001-10-1011-17/+146
| | | | | | | | | | | | | | | | | | non-backward compatible changes in the format of packing list and handle them gracefully; - fix a longstanding issue with symlinks handling. Instead of recording checksum for the file symlink points to, record checksum for the value returned by readlink(2). For backward compatibility increase packing list format minor version number and provide a fallback to a previous behaviour, if package in question was created with older version of pkg_* tools; Submitted by: Alec Wolman <wolman@cs.washington.edu>, sobomax - don't record MD5 checksum for device nodes, fifo's and other non-regular files. Submitted by: nbm MFC in: 2 weeks
* WARNS=2 cleanup.sobomax2001-10-1027-175/+184
| | | | | Tested on: i386, alpha MFC after: 2 weeks
* Fix one more compile-time warning by renaming a local variable.gad2001-10-091-3/+3
| | | | MFC after: 4 days
* Fix a compile-time warning by declaring 'len' as size_t instead of int.gad2001-10-091-1/+1
| | | | MFC after: 4 days
* Rename the local variable 'person' to 'lpr_username', to avoid compile-timegad2001-10-091-9/+9
| | | | | | warnings about conflict with a global variable used by 'lprm'. MFC after: 4 days
* Get rid of some minor compile-time errors by changing copyright/rcsidgad2001-10-091-3/+6
| | | | | | | definitions to the same format used in other lpr source files, and by adding parenthesis to the right spot in one 'if' statement. MFC after: 4 days
* Fix minor compile-time error in definition of 'copyright'.gad2001-10-091-1/+1
| | | | MFC after: 4 days
* Fix minor compile-time warning that snunk in with changes to sortq() rtn.gad2001-10-091-0/+1
| | | | MFC after: 4 days
* OOPS, delete some commented out debugging code committed along with r.1.25.sobomax2001-10-081-1/+0
| | | | MFC after: 2 weeks
OpenPOWER on IntegriCloud