summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* When WITH_CLANG_EXTRAS is enabled, avoid needlessly building the llvmdim2012-08-211-1/+1
| | | | | | and clang extras in the cross-tools stage. MFC after: 1 week
* Support the WITH_SHARED_TOOLCHAIN setting that was introduced in r234782dim2012-08-211-0/+4
| | | | | | | for the clang executable. Build it statically by default, like the gcc executables, which should improve performance a little bit. MFC after: 1 week
* - Use pid_t type instead of just int.zont2012-08-214-7/+7
| | | | Approved by: kib (mentor)
* - Add myself to the calendar.zont2012-08-211-0/+1
| | | | Approved by: kib (mentor)
* Upgrade our copy of llvm/clang to trunk r162107. With thanks todim2012-08-2031-3638/+2809
| | | | Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
* Cleanup use of 'host' when running 'rpcinfo -p'.kevlo2012-08-181-5/+11
| | | | Obtained from: NetBSD
* Merging of projects/armv6, part 3gonzo2012-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | r238211: Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. Submitted by: Tim Kientzle <kientzle@freebsd.org>
* In usr.bin/make/var.c, function ParseModifier(), initialize the 'error'dim2012-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | variable to NULL, to avoid using it uninitialized in certain cases. This fixes the following clang 3.2 warning: usr.bin/make/var.c:1770:10: error: variable 'error' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] if (vp->execute) { ^~~~~~~~~~~ usr.bin/make/var.c:1777:10: note: uninitialized use occurs here if (error) ^~~~~ usr.bin/make/var.c:1770:6: note: remove the 'if' if its condition is always true if (vp->execute) { ^~~~~~~~~~~~~~~~~ usr.bin/make/var.c:1768:23: note: initialize the variable 'error' to silence this warning const char *error; ^ = NULL MFC after: 1 week
* - Add myself to calendar.freebsdbdrewery2012-08-011-0/+1
| | | | | | - Add my mentor relationships to committers-ports.dot Approved by: eadler (mentor)
* find: Remove unnecessary and inconsistent initialization.jilles2012-07-311-1/+1
| | | | Submitted by: jhb
* Mention when -d, -p and -r first hit FreeBSD.brian2012-07-301-2/+4
| | | | | | | Bump the document date to when the change was made (rather than when the PR was submitted). Suggested by: pluknet
* Add d, p and r switches for recording script sessions with timing databrian2012-07-302-24/+216
| | | | | | | | and playing sessions back with or without time delays. PR: 114465 Submitted by: ighighi at gmail dot com MFC after: 3 weeks
* Update libarchive to 3.0.4mm2012-07-284-20/+11
|
* Document -g option in the usage string.pluknet2012-07-261-1/+1
|
* find: Implement real -ignore_readdir_race.jilles2012-07-256-8/+38
| | | | | | | | | | If -ignore_readdir_race is present, [ENOENT] errors caused by deleting a file after find has read its name from a directory are ignored. Formerly, -ignore_readdir_race did nothing. PR: bin/169723 Submitted by: Valery Khromov and Andrey Ignatov
* Align the header with output.trociny2012-07-241-1/+1
| | | | MFC after: 3 days
* Fix a bug which prevents "nfsstat -W" for server statistics from working.hrs2012-07-221-2/+1
|
* Add -g (gigabyte) flag to complement -k (kilobyte) and -m (megabyte).des2012-07-182-7/+13
| | | | MFC after: 1 week
* Sort per the comment.obrien2012-07-181-17/+14
|
* - Add support for displaying process stack memory regions.pgj2012-07-162-2/+8
| | | | | Approved by: rwatson MFC after: 3 days
* Allow netstat to be build if INET is not defined in the kernel.tuexen2012-07-162-0/+8
| | | | | | | Thanks to Garrett Cooper for reporting the issue. MFC after: 3 days X-MFC: 238501
* Fix spellingeadler2012-07-072-2/+2
| | | | | | PR: bin/167480 Submitted by: zeising Approved by: cperciva
* Unbreak building WITH_ICONV=yes and new yacc.kientzle2012-07-071-1/+0
|
* - Change --nthreads parameter to --parallel for GNU compatibilitygabor2012-07-045-13/+21
| | | | | | | - Change default sort method to mergesort, which has a better worst case performance than qsort Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* Fix style.trociny2012-07-031-2/+2
| | | | MFC after: 3 days
* Add myself to commiters-[doc,ports].dot and calendar.freebsdzeising2012-07-031-0/+1
| | | | Approved by: joel (doc/www mentor) kwm (ports mentor)
* Fix two layout bugs in the previous change:jhb2012-07-021-1/+3
| | | | | | | - Properly increase y_mem when per-CPU stats are enabled. - Update y_arc for per-CPU stats being enabled/disabled. MFC after: 3 days
* Issue proper diagnostic on the short writes, also consider thekib2012-07-021-5/+20
| | | | | | | case of write reporting 0 bytes as short write. Reported and tested by: adreast MFC after: 1 week
* Once in a month, when the moon is full, killall mistakenly considerskib2012-06-301-1/+1
| | | | | | | | | living process as a zombie and refuses to kill it. The cause is that the code masks ki_stat with SZOMB to compare with SZOMB, but ki_stat is not a mask. Possibly reported by: cperciva MFC after: 3 days
* killall(1) does not use libkvm.kib2012-06-301-1/+1
| | | | MFC after: 3 days
* Only initialize array of mibs once.kib2012-06-301-3/+4
| | | | MFC after: 3 days
* Initialize procs closer to the place were it is used.kib2012-06-301-5/+5
| | | | | | | | Free can properly handle NULL pointer (but keep free() call on the premise that the code might be reused). Show errno when realloc failed. MFC after: 3 days
* Update the usage with the new jail option.thompsa2012-06-271-1/+1
| | | | | Spotted by: Jason Hellenthal MFC after: 3 days
* Add a new line to top that provides a brief summary of the ZFS ARC memoryjhb2012-06-272-21/+84
| | | | | | | | | | usage on hosts using ZFS. The new line displays the total amount of RAM used by the ARC along with the size of MFU, MRU, anonymous (in flight), headers, and other (miscellaneous) sub-categories. The line is not displayed on systems that are not using ZFS. Reviewed by: avg, fs@ MFC after: 3 days
* Clarify that the cached file data pages included in the "Wired" countjhb2012-06-271-1/+1
| | | | | | | in top are the BIO-level cached data (i.e. "Buf"), since the previous phrase was a bit ambiguous with the "Cache" count. MFC after: 3 days
* - Switch to BSD sort as default sort. GNU sort will still be installed asgabor2012-06-271-1/+1
| | | | | | | | | "gnusort". Most of the BSD sort development work was done by Oleg Moskalenko <oleg.moskalenko@citrix.com>. - GNU grep can be set to default by setting WITH_GNU_GREP. It will cause BSD sort to be installed as "bsdsort". Portbuild tested by: linimon
* - Disable threaded sort by defaultgabor2012-06-271-2/+2
| | | | - Fix typo in the NLS support
* Add a -I flag which requests confirmation before action, like what is donedelphij2012-06-272-3/+22
| | | | | | in pkill(1). MFC after: 2 weeks
* MFV: less v449.delphij2012-06-261-9/+3
|
* MFV: Update zlib to 1.2.7.delphij2012-06-211-1/+1
| | | | | | | | (x86 assembler optimization disabled for now because it requires the new .cfi_* directives that is not supported by base system binutils). MFC after: 1 week
* Currently the code uses gzFile * for a zlib file descriptor, whichdelphij2012-06-201-1/+1
| | | | | | | | | | | | | | | | is not correct. The code works by accident because gzFile is currently defined as void *, and internally it would be casted from or to its real type. A newer version of zlib will instead define it as a pointer to a specific type pointer (namely, struct gzFile_s *). This therefore would cause stricter checks and compiler would catch this type mismatch. This change does not cause any changes to the resulting binary, as validated with md5(1). MFC after: 3 days
* Correct typo in version.obrien2012-06-201-1/+1
|
* - Updated TOE support in the kernel.np2012-06-192-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Stateful TCP offload drivers for Terminator 3 and 4 (T3 and T4) ASICs. These are available as t3_tom and t4_tom modules that augment cxgb(4) and cxgbe(4) respectively. The cxgb/cxgbe drivers continue to work as usual with or without these extra features. - iWARP driver for Terminator 3 ASIC (kernel verbs). T4 iWARP in the works and will follow soon. Build-tested with make universe. 30s overview ============ What interfaces support TCP offload? Look for TOE4 and/or TOE6 in the capabilities of an interface: # ifconfig -m | grep TOE Enable/disable TCP offload on an interface (just like any other ifnet capability): # ifconfig cxgbe0 toe # ifconfig cxgbe0 -toe Which connections are offloaded? Look for toe4 and/or toe6 in the output of netstat and sockstat: # netstat -np tcp | grep toe # sockstat -46c | grep toe Reviewed by: bz, gnn Sponsored by: Chelsio communications. MFC after: ~3 months (after 9.1, and after ensuring MFC is feasible)
* find(1): Move description of -d option to -depth primary.jilles2012-06-131-30/+30
| | | | | | | | The nullary -depth primary is standard and the -d option provides little advantage. PR: docs/168885 MFC after: 1 week
* None of these programs actually use auth.conf.des2012-06-114-8/+0
| | | | MFC after: 1 week
* Fix typokevlo2012-06-111-1/+1
|
* - Consistenly mention columns and fieldskevlo2012-06-112-8/+8
| | | | | | - Add -b to short error messages Obtained from: NetBSD
* Add more description and clarification about the -depth and -d options inissyl02012-06-101-4/+5
| | | | | | | | | | both places where they are mentioned in find(1). Discussed with: dougb PR: docs/168885 Reported by: Ronald F. Guilmette (rfg at tristatelogic dot com) Approved by: gabor (mentor) MFC after: 3 days
* touch: Add the -d option from POSIX.1-2008.jilles2012-06-102-5/+95
| | | | | | | | | | This is much like -t but with a different format which is ISO8601-like and allows fractions of a second. The precision is limited to microseconds because of utimes() and friends, even though stat() returns nanoseconds. MFC after: 10 days
* - Remove the UNUSED_ARG macro and use __unused in argument listsgabor2012-06-082-17/+9
| | | | | Reviewed by: dim MFC after: 3 days
OpenPOWER on IntegriCloud