summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* MFV of tzcode2009h revision r192887edwin2009-05-275-6/+19
| | | | | | - Clarify the license for the tzcode: public domain MFC after: 1 month
* Add two new utilities and two new daemons to /usr/src/usr.sbin thatrmacklem2009-05-2613-0/+1813
| | | | | | | | | | | | are specifically used by the experimental nfsv4 subsystem. nfscbd - The NFSv4 client callback daemon. nfsuserd - The NFSv4 daemon that maps between user and group name and their corresponding uid/gid numbers. nfsdumpstate - A utility that dumps out the NFSv4 Open/Lock state. nfsrevoke - Administratively revokes an NFSv4 client, releasing all NFSv4 Open/Lock state it holds on the server. Approved by: kib (mentor)
* Fix a race that can stall the timer when we remove a timer that has anotherbrian2009-05-261-14/+23
| | | | | | | | | | | timer with a <0.05 second delta next to it. This is done by avoiding the possibility of updating the first residual time delta in the timer list to zero. PR: 102747 Submitted by: Sergey Zaharchenko - doublef-ctm at yandex dot ru MFC after: 3 weeks
* Modify nfsd.c to add support for the experimental nfs server.rmacklem2009-05-245-29/+544
| | | | | | | | | | | | This includes the addition of a new flag "-4" that will force use of the experimental server with nfsv4 support in it. This commit also adds two new man pages to the repository that are NFSv4 specific. One describes the file used by the server to restart nfsv4 services safely. The other is a brief overview of nfsv4 and its setup. Reviewed by: dfr Approved by: kib (mentor)
* MFV of tzcode2009e:edwin2009-05-2312-1439/+1495
| | | | | | | | | | | | | | | | | | | | | | | | | Upgrade of the tzcode from 2004a to 2009e. Changes are numerous, but include... - New format of the output of zic, which supports both 32 and 64 bit time_t formats. - zdump on 64 bit platforms will actually produce some output instead of doing nothing for a looooooooong time. - linux_base-fX, with X >= at least 8, will work without problems related to the local time again. The original patch, based on the 2008e, has been running for a long time on both my laptop and desktop machine and have been tested by other people. After the installation of this code and the running of zic(8), you need to run tzsetup(8) again to install the new datafile. Approved by: wollman@ for usr.sbin/zic MFC after: 1 month
* Use calloc().delphij2009-05-211-7/+4
|
* Verify that the username length is smaller than MAXLOGNAME whenbrian2009-05-201-1/+5
| | | | | | | | | | | | | | | | asked to verify a passwd file (pwd_mkdb -C). Entries with oversized usernames are still permitted when building the passwd database. When entries are >= MAXLOGNAME in length, they are correctly stored in passwd, pwd.db and spwd.db but are only correctly retrieved by getpwent*() and getpwuid*(). getpwnam*() truncates to MAXLOGNAME - 1 when reading from a file (breaking at least sh, tcsh and bash) and utilities such as su(1) check, complain and fail if the passed name is >= MAXLOGNAME in length. MFC after: 3 weeks
* Skip @pkgdep if there's no argument.flz2009-05-192-1/+5
| | | | | Submitted by: pav MFC after: 1 week
* Teach btpand(8) to recognized Bluetooth device node names.emax2009-05-181-1/+1
| | | | | Tested by: Daniel O'Connor <doconnor -at- gsoft -dot- com -dot- au> MFC after: 3 days
* add zfs oid to bsnmpdkmacy2009-05-171-0/+1
| | | | | PR: bin/129360 Submitted by: Ulrich Spoerlein
* Enhance the safety of the -U option:dougb2009-05-161-9/+13
| | | | | | | | | | | | | | 1. In several places make sure that the mtree database is not empty using the -s argument to test instead of -f. (I thought I'd already changed this, but obviously not.) 2. When deriving the list of changed files use a colon-delimited list. 3. If the list of changed files is empty, unset the variable, and test for a non-empty CHANGED in diff_loop() before entering that routine. Enhance the speed of the -U option by using an internal case statement instead of echoing the variable to an external grep for every file. Fix indentation on one line.
* Add -L to the mtree invocation to chase symbolic links that are presentdougb2009-05-161-1/+1
| | | | | | in "Service jails." Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
* Allow a comma-separated list of network interfaces to be specified via thecperciva2009-05-151-9/+16
| | | | | | | netDev option in install.cfg. Submitted by: randi MFC after: 1 week
* fix grammar...jmg2009-05-061-1/+1
| | | | Reviewed by: cperciva
* Bite the bullet, and make the IPv6 SSM and MLDv2 mega-commit:bms2009-04-291-0/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | import from p4 bms_netdev. Summary of changes: * Connect netinet6/in6_mcast.c to build. The legacy KAME KPIs are mostly preserved. * Eliminate now dead code from ip6_output.c. Don't do mbuf bingo, we are not going to do RFC 2292 style CMSG tricks for multicast options as they are not required by any current IPv6 normative reference. * Refactor transports (UDP, raw_ip6) to do own mcast filtering. SCTP, TCP unaffected by this change. * Add ip6_msource, in6_msource structs to in6_var.h. * Hookup mld_ifinfo state to in6_ifextra, allocate from domifattach path. * Eliminate IN6_LOOKUP_MULTI(), it is no longer referenced. Kernel consumers which need this should use in6m_lookup(). * Refactor IPv6 socket group memberships to use a vector (like IPv4). * Update ifmcstat(8) for IPv6 SSM. * Add witness lock order for IN6_MULTI_LOCK. * Move IN6_MULTI_LOCK out of lower ip6_output()/ip6_input() paths. * Introduce IP6STAT_ADD/SUB/INC/DEC as per rwatson's IPv4 cleanup. * Update carp(4) for new IPv6 SSM KPIs. * Virtualize ip6_mrouter socket. Changes mostly localized to IPv6 MROUTING. * Don't do a local group lookup in MROUTING. * Kill unused KAME prototypes in6_purgemkludge(), in6_restoremkludge(). * Preserve KAME DAD timer jitter behaviour in MLDv1 compatibility mode. * Bump __FreeBSD_version to 800084. * Update UPDATING. NOTE WELL: * This code hasn't been tested against real MLDv2 queriers (yet), although the on-wire protocol has been verified in Wireshark. * There are a few unresolved issues in the socket layer APIs to do with scope ID propagation. * There is a LOR present in ip6_output()'s use of in6_setscope() which needs to be resolved. See comments in mld6.c. This is believed to be benign and can't be avoided for the moment without re-introducing an indirect netisr. This work was mostly derived from the IGMPv3 implementation, and has been sponsored by a third party.
* With the permission of phk@ change the license on remaining jail codejamie2009-04-291-7/+24
| | | | | | | to a 2 clause BSD license. Approved by: phk Approved by: bz (mentor)
* Merge IPv6-capable mtest(8) from MLDv2 branch.bms2009-04-293-232/+683
|
* - xref ndp(8)danger2009-04-281-1/+2
| | | | | | PR: docs/134053 Submitted by: Bob Van Zant <bob@veznat.com> MFC after: 1 week
* - fix path for locale.aliasdanger2009-04-281-1/+1
| | | | | | PR: docs/134070 Submitted by: Frank Shute <frank@shute.org.uk> MFC after: 1 week
* Correct the information about when the respective functionality firstbrueffer2009-04-233-3/+3
| | | | | | | | appeared in FreeBSD. PR: 133785 Submitted by: Ulrich Spoerlein <uqs@spoerlein.net> MFC after: 3 days
* Add bm(4) to the built-in ethernet devices list.nwhitehorn2009-04-221-0/+1
|
* Conditionally add the interface name and address if availablebz2009-04-204-4/+14
| | | | | | | | | | so that a ppp running in `receiver' (server) mode can properly update routes, for example to update the MTU. Submitted by: loos.br gmail.com (Luiz Otavio O Souza) PR: bin/130159 PR: kern/125079, kern/122068, bin/126892 MFC after: 3 days
* While we currently still seem to have a gateway address, for futurebz2009-04-201-2/+5
| | | | | | | | | | | | | | stability, check for gw to be set before adding the flag and the address to the routing message. r186308, backed out in r191305, already tried to do that, and in addition ignore AF_LINK types of gateway addresses to work around a problem that r167797 had introduced on the kernel side always setting RTF_GATEWAY if a gateway address was passed into the kernel. The proper solution for this is still under discussion so I am hesitant to re-add the special AF_LINK treatment for now. MFC after: 3 days
* Back out r186308:bz2009-04-201-3/+1
| | | | | | | | | | | in case of AF_LINK, which the kernel still returns for an RTAX_GATEWAY as an empty sockaddr_dl in the classic tun<n> case. Copying the address into the message payload, but not the RTA_GATEWAY flag results in rt_xaddrs() in the kernel tripping over that and parsing the next attribute set with a flag, i.e. RTA_NETMASK, with the gateway address, resulting in bogus route entry. MFC after: 3 days
* Add docs category.blackend2009-04-191-0/+1
| | | | MFC after: 3 days
* Fix bug in event timeout handlingemax2009-04-171-5/+5
| | | | | Submitted by: mav MFC after: 3 days
* - Add a few more register defintions for the PCI express capabilityjhb2009-04-171-3/+26
| | | | | | | | | | registers. - Cleanup PCI-X capability printf to not leave a dangling "supports" for some PCI-X bridges. - Display additional PCI express details including the negotiated and max link width and the actual and maximum supported max payload. MFC after: 1 month
* Add an entry for the French macbook keyboard layout.roberto2009-04-171-0/+1
|
* Garbage collect raycontrol(8), as ray(4) has been removed.rwatson2009-04-164-806/+0
| | | | Pointed out by: pluknet at gmail.com
* Add release package directories for 6.4 and 7.2.kensmith2009-04-151-0/+2
|
* In case the peer address was already configured on the interfacebz2009-04-131-0/+1
| | | | | | | | | we were not properly handling proxy arp. Make sure we (try to) add the proxy arp entry/entries in this case as well. PR: bin/131250 Submitted by: loos.br gmail.com (Luiz Otavio O Souza) MFC after: 3 days
* Removed more vestiges of if_sl(4).ru2009-04-094-378/+0
|
* add uathload.8weongyo2009-04-082-1/+70
| | | | Reviewed by: brueffer
* block build of uathload on ia64 temporarily because binutils expectsweongyo2009-04-081-0/+2
| | | | | | machine-specific flags to match but ar5523.bin doesn't have. Pointed by: marcel
* Hook uathload up to the build. It's used for loading the firmware forweongyo2009-04-071-0/+2
| | | | uath(4).
* Add uath(4) to the list of supported network interface.weongyo2009-04-071-0/+1
|
* Remove if_ppp(4) and if_sl(4).ed2009-04-0543-23770/+0
| | | | | | | | | | | | | Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4). If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY. Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists.
* - Style: size_t can't be negative.ru2009-04-041-17/+11
| | | | | | | | | | | | | - Don't exit with a zero status code when no jails are configured on a system. - Style: simplify some code constructs. - If a single jail cannot be found, let the caller print a nicer diagnostic message. Reviewed by: bz MFC after: 3 days
* Fixed NAME section.ru2009-04-041-2/+2
|
* Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UXweongyo2009-04-042-0/+251
| | | | | | chipsets. Reviewed by: sam
* Set SO_NOSIGPIPE on sockets used by phttpget. Without this, ifcperciva2009-04-031-0/+6
| | | | | | | | | | | | | | (1) phttpget is attempting to download enough files that it can't send all the requests at once, and (2) the remote server forcibly closes the connection, resulting in RST packets being sent, phttpget will receive a SIGPIPE and terminate without downloading all of the files. This is probably responsible for a number of hard-to-reproduce errors with portsnap and freebsd-update. MFC after: 3 days
* Fix punctuation.trhodes2009-04-011-1/+1
| | | | | PR: 132834 Submitted by: "Alan R. S. Bueno" <alan.bsd@gmail.com>
* Don't tempt svn to expand the example $FreeBSD stringsdougb2009-03-232-4/+4
|
* Add new build targets for tcpdump 4.0.0.rpaulo2009-03-211-9/+12
|
* - 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
|
OpenPOWER on IntegriCloud