summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Don't always link statically with libwrap. By the time amd(8)ru2008-03-291-1/+1
| | | | | | runs, /usr/lib should have already been mounted. Found by: make checkdpadd
* Add missing library dependency.ru2008-03-291-0/+1
|
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-292-3/+3
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* Remove the '-k' option.dfr2008-03-271-1/+1
|
* Add kernel module support for nfslockd and krpc. Use the module systemdfr2008-03-272-11/+14
| | | | | | | to detect (or load) kernel NLM support in rpc.lockd. Remove the '-k' option to rpc.lockd and make kernel NLM the default. A user can still force the use of the old user NLM by building a kernel without NFSLOCKD and/or removing the nfslockd.ko module.
* Add the new kernel-mode NFS Lock Manager. To use it instead of thedfr2008-03-266-17/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user-mode lock manager, build a kernel with the NFSLOCKD option and add '-k' to 'rpc_lockd_flags' in rc.conf. Highlights include: * Thread-safe kernel RPC client - many threads can use the same RPC client handle safely with replies being de-multiplexed at the socket upcall (typically driven directly by the NIC interrupt) and handed off to whichever thread matches the reply. For UDP sockets, many RPC clients can share the same socket. This allows the use of a single privileged UDP port number to talk to an arbitrary number of remote hosts. * Single-threaded kernel RPC server. Adding support for multi-threaded server would be relatively straightforward and would follow approximately the Solaris KPI. A single thread should be sufficient for the NLM since it should rarely block in normal operation. * Kernel mode NLM server supporting cancel requests and granted callbacks. I've tested the NLM server reasonably extensively - it passes both my own tests and the NFS Connectathon locking tests running on Solaris, Mac OS X and Ubuntu Linux. * Userland NLM client supported. While the NLM server doesn't have support for the local NFS client's locking needs, it does have to field async replies and granted callbacks from remote NLMs that the local client has contacted. We relay these replies to the userland rpc.lockd over a local domain RPC socket. * Robust deadlock detection for the local lock manager. In particular it will detect deadlocks caused by a lock request that covers more than one blocking request. As required by the NLM protocol, all deadlock detection happens synchronously - a user is guaranteed that if a lock request isn't rejected immediately, the lock will eventually be granted. The old system allowed for a 'deferred deadlock' condition where a blocked lock request could wake up and find that some other deadlock-causing lock owner had beaten them to the lock. * Since both local and remote locks are managed by the same kernel locking code, local and remote processes can safely use file locks for mutual exclusion. Local processes have no fairness advantage compared to remote processes when contending to lock a region that has just been unlocked - the local lock manager enforces a strict first-come first-served model for both local and remote lockers. Sponsored by: Isilon Systems PR: 95247 107555 115524 116679 MFC after: 2 weeks
* Adjust recognize-shared-libraries regex to avoid matching symlinks tocperciva2008-03-251-14/+14
| | | | | | | | | | | | | | | | | | | shared libraries. This fixes a problem which resulted in 6.x->7.x upgrades having the /usr/lib/libpthread.so -> libthr.so symlink missing; what happened was that the old libpthread.so symlink pointed to /lib/libpthread.so.2 -- which matched the "/lib/*\.so\.[0-9]+" regex -- but the new symlink didn't, so FreeBSD Update got confused and deleted the symlink as part of its "remove old shared libraries" step. To recreate the symlink (which I understand is necessary for ports like KDE to build) on a 7.x system which FreeBSD Update upgraded from 6.x: # ln -s libthr.so /usr/lib/libpthread.so Reported by: Dmitry RCL Rekman Help diagnosing bug from: kris MFC after: 7 days
* Spell "blackhole" correctly and fix one grammar nit.ru2008-03-241-4/+4
|
* enable syslog support and add -s option to the man pagesam2008-03-242-2/+7
| | | | MFC after: 3 weeks
* When updating the install list for files which have had local changescperciva2008-03-231-2/+2
| | | | | | | | merged with upgrade changes, don't try to compute the SHA256 hash of files which don't exist. Reported by: Jaakko Heinonen MFC after: 1 week
* Fix two bugs introduced in conversion to FreeBSD source tree:phk2008-03-192-5/+4
| | | | | Off by one error in length calcuation of string records. Don't attempt to free stack variable.
* Add mandatory "security description" SDP parameter to the PANU profileemax2008-03-191-0/+15
| | | | | Pointed-out by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days
* add reject+blackhole keywords to install entries with RTF_BLACKHOLEsam2008-03-182-4/+23
| | | | | | | | and RTF_REJECT, respectively PR: bin/79228 Submitted by: Dan Lukes <dan@obluda.cz> MFC after: 2 weeks
* Add PSM and Load Factor SDP parameters to the BNEP based profilesemax2008-03-186-15/+110
| | | | | | | | | | | (NAP, GN and PANU). No reason to not to support them. Separate SDP parameters data structures for the BNEP based profiles. Generalize Service Availability SDP parameter creation. Requested by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days
* Remove trailing ';' on macros.phk2008-03-161-2/+2
| | | | Spotted by: antoine
* In the description of the password field, -w was meant, not thebrueffer2008-03-161-2/+2
| | | | | | | | nonexistant -p flag. PR: 120122 Submitted by: Andy Kosela <andy.kosela@gmail.com> MFC after: 3 days
* mixer(8) is WARNS=6 clean since 1.25.jkim2008-03-161-1/+1
| | | | Tested with: 'make universe'
* Fix a typo.jkim2008-03-151-1/+1
|
* Clean up code and fix style(9) nits.jkim2008-03-151-100/+102
|
* Update list of possible mixer devices. These devices were added tojkim2008-03-151-2/+3
| | | | soundcard.h more than ten years ago.
* - Check device masks and bypass printing headers if capable device doesjkim2008-03-151-48/+73
| | | | | | | | | | not exist. /etc/rc.d/mixer tried to restore non-existent recording source because /var/var/db/mixer*-state contains '=rec' for example. - Remove hardcoded mixer2 and mixer3 and do the right thing. - Replace getopt(3) with hand-rolled option parser. It was not able to handle 'mixer -rec mic' although it is a valid command. - Make '-s' and '-S' mutualy exclusive as mixer(8) says. - Do not re-read recording source unless it has been modified.
* Update usage() - add new -D option. While I'm here, update copyrightemax2008-03-141-2/+5
| | | | | | information and license formatting MFC after: 1 day
* Update to the "new" libalias API (and thus fix world breakage).piso2008-03-124-23/+30
|
* Add support for the NAP, GN and PANU profiles to the sdpd(8).emax2008-03-116-6/+562
| | | | | | | It should be mentioned that a somewhat similar patch was submitted by Rako < rako29 at gmail dot com > MFC after: 1 week
* Hook fifolog tools up to the build.phk2008-03-101-0/+1
| | | | To the extent make universe works, it hasn't found any fault with this.
* Add the fifolog tools to FreeBSD.phk2008-03-0921-0/+3132
| | | | | | | | | | Quoth the man-page: Fifologs provide a compact round-robin circular storage for recording text and binary information to permanent storage in a bounded and pre- dictable fashion, time and space wise. Not yet connected to the build, but feel free to test & review.
* Use intmax_t instead of long when casting time_t.jkim2008-03-071-3/+4
| | | | | Suggested by: mlaier Tested with: make universe
* The breakage from increased warns has been fixed, back out my back outimp2008-03-061-1/+1
|
* Cast time_t to long to mute tinderbox build failure.jkim2008-03-061-2/+2
|
* This breaks the arm build, back it out until that's fixedimp2008-03-061-1/+1
|
* Add an option to register DUN (Dial-Up Networking) service on the sameemax2008-03-062-3/+43
| | | | | | | RFCOMM channel if needed. There is really no good reason to not to support this. AT-command exchange can be faked with chat script in ppp.conf. MFC after: 1 week
* Mark moused(8) WARNS=6 clean.jkim2008-03-061-0/+2
|
* Fix compiler warnings and style(9) bugs.jkim2008-03-061-192/+201
|
* Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST.jkim2008-03-061-63/+82
| | | | It is only used to track elapsed time and it does not have to be precise.
* Remove hacks which filter out MNT_ROOTFS.rodrigc2008-03-051-15/+1
| | | | | | | They are no longer needed now that we filter out MNT_ROOTFS inside the nmount() call in revision 1.267 of vfs_mount.c. Reviewed by: rink
* - add '-f' option to force root node.simokawa2008-03-052-8/+23
| | | | | | | | - fix byte order in read_write_quad() - show hostnames in the list - fix typo in manpage MFC after: 1 week
* Sync list of directories to look for packages in to current releaseskensmith2008-02-261-1/+3
| | | | | | available. MFC after: 3 days
* Add the groupmod '-d' option to pw to allow the deletion of existing usersscf2008-02-233-16/+92
| | | | | | | | | | from a group without the need to perform the same operation by replacing the existing list via the '-M' option. The '-M' option requires someone to fetch the existing members with pw, deleting the undesired members from the list and sending the altered list back to pw. Approved by: wes (mentor) MFC after: 5 days
* style(9) (verified no object changes)scf2008-02-232-3/+2
| | | | | Approved by: wes (mentor) MFC after: 5 days
* Fix 'make checkdpadd'.jkoshy2008-02-221-1/+1
|
* Add some missing Xrefs to drivers.brueffer2008-02-211-1/+5
| | | | MFC after: 3 days
* Ensure that the -s flag truncates the accounting data.grog2008-02-211-1/+1
| | | | | | | | This problem has only been reported on the amd64 platform. PR: bin/120293 Tested by: Callum Gibson MFC after: 2 weeks
* Add AS lookup functionality. On each hop we query a whois server torpaulo2008-02-201-1/+1
| | | | | | | | | | find the corresponding AS for that IP (-a switch). We can also choose a different whois server with the -A switch. The default is whois.radb.net. Obtained from: NetBSD Reviewed by: bms, njl (mentor) Approved by: njl (mentor)
* Two no-op fixes to improve corretness of syslogd code:dwmalone2008-02-201-3/+4
| | | | | | | | | | | 1) Use [AP]F_LOCAL rather than [AP]F_UNIX. 2) When copying a pipe's name, use f->f_un.f_pipe.f_pname, not f->f_un.f_fname. PR: 20889 Submitted by: Damieon Stark PR: 116642 Submitted by: Jim Pirzyk Reviewed by: md5
* getopt(3) returns -1, not EOF.ru2008-02-192-2/+2
|
* getopt(3) returns -1, not EOF.kevlo2008-02-181-1/+1
|
* No network addresses in the system isn't a good excuseyar2008-02-141-4/+4
| | | | | | | | | for rpcbind(8) to crash. The crash was due to a boolean variable initialized improperly. Besides fixing the initialization, pick a better name for the variable so that its meaning is clear and no more coding errors appear around it.
* Improve conformance to the HTTP specification by using case-insensitivecperciva2008-02-131-6/+6
| | | | | | | | comparisons for header keywords. Apparently some proxies use creative capitalization. Weird proxy found by: brooks MFC after: 3 days
* Typo fix.remko2008-02-111-2/+2
| | | | Spotted by: brueffer
* Give traceroute6 the ability to traceroute with packets with nodwmalone2008-02-102-48/+111
| | | | | | upper layer header (IP PROTO = 59). Useful for testing firewalls. MFC after: 2 months
OpenPOWER on IntegriCloud