summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add the llvm-symbolizer tool, which enables the sanitizers to reportdim2015-01-103-0/+160
| | | | | | | more complete debugging information. This tools is only enabled when WITH_CLANG_EXTRAS is on. Submitted by: Dan McGregor <danismostlikely@gmail.com>
* Remove a few redundant DPADD/LDADD pairs in llvm utilities.dim2015-01-102-4/+0
|
* Regenerate the manpages for the additional llvm/clang tools. Thisdim2015-01-1013-56/+30
| | | | contains only very minor updates.
* Add a regression test for PR 192108.jlh2015-01-102-1/+5
| | | | | | | I won't go through the hassle of MFCing it since I expect all changes to go first through HEAD anyway. PR: 192108
* mkimg: Add MBR EFI partition typeemaste2015-01-091-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* Document CPU_WHICH_DOMAIN and bump Dd for cpuset.1.jhb2015-01-081-1/+1
| | | | Missed in: r276829
* Partial revert of r276832:pfg2015-01-081-0/+2
| | | | | | Do not bump the warns level as it still breaks the gcc build on sparc64 Reported by: jenkins
* sed: Address warnings with clang and gcc48.pfg2015-01-083-7/+5
| | | | MFC after: 2 weeks
* Create a cpuset mask for each NUMA domain that is available in thejhb2015-01-082-17/+24
| | | | | | | | | | | kernel via the global cpuset_domain[] array. To export these to userland, add a CPU_WHICH_DOMAIN level that can be used to fetch the mask for a specific domain. Add a -d flag to cpuset(1) that can be used to fetch the mask for a given domain. Differential Revision: https://reviews.freebsd.org/D1232 Submitted by: jeff (kernel bits) Reviewed by: adrian, jeff
* Add the AArch64 llvm backend to the build to allow for early testing anddim2015-01-079-40/+102
| | | | | | | | to ease any rework of how clang is built to take arm64 in to account. Submitted by: andrew Reviewed by: andrew, emaste Differential Revision: https://reviews.freebsd.org/D1446
* ar: Avoid null pointer deref while reading corrupt archivesemaste2015-01-071-1/+2
| | | | | | | | ELF Tool Chain ticket #467 Reported by: Alexander Cherepanov <cherepan@mccme.ru> MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Use the new process reaper functionalitybapt2015-01-061-13/+32
| | | | | | When not using the --foreground option timeout(1) is supported to signal all command children hierarchy, timeout(1) now acquire the reaper to ensure this really happens and no children process can escaper from timeout(1) control
* kdump: eliminate new clang warnings.dchagin2015-01-062-13/+14
| | | | MFC after: 1 week
* mdoc: use An macro.joel2015-01-041-2/+2
|
* Only manpages with fatal errors should be rendered by groff(1)bapt2015-01-031-1/+1
|
* Add Makefile for elftoolchain readelf(1)emaste2015-01-021-0/+14
| | | | Sponsored by: The FreeBSD Foundation
* Merge ^/head r274961 through r276472.dim2014-12-312-2/+2
|\
| * Fixes to exit status.pfg2014-12-312-2/+2
| | | | | | | | | | | | | | | | | | | | | | Exit with EXIT_FAILURE for invalid arguments. Fixes NetBSD-PR 43517. Print version string to stdout instead of stderr; it is user-requested and not an error. Obtained from: NetBSD MFC after: 5 days
* | Merge ^/head r274961 through r276418.dim2014-12-301-1/+1
|\ \ | |/
| * mdoc: remove EOL whitespace.joel2014-12-291-1/+1
| |
* | Merge ^/head r274961 through r276301.dim2014-12-2720-83/+123
|\ \ | |/
| * mdoc: sort SEE ALSO.joel2014-12-2612-27/+27
| |
| * mandoc -Tlocale is now the default, no need to enforce it anymorebapt2014-12-251-1/+1
| |
| * Update mandoc to 1.13.2bapt2014-12-251-6/+7
| |
| * patch: Bring in xstrdup and use it when appropriate.pfg2014-12-254-18/+35
| | | | | | | | | | | | | | | | | | | | | | | | The function savestr allows NULL return values during Plan A patching so in case of out of memory conditions, Plan B can step in. In many cases, NULL value is not properly handled, so use xstrdup here (it's outside Plan A/B patching, which means that even Plan B relies on successful operations). Clean up some whitespaces while here Obtained from: OpenBSD MFC after: 2 weeks
| * Sync with NetBSD, mainly address NetBSD bug #43355:delphij2014-12-182-31/+53
| | | | | | | | | | | | | | | | Fix valid_format() to be more careful about allowing only valid printf formats. Obtained from: NetBSD MFC after: 2 weeks
* | Merge ^/head r275759 through r275911.dim2014-12-183-8/+14
|\ \ | |/
| * Adjust printf format specifiers for dev_t and ino_t in user space.gleb2014-12-172-7/+10
| | | | | | | | | | | | ino_t and dev_t are about to become uint64_t. Reviewed by: kib, mckusick
| * sed: Bounds check the file path used in the 'w' command.pfg2014-12-161-1/+4
| | | | | | | | | | | | | | | | Modified version of a diff from Sebastien Marie to prevent a crash found with the afl fuzzer. Obtained from: OpenBSD (CVS Rev. 1.37) MFC after: 1 week
* | Merge ^/head r275715 through r275748.dim2014-12-132-5/+6
|\ \ | |/
| * The size of the first level reference count table is given in terms of themarcel2014-12-122-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | number of clusters it occupies. It's not the number of entries in the table, as it is for the L1 cluster table. For small images, the two are the same. With the unit tests based on small images, this change has therefore no effect on the unit test. For larger images (like the FreeBSD 10.1-RELEASE image), this gives a discrepancy that actually shows up when running "qemu-img check". Bump the version number of mkimg. While here, fix a white-space bug. MFC after: 1 week
* | Merge ^/head r275478 through r275622.dim2014-12-085-84/+315
|\ \ | |/
| * patch(1): avoid line number overflowspfg2014-12-082-34/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | Introduce strtolinenum to properly check line numbers while parsing: no signs, no spaces, just digits, 0 <= x <= LONG_MAX Properly validate line ranges supplied in diff file to prevent overflows. Also fixes an out of boundary memory access because the resulting values are used as array indices. PR: 195436 Obtained from: OpenBSD (CVS pch.c rev 1.45, 1,46, common.h rev 1.28) MFC after: 1 week
| * Small space changespfg2014-12-071-8/+11
| | | | | | | | | | | | | | Mostly to keep in sync with OpenBSD and update the TAG. Obtained from: OpenBSD MFC after: 5 days
| * Prefer setvbuf() to setlinebuf().pfg2014-12-071-3/+3
| | | | | | | | | | | | | | On FreeBSD's libc setlinebuf is a wrapper to setvbuf anyways. Obtained from: OpenBSD MFC after: 5 days
| * Merge fixes from OpenBSD.pfg2014-12-061-38/+40
| | | | | | | | | | | | | | | | Check fstat return value. Also, use off_t for file size and offsets. Avoid iterating over end of string. Obtained from: OpenBSD (CVS rev. 1.41, 1.43) MFC after: 1 week
| * Update OpenBSD CVS revision for our r255232.pfg2014-12-051-1/+1
| | | | | | | | | | | | This is a no-op to make it easier to track changes from OpenBSD MFC after: 3 days
| * Move iscsi.conf.5 from sbin/iscontrol/ to usr.bin/iscsictl/, as thetrasz2014-12-052-1/+189
| | | | | | | | | | | | | | former is obsolete. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* | Merge ^/head r275387 through r275477.dim2014-12-044-28/+16
|\ \ | |/
| * Update to mandoc cvs version as of 20141201bapt2014-12-024-28/+16
| | | | | | | | | | | | - Compatiblity with existing manpages has been improved - Now support ".so" directive with compressed manpages (which fixes a regression we have since we have new man(1))
* | Merge ^/head r274961 through r275386.dim2014-12-026-1/+101
|\ \ | |/
| * Build infrastructure for elftoolchain toolsemaste2014-12-016-1/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version of the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * strings Reviewed by: bapt (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1224
| * Merge from projects/sendfile:glebius2014-11-305-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Introduce a notion of "not ready" mbufs in socket buffers. These mbufs are now being populated by some I/O in background and are referenced outside. This forces following implications: - An mbuf which is "not ready" can't be taken out of the buffer. - An mbuf that is behind a "not ready" in the queue neither. - If sockbet buffer is flushed, then "not ready" mbufs shouln't be freed. o In struct sockbuf the sb_cc field is split into sb_ccc and sb_acc. The sb_ccc stands for ""claimed character count", or "committed character count". And the sb_acc is "available character count". Consumers of socket buffer API shouldn't already access them directly, but use sbused() and sbavail() respectively. o Not ready mbufs are marked with M_NOTREADY, and ready but blocked ones with M_BLOCKED. o New field sb_fnrdy points to the first not ready mbuf, to avoid linear search. o New function sbready() is provided to activate certain amount of mbufs in a socket buffer. A special note on SCTP: SCTP has its own sockbufs. Unfortunately, FreeBSD stack doesn't yet allow protocol specific sockbufs. Thus, SCTP does some hacks to make itself compatible with FreeBSD: it manages sockbufs on its own, but keeps sb_cc updated to inform the stack of amount of data in them. The new notion of "not ready" data isn't supported by SCTP. Instead, only a mechanical substitute is done: s/sb_cc/sb_ccc/. A proper solution would be to take away struct sockbuf from struct socket and allow protocols to implement their own socket buffers, like SCTP already does. This was discussed with rrs@. Sponsored by: Netflix Sponsored by: Nginx, Inc.
* | Merge ^/head r275262 through r275363.dim2014-12-015-14/+16
| |
* | Merge ^/head r274961 through r275261.dim2014-11-291-1/+1
|\ \ | |/
| * MF projects/building-blocks r275198:ngie2014-11-291-1/+1
| | | | | | | | Use ${.TARGET} instead of hardcoding the name in the dump build rule
* | Merge ^/head r275118 through r275209.dim2014-11-281-3/+3
|\ \ | |/
| * Init array field in the proper place.kevlo2014-11-271-3/+3
| | | | | | | | Obtained from: OpenBSD
| * Convert svn to LIBADD reduce overlinkingbapt2014-11-259-61/+27
| |
* | Update build for LLDB snapshot at upstream rev 216948emaste2014-11-261-3/+9
| | | | | | | | Sponsored by: DARPA, AFRL
OpenPOWER on IntegriCloud