summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Allow the path for /dev and the location of the database file toiedowse2001-11-182-14/+33
| | | | | | | | | be overridden on the command line. This is useful for setting up chroot/jail environments. PR: bin/23509 Submitted by: Seth Kingsley <sethk@pike.osd.bsdi.com> MFC after: 1 week
* o Allow rarpd to accept an additional '-t directory' argument, specifyingrwatson2001-11-162-1/+17
| | | | | | | | | an alternative to /tftpboot. This is useful it you're using tftpd with an alternative root (using -s), and would like rarpd to respond selectively to RARP requests using the same criteria as tftp. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* o Reflect moving of extattr_namespace calls to libc from libutil; norwatson2001-11-163-9/+0
| | | | | | | longer need to link libutil into command-line extended attribute utilities. Obtained from: TrustedBSD Project
* o Update copyright dates, comments...rwatson2001-11-152-3/+11
| | | | Obtained from: TrustedBSD Project
* o extattrctl initattr, when pre-allocating store for extended attributes,rwatson2001-11-151-4/+4
| | | | | | | | | | | | computed a a chunksize that didn't include the extended attribute header. This was a non-fatal error, in that it was just writing out zeros anyway, but did have the effect of not pre-allocating the right amount of disk space. This fix calculates chunksize to include the attribute header. Submitted by: Dale Rahn Sponsored by: DARPA, UPenn POSSE Project Obtained from: OpenBSD
* Improve recently committed fix for -t bug.sobomax2001-11-151-1/+1
| | | | | Submitted by: "Andrew L. Neporada" <andr@dgap.mipt.ru> MFC after: 3 days
* Fix the type of the NULL arg to execl().obrien2001-11-141-1/+1
|
* If the mask length is zero, there is no need to convert it to aps2001-11-141-1/+4
| | | | | | | | netmask. PR: 31947 Submitted by: Aaron Scarisbrick <aaronsca@hotmail.com> MFC after: 1 week
* Turn on NO_WERROR and set WARNS to 1.alfred2001-11-135-20/+27
| | | | | | | | | | | | Fix the WARNS 1 warnings except unused variables. Add prototype for log_netobj(). Don't compare signed/unsigned. Cast u_int64_t to 'unsigned long long' and print using %llu. Fix constness of string arrays. Use a cast to avoid an unused parameter in a signal handler. alarm(2) can't fail, so don't check for it. ANSI'ify some functions.
* 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
OpenPOWER on IntegriCloud