summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.joel2012-09-091-2/+2
|
* Merge the projects/pf/head branch, that was worked on for last six months,glebius2012-09-081-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into head. The most significant achievements in the new code: o Fine grained locking, thus much better performance. o Fixes to many problems in pf, that were specific to FreeBSD port. New code doesn't have that many ifdefs and much less OpenBSDisms, thus is more attractive to our developers. Those interested in details, can browse through SVN log of the projects/pf/head branch. And for reference, here is exact list of revisions merged: r232043, r232044, r232062, r232148, r232149, r232150, r232298, r232330, r232332, r232340, r232386, r232390, r232391, r232605, r232655, r232656, r232661, r232662, r232663, r232664, r232673, r232691, r233309, r233782, r233829, r233830, r233834, r233835, r233836, r233865, r233866, r233868, r233873, r234056, r234096, r234100, r234108, r234175, r234187, r234223, r234271, r234272, r234282, r234307, r234309, r234382, r234384, r234456, r234486, r234606, r234640, r234641, r234642, r234644, r234651, r235505, r235506, r235535, r235605, r235606, r235826, r235991, r235993, r236168, r236173, r236179, r236180, r236181, r236186, r236223, r236227, r236230, r236252, r236254, r236298, r236299, r236300, r236301, r236397, r236398, r236399, r236499, r236512, r236513, r236525, r236526, r236545, r236548, r236553, r236554, r236556, r236557, r236561, r236570, r236630, r236672, r236673, r236679, r236706, r236710, r236718, r237154, r237155, r237169, r237314, r237363, r237364, r237368, r237369, r237376, r237440, r237442, r237751, r237783, r237784, r237785, r237788, r237791, r238421, r238522, r238523, r238524, r238525, r239173, r239186, r239644, r239652, r239661, r239773, r240125, r240130, r240131, r240136, r240186, r240196, r240212. I'd like to thank people who participated in early testing: Tested by: Florian Smeets <flo freebsd.org> Tested by: Chekaluk Vitaly <artemrts ukr.net> Tested by: Ben Wilber <ben desync.com> Tested by: Ian FREISLICH <ianf cloudseed.co.za>
* Free memory allocated by procstat_getfiles(), which may make differencetrociny2012-09-041-0/+1
| | | | | | | when procstat(1) is run with -a option. Submitted by: Daniel Dettlaff <dmilith gmail com> MFC after: 1 week
* - Style(9) cleanup.zont2012-09-0215-2132/+2202
| | | | Approved by: kib (mentor)
* Rework all non-contributed files that use `struct timezone'.ed2012-09-014-24/+20
| | | | | | | | | | | | | | This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
* Improve description for "rctl -l".trasz2012-09-011-2/+7
| | | | MFC after: 2 weeks
* - Remove unused variables.zont2012-08-302-4/+2
| | | | | | - Fix warnings about comparing signed and unsigned ints. Approved by: kib (mentor)
* Sprinkle a bit of style.Makefile(5) across various clang Makefiles. Nodim2012-08-231-4/+4
| | | | | | functional changes. MFC after: 3 days
* - Put arguments for print_syscall_ret() function in proper order.zont2012-08-231-1/+1
| | | | | | Bug was introduced in r192025. Approved by: kib (mentor)
* 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
OpenPOWER on IntegriCloud