summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* MFC r270062: switch rpc mount protocol for showmount and umount frompeter2014-08-212-6/+10
| | | | | mountv1 to mountv3 - it breaks by default on the new netapp release with the legacy protocols removed.
* MFC r265256:eadler2014-08-211-1/+1
| | | | Syntax fix
* MFC: r269806,r269809,r269811,r269810ache2014-08-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | r269806: Fix too long (seed length >12 chars) challenge handling. 1) " ext" length should be included into OPIE_CHALLENGE_MAX (as all places of opie code expects that). 2) Overflow check in challenge.c is off by 1 even with corrected OPIE_CHALLENGE_MAX 3) When fallback to randomchallenge() happens and rval is 0 (i.e. challenge is too long), its value should be set to error state too. To demonstrate the bug, run opiepasswd with valid seed: opiepasswd -s 1234567890123456 and notice that it falls back to randomchallenge() (i.e. no 1234567890123456 in the prompt). r269809: When sha1 support was added, they forget to increase OPIE_HASHNAME_MAX r269811: Last '/' for program name, not first one. r269810: Link otp-sha1 to match real challenge prompt, not otp-sha. PR: 191511 Submitted by: mitsururike@gmail.com (partially, PR 269806)
* MFC r261525:bz2014-08-161-0/+11
| | | | | Print the MD5 signature information introduced in r221023 (head) in the TCP statistics output.
* MFC r267615:trasz2014-08-141-16/+16
| | | | | | Rename a variable; no functional changes. Sponsored by: The FreeBSD Foundation
* MFC r267614:trasz2014-08-142-9/+155
| | | | | | | Add "iscsictl -M", which allows one to change session parameters without removing it and adding back. Sponsored by: The FreeBSD Foundation
* Merge r268842 from head:gavin2014-08-131-2/+2
| | | | | | | Fix two typos in iscsictl.8 PR: 191581 Submitted by: Jimmy Olgeni
* MFC 269745: Create a redundant grain directory and table.marcel2014-08-131-5/+23
|
* MFC r266728,266731,266735,266736,268135,268960,269833peter2014-08-125-9/+30
| | | | | | | | Update apr 1.4.8 -> 1.5.1 Update apr-util 1.5.2 -> 1.5.3 Update serf 1.3.4 -> 1.3.7 Update svnlite 1.8.8 -> 1.8.10 Deal with svnlite.1 manpage.
* MFC r269302:jlh2014-08-111-18/+26
| | | | | | | | | Fix relative numerical addressing (addr,+N). As a bonus the patch untangles a bit the logic and makes the code easier to grasp. PR: 192108
* MFC r269408, r269409:rpaulo2014-08-081-0/+8
| | | | shm_open()/shm_unlink() ktrace support.
* MFC r269289, r269290, r269291, r269292, r269293:gjb2014-08-041-1/+1
| | | | | | | | | | | | | | | | | | | r269289: sort(1): Remove trailing '.' from See Also section. r269290: acpi_wmi(4): Remove trailing comma from standalone Xref. r269291: hptiop(4): Remove trailing comma from ending Xref. r269292: pf.conf(5): Remove trailing comma from ending Xref. r269293: kernel_mount(9): Remove trailing comma from ending Xref. Sponsored by: The FreeBSD Foundation
* MFC r268727 (by delphij):pluknet2014-07-291-0/+1
| | | | Add a bandaid to fix GCC build (on sparc64 et al).
* MFC r268236,268264,268524,268646,268802,269021:marcel2014-07-2811-22/+519
| | | | | | | | This brings VHD support to mkimg(1); both dynamic and fixed file formats. Dynamic VHD and VMDK file images are now sparsely written, meaning that "free" sectors do not occupy space. Relnotes: yes
* MFC vtfontcvt improvements:emaste2014-07-244-0/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r267011: Make height and width optional arguments Now defaults to a 16x8 font size. The height and width can be specified using -h and -w respectively. r267012: Make the bold font optional r267035: Use a hash to speed up glyph deduplication Walking a linked list of all glyphs to look for a duplicate is very slow for large fonts (e.g., for CJK character sets). In my test the runtime for a sample 40000 character font went from just over 80 seconds on average to just over 2 seconds. r267119: -w sets the width, not height r267123: Support "GNU Unifont" format font data The GNU Unifont .hex format is a text file. Each line represents one glyph and consists of a four-digit hex code point, a colon, and pairs of hex digits representing the bitmap. By default an 8x16 font is assumed, with 16x16 double-width glyphs, resulting in either 32 or 64 hex digits for the bitmap. Our version of the file format supports comments at the top of the file to set the height and width: Each row of bitmap data is rounded up to byte width - for example, a 10-pixel wide font uses 4 characters per row. See http://czyborra.com/unifont/ for more background on the original format. r267126: Accept space after BITMAP in .bdf parser The Unifont BDF generator incorrectly adds a space after BITMAP, and and that error has been widely propagated. r267173: use -h height and -w width args r267298: Hide stats by default and improve error handling The font stats are interesting, but rather verbose. r267301: Speed up bold glyph map deduplication Perform an O(n) deduplication pass over the bold maps at the end, rather than walking the normal map list to look for a duplicate glyph each time a bold mapping entry is added. r267324: handle failure writing output font r267337: move to usr.bin/vtfontcvt vtfontcvt is useful for end users to convert arbitrary bitmap fonts for use by vt(4). It can also be used as a build tool, allowing us to keep the source font data in the src tree rather than uuencoded binaries. Reviewed by: ray, wblock (D183) r267366: Avoid leaking file pointer on error CID: 1222506, 1222505 r268022: Rename the WITHOUT_VT_SUPPORT knob to WITHOUT_VT The _SUPPORT knobs have a consistent meaning which differs from the behaviour controlled by this knob. As the knob is opt-out and has not appeared in a release the impact should be low. r268172: correct width calculation (.hex files and commandline) r268948: Use the standard way of printing the usage string r268949: Remove redundant return statement after errx Also update vtfontcvt(8), based on inclusion in FreeBSD 10.1 Sponsored by: The FreeBSD Foundation
* MFC r262528: Update LLDB snapshot to upstream r202189emaste2014-07-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Highlights include (upstream revs in parens): - Improvements to the remote GDB protocol client (r196610, r197579, r197857, r200072, and others) - Bug fixes for big-endian targets (r196808) - Initial support for libdispatch (GCD) queues in the debuggee (r197190) - Add "step-avoid-libraries" setting (r199943) - IO subsystem improvements (including initial work on a curses gui) (r200263) - Support hardware watchpoints on FreeBSD (r201706) - Improved unwinding through hand-written assembly functions (r201839) - Handle DW_TAG_unspecified_parameters for variadic functions (r202061) - Fix Ctrl+C interrupting a running inferior process (r202086, r202154) - Various bug fixes for memory leaks, LLDB segfaults, the C++ demangler, ELF core files, DWARF debug info, and others. Sponsored by: DARPA, AFRL
* MFC r268798, r268799, r268801:pfg2014-07-213-8/+19
| | | | | | | | | | | | | | grep: Fix type. grep: fix some memory leaks. queue.c (CVS Rev. 1.4. 1.5) Fix memory leaks. NULL does not need a cast. grep.c (CVS Rev. 1.6) Use the more portable getline. Obtained from: NetBSD
* MFC: r257315, r260445, r264803bapt2014-07-201-4/+2
| | | | Update byacc to 20140422
* Merge r268292 from head:gavin2014-07-161-1/+1
| | | | | | | Dominion Day became Canada Day in 1982, update the holiday calendar. PR: 191533 Submitted by: db
* MFC r268381wblock2014-07-161-1/+2
| | | | Make synopsis version of -3 flag match other uses in the page.
* MFC r267886:delphij2014-07-111-1/+1
| | | | | | Use correct length for buffer. Submitted by: Sascha Wildner <swildner dragonflybsd org>
* MFC r267887:delphij2014-07-111-1/+1
| | | | | | Correct buffer size. Submitted by: Sascha Wildner <swildner dragonflybsd org>
* MFC r267897: MFV r267843:delphij2014-07-111-1/+2
| | | | Update file/libmagic to 5.19.
* MFC r268193, r268203:pfg2014-07-061-2/+2
| | | | Fix sed(1) usage: the -i extension is not an optional.
* MFC mkimg(1) -- revisions 268159, 268134, 266556, 266514, 266513,marcel2014-07-0220-0/+2744
| | | | | | | | | | | 266512, 266511, 266510, 266509, 266176, 265468, 265467, 265462, 265170, 263926, 263924, 263923, 263919 and 263918. Revision 267182 changed mkimg.1 alongside other unrelated manpages. The change to mkimg.1 has been applied without registering a merge of the revision. This allows a future merge of r267182 to happen. Relnotes: yes
* MFC r267871: Introduce $RA_SERVER to set default whois server.ume2014-07-021-4/+6
| | | | | Requested by: nork Reviewed by: nork
* MFC 266322,266323:jhb2014-07-012-3/+67
| | | | | | | | - Use 'RESOURCE' instead of the more generic 'TYPE' for the resource name column header when displaying resource usage. This more closely matches other procstat displays. - Add descriptions of the display formats for -e, -l, -r, and -x. Fix a few typos in indent settings while here.
* MFC r267692, r267703:pfg2014-06-292-8/+15
| | | | | | Add -u (unbuffered output) after GNU sed. Obtained from: NetBSD
* MFC 266293:jhb2014-06-275-13/+193
| | | | | | | | - Add support for dumping current resource usage for processes via a new -r flag to procstat. - Add an -H flag to request information about threads rather than processes when dumping statistics. Currently it is only used for -r to display resource usage for individual threads instead of the entire process.
* MFC 266296:jhb2014-06-271-5/+5
| | | | | Correct some minor nits in the per-thread signal format description such as missing posessives and misordering of fields.
* MFC r265613, r267649: Handle ELF files with 65280 or more sectionsemaste2014-06-271-13/+55
| | | | | | | | | If e_shnum or e_shstrndx are at least SHN_LORESERVE (0xff00) then an escape value is used to indicate that the actual value is found in one of section 0's fields. Don't dump core when the ELF file has no section headers. The ELF core files created by gcore are among those.
* MFC r267693:gjb2014-06-251-1/+1
| | | | | | | | | | | | | | | Fix a bug in bsdgrep(1) where patterns are not correctly detected. Certain criteria must be met for this bug to show up: * the -w flag is specified, and * neither -o or --color are specified, and * the pattern is part of another word in the line, and * the other word that contains the pattern occurs first PR: 181973 Sponsored by: The FreeBSD Foundation
* MFC r267512:pfg2014-06-222-2/+3
| | | | | | | | | | patch: add dry-run alias for compatibility with other implementations. Other implementations of patch(1), including GNU patch and "svn patch" have a --dry-run option which does the same as our -C or --check option. Add a new alias to make our implementation more compatible.
* MFC r267490:pfg2014-06-223-11/+15
| | | | | | | | | | | | | | | patch: unsign the line length to avoid overflows. Patch(1) uses a short int for the line length, which is usually sufficient for regular diffs, but makes no effort to signal when there is an overflow. Change the line length to an unsigned short int to better use the fact that a length is never negative. The change is loosely inspired on a related change in DragonFly, but we avoid spending more memory than necessary. While here adjust the messages to be clearer on what is happening.
* Merge r267482,r267483,r267486,r267577,r267671,r267672 from head:gavin2014-06-223-0/+17
| | | | | Remove send-pr and fix up all references to it. Replace it with a stub send-pr directing people towards the web site.
* MFC r267426, r267464:pfg2014-06-212-32/+12
| | | | | | | | | | | | | | | | | Avoid zeroing during allocation. This change reverts a change from OpenBSD which made use of calloc, and therefore wasted time initializing arrays that will later be realloc'ed. Consistently use FreeBSD's reallocf(): - Drop some bogus casts to size_t. - The new_p_foo variables are not needed anymore. Also merge the changes from OpenBSD's manpage patch.1 Rev 1.27: "patch was moved from user portability (UP) to base in issue 7 and is no longer optional"
* MFC r267436-267439:tijl2014-06-201-13/+14
| | | | | | | | | | | | | | | | | | - Replace malloc+memset with calloc. - iconv_open(3): initialise ci_ilseq_invalid field of _citrus_iconv_shared struct after allocation with malloc. - iconvlist(3): reduce a memory leak by copying strings only once. - iconv(1): - Make invalids variable local to do_conv such that it prints the number of invalid characters of the current file instead of an accumulated value. - Make do_conv return an error when invalid characters have been found. Return EXIT_FAILURE from main if any file contained invalid characters. This matches the behaviour of GNU iconv. - Mark usage with __dead2 attribute. - Make the long_options array const. Tested by: Pavel Timofeev <timp87@gmail.com>
* MFC r267174:bdrewery2014-06-132-2/+3
| | | | | | Fix some rpcgen sample file issues. PR: 185582
* MFC r267067:kib2014-06-071-1/+4
| | | | | | | Cross-reference jot(1) and seq(1). MFC r267098 (by pluknet): mdoc: drop the trailing dot from the xref list.
* MFC r264881smh2014-05-262-1/+123
| | | | | | Add Linux socket call decoding to truss Sponsored by: Multiplay
* MFC 263199, 263207ian2014-05-171-1/+1
| | | | | | Fix error mesasge in dtc. Add tmpfs, mbr, and bsdlabel options back to wandboard kernel config.
* MFC r265267:bdrewery2014-05-171-15/+23
| | | | | Fix width/alignment of JID column. Make it support up to the maximum 7-wide JIDs. On a system using jails for common tasks the JID can quickly increase.
* MFC r265249,r265250,r265251:bdrewery2014-05-172-2/+8
| | | | | | | - Add -J command/flag to filter by jail name/jid. This will automatically display the JID as well (the -j command/flag). - Add a hint for 'u' and 'J' command that '+' displays all. - Add J command to help.
* MFC r262394: Fix parsing multiple roots with whitespace between them.ian2014-05-151-0/+1
|
* MFC r261215, r261257ian2014-05-151-1/+4
| | | | | | | Merge from vendor branch importing dtc git rev 6a15eb2350426d285130e4c9d84c0bdb6575547a Don't build BSDL dtc if the GPL dtc is enabled.
* MFC r264918:bdrewery2014-05-141-1/+1
| | | | Fix spelling error.
* Merge r260524,r260540melifaro2014-05-082-16/+39
| | | | | | | | | | | r260524: Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8). r260540: Bump dates in nestat(1) and route(8) man pages. Fix several small errors introduced by r260524. Suggested by: glebius
* MFC r264573+264608+264609:delphij2014-05-0711-164/+318
| | | | Sync with OpenBSD.
* MFC r264405:trasz2014-05-071-3/+3
| | | | Fix periph listing when IOCTL buffer border hits result for wanted bus.
* MFC r264876:trasz2014-05-071-2/+2
| | | | Grammar fix.
OpenPOWER on IntegriCloud