summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Modify '-F' option to work nicely with pidfile(3) - a pidfile given aspjd2005-08-242-0/+22
| | | | an argument has to be locked.
* List -W as one of the meaningful options to the -i (interfaces)yar2005-08-241-1/+1
| | | | | | display of netstat(1). MFC after: 3 days
* Add a -h option to tell cmp not to follow symbolic links.brian2005-08-235-7/+123
| | | | | MFC after: 3 weeks Sponsored by: Sophos/ActiveState
* Most users probably aren't interested in locating 13000+ files namedcperciva2005-08-222-2/+2
| | | | | | | | [0-9a-f]{64}, so exclude portsnap's compressed snapshots from locate's indexing. Suggested by: silby MFC after: 3 days
* Remove the hack that varied the first character of the output file nametjr2005-08-212-15/+5
| | | | | | | | if none was specified on the command line. This is not permitted by POSIX, and no longer needed now that we have the -a option. PR: 85099 Submitted by: Toby Peterson (Apple Computer)
* Bail if interface is misspelled instead of falling out into theru2005-08-201-0/+2
| | | | | "all interfaces" mode. (Only works with -w, but still better than nothing.)
* Correct typos found by ispell.murray2005-08-192-2/+2
|
* Add a new switch -h for interface stats mode, which prints all interfaceglebius2005-08-184-10/+29
| | | | | | | statistics in human readable form. In collaboration with: vsevolod Reviewed by: cperciva
* While revision 1.26 fixed the code to really subtract 3600 due tostefanf2005-08-181-3/+1
| | | | | daylight-saving, this was actually wrong because mktime() already does that for us.
* Remove the dates from these files. They serve no purpose and result incperciva2005-08-171-1/+2
| | | | | | these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
* Correct birthdate for Meriwether Lewis. He was born before themurray2005-08-171-1/+1
| | | | declaration of independence, not after the first world war.
* It's actually 11 minutes when the machine is assumed to be down and removedssouhlal2005-08-071-1/+1
| | | | | | from the output. Obtained from: DragonFlyBSD
* Use libmemstat(3)'s kvm support for malloc(9) rather than hand-extractingrwatson2005-08-061-96/+19
| | | | this information from the core dump.
* Old habits die hard: Make that .if defined(YES_HESIOD) not .if !definedphk2005-08-061-1/+1
|
* Change the data type of the upper shared memory limits from a signedcsjp2005-08-061-5/+5
| | | | | | | | | | | | integer to an unsigned long. This lifts variables like the maximum number of pages available for shared memory from 2^31 to 2^32 on 32 bit architectures, and from 2^31 to 2^64 on 64 bit architectures. It should be noted that this changes breaks ABI on 64 bit architectures because the size of the shmmax, shmmin, shmmni, shmseg and shmall members of the shminfo structure has changed. Silence on: current@
* Put hesinfo(1) under buildoption "YES_HESIOD"phk2005-08-061-1/+5
|
* Include ../Makefile.inc, since without it programs get installed in thecperciva2005-08-061-0/+3
| | | | | | wrong place. Pointy hat to: cperciva
* Add bsdiff and bspatch to the base system. These are tools forcperciva2005-08-069-0/+753
| | | | | | | | | | | | | | | | | | | | | | | constructing and applying binary patches; in particular, they perform well (in the sense of constructing small patches) for executable code. Both portsnap (coming to the base system Real Soon Now) and FreeBSD Update (coming to the base system a bit later) use bspatch. This is the same code as the bsdiff-4.2 which has been in the ports tree (misc/bsdiff) for the past year, with the following exceptions: 1. The license is now the traditional 2-clause BSD; 2. Instead of forking and execing bzip2, the code now uses libbz2; and 3. Some minor changes have been made to fit this code into the base system (adding $FreeBSD$ tags, putting bsdiff and bspatch into separate directories, etc.) This code is rather ugly and has lots of style bugs (mostly because I wrote it before I had ever heard of style(9)). Some day I'll come back and clean it up. Discussed on: freebsd-arch MFC before: 5.5-RELEASE Tested by: Several million users (earlier version).
* Don't include -lipx twice.phk2005-08-051-2/+2
|
* Make IPX support depend on NO_IPXphk2005-08-052-2/+16
|
* Let NO_MAN control catmanphk2005-08-051-1/+5
|
* Use socklen_t where appropriate.stefanf2005-08-052-3/+4
|
* Include <err.h> where needed. Add $FreeBSD$ where missing.stefanf2005-08-057-0/+11
|
OpenPOWER on IntegriCloud