summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Sync usage screen with manpage.yar2005-10-071-7/+6
| | | | MFC after: 5 days
* Document the -d flag to mail(1) better, which comes handy whenyar2005-10-071-6/+15
| | | | | | | | | you want to see, e.g., sendmail arguments mail(1) will use. -H is not an independent flag, it's a modifier. Also explicitly say that -H will cause mail(1) to exit as soon as it prints the headers. MFC after: 5 days
* Adding myself to calendar.freebsdehaupt2005-10-061-0/+1
| | | | Approved by: novel (mentor)
* Un-break handling of -t 0 which was broken in my previous commit.csjp2005-10-051-5/+6
| | | | | | | | Add a flags argument to wait_for_lock so that O_NONBLOCK can be passed to open if a user doesn't want the open to sleep until the lock becomes available. Submitted by: Amir Shalem (partially modified)
* Fix long standing race condition associated with how lockf uses open(2)csjp2005-10-051-30/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | for mutual exclusion: A brief description of the problem: 1) Proc A picks up non-blocking lock on file X 2) Proc B attempts to pickup lock, fails then waits 3) Proc C attempts to pickup lock, fails then waits 4) Proc A releases lock 5) Proc B acquires lock, release it to pickup a non-blocking version 6) Proc C acquires lock, release it to pickup a non-blocking version 7) Both process B and C race each other to pickup lock again This occurs mainly because the processes do not keep the lock after they have been waiting on it. They drop it, attempt to re-acquire it. (They use the wait to notify when the lock has become available then race to pick it up). This results in additional CPU utilization during the race, and can also result in processes picking locks up out of order. This change attempts to correct this problem by eliminating the test/acquire race and having the operating system handle it. Reported by: kris Tested by: kris MFC after: 1 week
* A minor overhaul: added comments, split cmds in 2, changed synopsis.garys2005-09-301-105/+133
| | | | | | | | | | | | Split commands into two groups: one with optional count and one with required argument. Changed synopsis line accordingly. Added some hopefully-helpful comments based on experiments, knowing that not all hardware works the same. PR: docs/84101 Approved by: keramida MFC after: 3 days
* Oops, revert last commit (the manpage is still built in objdir).ru2005-09-281-1/+0
|
* Add NO_OBJ.ru2005-09-281-0/+1
|
* Remove bridge(4) from the tree. if_bridge(4) is a full functionalmlaier2005-09-274-51/+2
| | | | | | | | replacement and has additional features which make it superior. Discussed on: -arch Reviewed by: thompsa X-MFC-after: never (RELENG_6 as transition period)
* - Print space character in show_stat(). Remove a lot of priuntf(" ").glebius2005-09-271-37/+29
| | | | | - Utilize show_stat() in sidewaysintpr() loop. This makes periodic statistics to honor -h flag.
* Remove redundant `\&' escapes.ru2005-09-271-28/+28
|
* Fixup previous commit.ru2005-09-271-3/+2
|
* Please ship the pointy hat to its home position.phk2005-09-261-2/+0
|
* Update coordinates for "mph" hash generator now that it lives in ports.phk2005-09-261-1/+1
|
* Add a .sinclude directive which does the exact same as .include, exceptphk2005-09-264-20/+45
| | | | whine when the file cannot be found and opened.
* Fix -u with absolute paths (e.g., "tar -uf foo.tar /bar") by handlingkientzle2005-09-241-12/+12
| | | | | | pathname edits before comparing pathnames on disk to those in the archive. Thanks to: Gareth Bailey, Lowell Gilbert
* Detect Mac OS X's broken ACL library.kientzle2005-09-242-1/+8
| | | | Thanks to: Diego "Flameeyes" Petten?
* The function inplace_edit() doesn't exist anymore, remove the prototype.stefanf2005-09-241-1/+0
| | | | Submitted by: Leonardo Chiquitto Filho
* Add myself to FreeBSD calendarmnag2005-09-231-0/+1
| | | | Approved by: pav (mentor)
* Fix vgrind(1) indexing I broke in previous revision.ru2005-09-231-0/+2
| | | | | PR: bin/86343 Submitted by: Matej Vela <vela@debian.org>
* Frank Lloyd Wright birth year is 1867, not 1869.krion2005-09-231-1/+1
| | | | | PR: conf/82051 Submitted by: Derek Jones <derek at wahila dot com>
* Fix typo, FRG and GDR became UNO members in 1973, not in 1993.krion2005-09-231-1/+1
| | | | | PR: conf/86193 Submitted by: Matthias Buelow <mkb at incubus dot de>
* Style fix: Correct a compiler warning from GCC 4kientzle2005-09-211-0/+1
| | | | | Thanks to: Divacky Roman PR: bin/84993
* Setting .nofinger will not hide you from root.dds2005-09-194-1/+6
|
* Connect smbfs build on powerpc.imura2005-09-191-0/+4
|
* Use is '-' to imply that the flag is not set, rather than '.'.csjp2005-09-151-1/+1
|
* Print a warning if we fail to retrieve the process name for any reason.csjp2005-09-131-1/+3
|
* If there are'nt any bpf descriptors to process than dont bother attempting tocsjp2005-09-131-0/+2
| | | | | | retrieve statistic information for them. Pointed out by: Pawel Worach < pawel.worach at gmail.com >
* Free the bpf descriptor array after we are done with it. This probably isntcsjp2005-09-071-0/+1
| | | | | that critical as the program exits after this point anyway, but this may not always be the case.
* Update usage to reflect the new option.csjp2005-09-071-1/+2
| | | | Pointed out by: ru
* Several changes: Added a BUGS section with several bugs. Andgarys2005-09-071-26/+94
| | | | | | | | | | | | -- Made the synopses more precise. -- Added argument to flag in option description. -- Moved -b default and limits to option description (to un-hide). -- Noted several behaviors that were not mentioned. -- A few more trivial changes. PR: docs/46787 Approved by: keramida MFC after: 3 days
* Merge bpfstat's functionality into the netstat(1) utility. This addscsjp2005-09-075-3/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | a -B option which causes bpf peers to be printed. This option can be used in conjunction with -I if information about specific interfaces is desired. This is similar to what NetBSD added to their version of netstat. $ netstat -B Pid Netif Flags Recv Drop Match Sblen Hblen Command 1137 lo0 p--s-- 0 0 0 0 0 tcpdump 205 sis0 -ifs-l 37331 0 1 0 0 dhclient $ $ netstat -I lo0 -B Pid Netif Flags Recv Drop Match Sblen Hblen Command 1174 lo0 p--s-- 0 0 0 0 0 tcpdump $ -Add bpf.c which stores all the code for retrieving and parsing bpf related statistics. -Modify main.c to add support for the -B option and hook it into the program logic. -Add bpf.c to the build. -Document this new functionality in the man page and bump the revision date. -Add prototype for bpf_stats function.
* Mention that uuidgen(1) generates DCE version 1 UUIDs onlyrse2005-09-071-2/+3
|
* Fix the type of the variable 'debug'. It is used as a bitmap, so theharti2005-09-071-1/+1
| | | | | | | | type should be int rather than Boolean. PR: bin/84528 Submitted by: Max Okumoto <okumoto@ucsd.edu> MFC after: 3 weeks
* In version 1.8 I botched findval()'s type, fix.stefanf2005-09-021-1/+1
|
* Use socklen_t variables when passing sizes to getsockname() andstefanf2005-09-021-4/+4
| | | | getsockopt().
* The appropriate argument is -K -1, not -k -1.stefanf2005-09-021-2/+2
|
* Fix a syntax error in the generated code when invoked with -P. Note thatstefanf2005-09-021-1/+0
| | | | | the generated code still doesn't compile as we lack tinfo, t_getinfo and friends.
* - Do not allocate memory to entries in /var/rwho which have been down forssouhlal2005-09-021-3/+3
| | | | | | | more than 4 days - waste of memory. Obtained from: DragonFlyBSD (liamfoy) MFC after: 3 days
* Stop generating the `register' keyword.stefanf2005-09-023-4/+4
|
* Don't generate K&R C code. The -C flag is kept for backwards compatibility.stefanf2005-09-029-402/+125
| | | | Also remove the SIG_PF macro, there is no need to cast closedown.
* Only write the dispatch table function prototypes to the header if the -hstefanf2005-09-013-25/+24
| | | | | | | | flag was specified. If all files are generated at once, those functions are static and shouldn't appear in the header. PR: 84450 Reviewed by: alfred
* - Use prototypes in headers.stefanf2005-08-3110-43/+49
| | | | | - Include rpc_scan.h before rpc_util.h for the tok_kind enum. - Nuke unused declarations.
* Rename the variable `inline' to `inline_size'.stefanf2005-08-314-16/+11
|
* Include option-argument names in the list in the DESCRIPTION section.tjr2005-08-301-12/+4
| | | | Remove a non-bug from the BUGS section.
* Remove undocumented historic support for treating "-" as an optiontjr2005-08-301-14/+8
| | | | instead of a file operand; this is not compatible with POSIX.
* Unbreak tail -f on non-local filesystems.ps2005-08-261-0/+10
|
* Revert previous behaviour of '-F' option and add '-L' option, which willpjd2005-08-252-27/+43
| | | | | | | tell pkill(1)/pgrep(1) to try to flock(2) pidfile before reading PID from there. Discussed with: jhb, gad
* Fixes for gcc 4.x.roberto2005-08-251-15/+11
| | | | | PR: bin/84995 Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
* Fixes for gcc4.x.roberto2005-08-252-1/+2
| | | | | Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> PR: bin/84991
OpenPOWER on IntegriCloud