summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* - Sprinkle const.marius2009-03-191-19/+19
| | | | - Remove incorrect __unused.
* 1. Update for new -F option from r189992.dougb2009-03-181-22/+42
| | | | | | | | | | | 2. Sort the command line options to match how they are displayed in usage() 3. Change references to cvs to the more generic "version control system" and remove the .Xr for cvs 4. Consistently use ".Op Fl" to refer to command line options in the text. 5. Only use the apostrophe to indicate possession. 6. Add FREEBSD_ID (-F) to the list of variables in the example rc, and change the DIFF_OPTIONS example to -Bb since -F now covers it.
* Add a new -F option to automatically install files that differdougb2009-03-181-2/+19
| | | | only by version control Id strings
* Clear confirm password field first when adding new user.ganbold2009-03-181-0/+1
| | | | | | PR: i386/132580 Reported by: ilgiz <ilgiz at reid.ru> Approved by: kensmith
* Remove unused local. usbconfig(8) can now compile underdelphij2009-03-171-1/+0
| | | | WARNS=6.
* no need to for gnu89 any moresam2009-03-151-2/+0
|
* Fix build breakage due to the interplay between r189801 and r189824.das2009-03-141-0/+2
| | | | | | | In particular, vendor sources that aren't ready for gnu99 should still be compiled with gnu89. (Before r189824, these would have generated warnings if you tried to compile them in gnu99 mode, but the warnings went unheeded due to -Wno-error.)
* 1. Clean up usage() output a bit by grouping options that take an argumentdougb2009-03-131-4/+5
| | | | 2. Fix a comment to refer to the right loop
* When using the -D option:dougb2009-03-131-4/+4
| | | | | | | 1. The new mtree file should be created in the "host" system /tmp 2. The existing mtree file in the "host" system should not be deleted Submitted by: scf
* Add menus to read install.cfg from any disk device sysinstall can seegrog2009-03-136-22/+241
| | | | | | | | | | (eg USB key, CD) rather than just floppy. Handle \r\n line termination in a cfg file. Add keeprcconf variable. Submitted by: Daniel O'Connor
* o Turn the batch mode on if stdout is not tty.maxim2009-03-122-4/+12
| | | | | Submitted by: vsevolod MFC after: 1 week
* o Sync synopsis with reality. Remove BUG section -- there ismaxim2009-03-121-13/+1
| | | | a batch mode in gpart(8) now.
* Update the Chelsio driver to the latest bits from Chelsiognn2009-03-102-5/+78
| | | | | | | | | | | | Firmware upgraded to 7.1.0 (from 5.0.0). T3C EEPROM and SRAM added; Code to update eeprom/sram fixed. fl_empty and rx_fifo_ovfl counters can be observed via sysctl. Two new cxgbtool commands to get uP logic analyzer info and uP IOQs Synced up with Chelsio's "common code" (as of 03/03/09) Submitted by: Navdeep Parhar at Chelsio Reviewed by: gnn MFC after: 2 weeks
* Merge IGMPv3 and Source-Specific Multicast (SSM) to the FreeBSDbms2009-03-093-94/+365
| | | | | | | | | | | IPv4 stack. Diffs are minimized against p4. PCS has been used for some protocol verification, more widespread testing of recorded sources in Group-and-Source queries is needed. sizeof(struct igmpstat) has changed. __FreeBSD_version is bumped to 800070.
* Install libusb20.so.1 as libusb.so.1, there will be a followup commit to thethompsa2009-03-091-1/+1
| | | | | | | | | ports tree so that programs use libusb from the base by default. Thanks to Stanislav Sedov for sorting out the ports build. Bump __FreeBSD_version to 800069 Help and testing by: stas
* Make IPXrouted compile using Clang by using ANSI function declarations.ed2009-03-041-22/+10
| | | | | | | Because of integer promotion, Clang doesn't allow ANSI prototypes to be mixed with K&R declarations. Submitted by: Pawel Worach <pawel worach gmail com>
* Add printb.c utility file, but do not yet connect it to the build.bms2009-03-041-0/+64
|
* Add full SSM stack support to mtest(8) diagnostic tool.bms2009-03-041-115/+87
|
* Update mtest(8) manual page.bms2009-03-041-6/+45
|
* Write the MBR by using the bootcode verb of the gpart class.marcel2009-03-021-27/+22
| | | | | The "write MBR" verb is kept for backward compatibility, but the DIOCSMBR ioctl has been removed.
* uupdate for 0.6.8sam2009-03-021-2/+3
|
* update for 0.6.8sam2009-03-021-4/+2
|
* update for 0.6.8sam2009-03-021-2/+3
|
* update to 0.6.8sam2009-03-028-96/+107
| | | | Reviewed by: thompsa
* use ansi prototypessam2009-03-011-11/+4
| | | | Submitted by: Pawel Worach <pawel.worach@gmail.com>
* Change USB over to make_dev() for all device nodes, previously it hooked intothompsa2009-02-273-236/+7
| | | | | | | | | | | | | | | the devfs clone handler to open the (invisible) devices on the fly. The /dev entries are layed out as follows, /dev/usbctl = master device /dev/usb/0.1.0.5 = usb device, (<bus>.<dev>.<iface>.<endpoint>) /dev/ugen0.1 -> usb/0.1.0.0 = ugen link to ctrl endpoint This also removes the custom permissions model from USB. Bump __FreeBSD_version to 800066. Submitted by: rink (earlier version)
* Rename all symbols in libmp(3) to mp_*, just like Solaris.ed2009-02-262-20/+22
| | | | | | | | | | | | The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky
* Fix LLVM compiler errors related to K&R declarations with ANSI prototypes.ed2009-02-266-57/+25
| | | | Submitted by: Pawel Worach <pawel.worach@gmail.com>
* MFp4 //depot/projects/usb@157974thompsa2009-02-241-0/+33
| | | | | | | Add support for setting and getting the USB template value through libusb20 and usbconfig. Submitted by: Hans Petter Selasky
* Build fixups for the new USB stack.thompsa2009-02-231-0/+1
|
* Move usb to a graveyard location under sys/legacy/dev, it is intended that thethompsa2009-02-231-1/+1
| | | | | | | new USB2 stack will fully replace this for 8.0. Remove kernel modules, a subsequent commit will update conf/files. Unhook usbdevs from the build.
* Include string.h for strncpy prototypeimp2009-02-191-0/+2
| | | | Include strings.h for bcopy and bzero prototype
* Properly convert bit value to a bit field. Before we were storingimp2009-02-191-2/+2
| | | | | | | | | | values like 0x80 or 0x40 into a uint8_t foo:1 bitfield. This would result in the bit always being 0. One of these caused a warning for overflow (one that was 0x80), but the other didn't. They were both wrong. This is why I hate code that mixes c struct bitfields and #defines. The rest of the fields accessed by the program should be audited.
* yppasswdd assumed that a struct x_master_passwd is type punable to aimp2009-02-181-3/+21
| | | | | | | | | | | | | | | | struct passwd. This is not the case when sizeof(unsigned long) != sizeof(time_t). Write a dinky function to do the assignment instead of relying on the punning. This does slow things down a little (1 extra function call, 11 pointer or int assignments), but is much safer and machines have been fast enough since the mid 1990s that nobody will notice the difference. time_t is a 64-bits int on arm and mips. Before this change, arm was silently broken. I guess there aren't that many ARM machines running master YP domain servers. :) The client side doesn't assume this type punning, so it doesn't need to be fixed.
* Remove reference to phy_delay from fwcontrol. Thanks for the catch!sbruno2009-02-171-2/+1
| | | | | Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> MFC after: 2 weeks
* nitsbms2009-02-151-12/+12
|
* Blow away KAME MLDv2 hooks.bms2009-02-151-80/+0
| | | | | | This code can be gotten from change history here and it's more than likely our implementation will differ significantly because of VIMAGE and SMPng.
* Improve ifmcstat(8) and fix a few bugs while we're at it:bms2009-02-152-82/+188
| | | | | | | | | | | | | | | | | | * Retire the old 'ifmcstat <kernel>' usage. * Print AF_LINK records even if run against KVM. This makes the KVM backend consistent with the sysctl backend. * Suppress printing of link-layer group records by default. * Add a -v switch to allow link-layer groups to be printed. * If compiled without INET6 support, actually work. * If compiled with INET6 support, print the scope ID of all IPv6 addresses in both backends. * Update man page. * Update copyrights. With this change, it is now reasonable to retire netstat -g. Most of the SSM related gunk in this file will require later refactoring. MFC after: 2 weeks
* Fix a typo which caused ifmcstat's sysctl pathbms2009-02-151-1/+1
| | | | | | | | | to print the network-layer endpoint address of the group membership, rather than its link-layer mapping as intended. The KVM path is not affected. MFC after: 1 week
* Tune output to remove trailing space.mav2009-02-151-3/+3
| | | | Submitted by: Christoph Mallon
* Add SATA and PCI Advanced Features capabilities reporting.mav2009-02-151-0/+24
|
* Move sys/pccard/*.h here.imp2009-02-154-5/+487
|
* Remove unnecessary pccard/cardinfo.h include.imp2009-02-151-1/+0
|
* Remove vestiges of OLDCARD PC Card support. We haven't needed/usedimp2009-02-157-324/+0
| | | | this since 5.x.
* MFp4 //depot/projects/usb@157699thompsa2009-02-143-5/+30
| | | | | | | | | | | | | | | | Add two new functions to the libusb20 API and required kernel ioctls. - libusb20_dev_get_iface_desc - libusb20_dev_get_info New command to usbconfig, "show_ifdrv", which will print out the kernel driver attached to the given USB device aswell. See "man libusb20" for a detailed description. Some minor style corrections long-line wrapping. Submitted by: Hans Petter Selasky
* Sync comment with actual configuration format.delphij2009-02-131-2/+2
|
* Serialize write() calls on TTYs.ed2009-02-112-0/+10
| | | | | | | | | | | | | | | | | | | | Just like the old TTY layer, the current MPSAFE TTY layer does not make any attempt to serialize calls of write(). Data is copied into the kernel in 256 (TTY_STACKBUF) byte chunks. If a write() call occurs at the same time, the data may interleave. This is especially likely when the TTY starts blocking, because the output queue reaches the high watermark. I've implemented this by adding a new flag, TTY_BUSY_OUT, which is used to mark a TTY as having a thread stuck in write(). Because I don't want non-blocking processes to be possibly blocked by a sleeping thread, I'm still allowing it to bypass the protection. According to this message, the Linux kernel returns EAGAIN in such cases, but I think that's a little too restrictive: http://kerneltrap.org/index.php?q=mailarchive/linux-kernel/2007/5/2/85418/thread PR: kern/118287
* Move the comment to it's correct place.wkoszek2009-02-071-5/+5
|
* Remove leftover of alpha support for config(8)--we have MAP_FAILEDwkoszek2009-02-071-3/+0
| | | | globally defined.
* Make config -x <kernel> only return non-zero characters,wkoszek2009-02-061-2/+13
| | | | | | | | | | so that: config -x <kernel> | grep <something> just works. Reported by: Danny Braniss <danny@cs.huji.ac.il>
OpenPOWER on IntegriCloud