summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* sort: style knits / cleanups.pfg2015-04-062-2/+2
| | | | | | Minor cleanups that got accidentally reverted. Obtained from: OpenBSD
* Revert (partial) r281123, r281125:pfg2015-04-067-8/+79
| | | | | | | | | sort: style knits / cleanups. Our style guide(9) specifies that in absence of local variables an empty line must be inserted. Pointed out by: eadler
* sort: style knits / cleanups.pfg2015-04-056-69/+2
| | | | Obtained from: OpenBSD
* sort: Fix a comment.pfg2015-04-051-1/+1
| | | | Obtained from: OpenBSD
* sort: Cleanup small issues with spaces.pfg2015-04-056-24/+19
| | | | Obtained from: OpenBSD
* Add the llvm-cov and llvm-profdata tools, when WITH_CLANG_EXTRAS isdim2015-04-035-0/+328
| | | | defined. These help with processing coverage and profile data.
* Add IPv6 example to iscsi.conf(5) and tweak ordering.trasz2015-04-021-3/+9
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Rewrite iscsi.conf(5) to better match iscsictl(8).trasz2015-04-021-121/+87
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Remove bogus cast.kevlo2015-03-312-10/+10
|
* Switch to ELF toolchain readelf(1)emaste2015-03-301-0/+2
| | | | | | | | | | | | | ELF toolchain readelf lacked some functionality at the time other tools (like size, strip, nm, etc.) were switched over to the ELF toolchain versions. That has been addressed as of the last update, so we can add it to the list. PR: 198950 [exp-run] Reviewed by: bapt, imp, rpaulo Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2156
* Clarify the ministat default widthkp2015-03-261-1/+3
| | | | | | | | | | | | | | | The man page states that: '-w width Width of ASCII-art plot in characters, default is 74.' This is not entirely correct. The mini-help is more accurate: '-w : width of graph/test output (default 74 or terminal width)' In other words: the man page fails to explain that ministat will default to the terminal width, not 74. It will only fall back to 74 if stdout is not a TTY. Submitted by: Ben Hutchings <ben@decadent.org.uk> Approved by: philip (mentor)
* Print size_t's with %zu rather than "%zd.kevlo2015-03-261-2/+2
| | | | Reviewed by: bde
* Remove defunct SSLv2 support from fetch(1) and fetch(3).jkim2015-03-252-21/+11
|
* xlint: update.pfg2015-03-2318-356/+868
| | | | | | | | | | | Bring some important updates from NetBSD up to about 2008/04/25. The main feature is initial support for C99. This is a very basic update to make it easier to merge new compiler attirbutes but more updates are likely to follow. Obtained from: NetBSD MFC after: 2 weeks
* Describe the behavior when both -f and a message are given. Pointed out bywblock2015-03-221-1/+2
| | | | | | Raphael Abreu <raphael.lorenzeto@gmail.com> on freebsd-doc. MFC after: 1 week
* bsdgrep: fix regression in the -f option since r268799pfg2015-03-211-1/+1
| | | | | | | Caused by an incomplete merge from NetBSD. PR: 198725 MFC after: 3 days
* Improve the mt(1) rblim display.ken2015-03-181-3/+10
| | | | | | | | | | | | | | | | The granularity reported by READ BLOCK LIMITS is an exponent, not a byte value. So a granularity of 0 means 2^0, or 1 byte. A granularity of 1 means 2^1, or 2 bytes. Print out the individual block limits on separate lines to improve readability and avoid exceeding 80 columns. usr.bin/mt/mt.c: Fix and improve the 'mt rblim' output. Add a MT_PLURAL() macro so we can print "byte" or "bytes" as appropriate. Sponsored by: Spectra Logic MFC after: 4 days
* Fix a couple of problems in the sa(4) media type reports.ken2015-03-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The only drives I have discovered so far that support medium type reports are newer HP LTO (LTO-5 and LTO-6) drives. IBM drives only support the density reports. sys/cam/scsi/scsi_sa.h: The number of possible density codes in the medium type report is 9, not 8. This caused problems parsing all of the medium type report after this point in the structure. usr.bin/mt/mt.c: Run the density codes returned in the medium type report through denstostring(), just like the primary and secondary density codes in the density report. This will print the density code in hex, and give a text description if it is available. Thanks to Rudolf Cejka for doing extensive testing with HP LTO drives and Bacula and discovering these problems. Tested by: Rudolf Cejka <cejkar at fit.vutbr.cz> Sponsored by: Spectra Logic MFC after: 4 days
* Allowus to exclude a.out support from ldd and use it with arm64 as it won'tandrew2015-03-181-1/+10
| | | | | | | support the a.out format. Reviewed by: emaste Sponsored by: The FreeBSD Foundation
* xlint: add arm64 #defineemaste2015-03-181-0/+3
| | | | | Submitted by: andrew@ Sponsored by: The FreeBSD Foundation
* Add arm64 xlint support.emaste2015-03-171-0/+50
| | | | | Obtained from: NetBSD Sponsored by: The FreeBSD Foundation
* Remove bad and useless LINKSbapt2015-03-151-1/+0
|
* unzip: Don't subvert vfs.timestamp_precision when setting atime to now.jilles2015-03-151-15/+13
| | | | | Also, preserve nanoseconds from libarchive, even though the zip file format does not currently support nanoseconds in timestamps.
* Regenerated llvm/clang manpages.dim2015-03-1415-45/+44
|
* Merge ^/head r279893 through r279984.dim2015-03-142-14/+3
|\
| * TARGET_* shouldn't be used here. Use MACHINE_* instead.imp2015-03-121-11/+3
| |
| * These local variables are unused. gc them.imp2015-03-121-3/+0
| |
* | Merge ^/head r279759 through r279892.dim2015-03-1110-30/+173
|\ \ | |/
| * Fix a typo and update the date in the man page.scottl2015-03-112-2/+2
| | | | | | | | | | | | Submitted by: emax Obtained from: Netflix, Inc. MFC after: 3 days
| * Add OpenBSD copyright for reallocarraybapt2015-03-101-17/+35
| | | | | | | | | | | | | | | | Move the function at the bottom of the misc.c file to clearly state the copyright only stand for this function PR: 198484 Submitted by: logan@elandsys.com
| * Implement basic cpuset reporting in procstat via the -S flag.scottl2015-03-105-6/+130
| | | | | | | | | | Obtained from: Netflix, Inc. MFC after: 3 days
| * Call xo_finish(3) before exiting in usage().markj2015-03-091-0/+1
| |
| * touch(1): Xref utimensat(2) instead of utimes(2).jilles2015-03-081-2/+2
| |
| * Ouch, I've misread the original text.marck2015-03-081-1/+1
| | | | | | | | | | | | | | | | Still reword phrase a bit, hopefully in a bit less misleading form than before. MFC after: 1 week X-MFC-With: r279783 Pointy Hat to: marck
| * Correct wordings a bit.marck2015-03-081-2/+2
| | | | | | | | MFC after: 1 week
| * env: Fix crash when -S string is not empty but no operand follows.jilles2015-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | split_spaces() set argc in main() incorrectly, which caused trouble for getopt(). Examples: env -S '\c' env -S -i PR: 197769 MFC after: 1 week
* | Merging ^/head r279596 through r279758.dim2015-03-077-291/+220
|\ \ | |/
| * rlogin(1): initialize term variable.pfg2015-03-051-1/+1
| | | | | | | | | | CID: 1011522 Obtained from: NetBSD (CVS 1.18, partial)
| * r* commands are not precious anymorebapt2015-03-042-2/+0
| |
| * Rework calendar(1) parserbapt2015-03-044-288/+219
| | | | | | | | | | | | | | | | | | | | Support includes surrounded by '"' or '<' '>' Print warnings about bad syntax Correctly navigate through include directories to find calendar files Correctly support multiple includes Tested by: gjb MFC after: 1 week
* | Merge ^/head r279313 through r279595.dim2015-03-044-5/+6
|\ \ | |/
| * Fix typo in dropped-packets attribute (missing s).marcel2015-03-041-1/+1
| | | | | | | | Pointed-out by: allanjude (excellent catch!)
| * Add density code for DAT-72, and notes on DAT-160.ken2015-03-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As it turns out, the density code for DAT-160 (0x48) is the same as for SDLT220. Since the SDLT values are already in the table, we will leave them in place. Thanks to Harald Schmalzbauer for confirming the DAT-72 density code. lib/libmt/mtlib.c: Add DAT-72 density code, and commented out DAT-160 density code. Explain why DAT-160 is commented out. Add notes explaining where the bpi values for these formats came from. usr.bin/mt/mt.1: Add DAT-72 density code, and add a note explaining that the SDLTTapeI(110) density code (0x48) is the same as DAT-160. Sponsored by: Spectra Logic MFC after: 3 weeks
| * Update mandoc to cvs snaphot from 20150302bapt2015-03-021-1/+1
| | | | | | | | Use the new unsupp warning level to detect the unsupported manpages in man(1)
| * sh: Fix compiler warnings related to duplicate or missing declarations.jilles2015-03-011-1/+0
| |
* | Merge ^/head r279163 through r279308.dim2015-02-269-424/+1840
|\ \ | |/
| * Update to upstream version 2.10hselasky2015-02-254-241/+486
| | | | | | | | | | | | | | The most notable new feature is support for definition files. Obtained from: http://dotat.at/prog/unifdef MFC after: 1 week
| * Explicitly crypt_set_format("des") and bail out if wedelphij2015-02-251-0/+5
| | | | | | | | | | | | | | | | can't. This would prevent problem when we changed the default crypt(3) algorithm or removed it in the future. PR: bin/189958 MFC after: 1 month
| * Fix "netstat -hdw 1" output.marcel2015-02-251-4/+0
| | | | | | | | Reported by: np@
| * Fix several problems found by Coverity.ken2015-02-251-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/libmt/mtlib.c: In mt_start_element(), make sure we don't overflow the cur_sb array. CID 1271325 usr.bin/mt/mt.c: In main(), bzero the mt_com structure so that we aren't using any uninitialized stack variables. CID 1271319 In mt_param(), only allow one -s and one -p argument. This will prevent a memory leak caused by overwriting the param_name and/or param_value variables. CID 1271320 and CID 1271322 To make things simpler in mt_param(), make sure there there is only one exit path for the function. Make sure the arguments are explicitly freed. Sponsored by: Spectra Logic Pointed out by: emaste MFC after: 1 month
OpenPOWER on IntegriCloud