summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix bspatch heap overflow vulnerability. [SA-16:29]delphij2016-10-101-75/+153
| | | | | | | | Fix multiple portsnap vulnerabilities. [SA-16:30] Fix multiple libarchive vulnerabilities. [SA-16:31] Approved by: so
* Fix bspatch heap overflow vulnerability. [SA-16:25]delphij2016-07-251-0/+4
| | | | | | | Fix freebsd-update(8) support of FreeBSD 11.0 release distribution. [EN-16:09] Approved by: so
* MFS r296911:bdrewery2016-03-151-4/+10
| | | | | | | Filemon: Attach from the child to avoid racing with the parent attach. Relnotes: yes Approved by: re (marius)
* Merge 296424 from stable/10 - contains the following changes to -current:dwmalone2016-03-061-1/+1
| | | | | | | | | r295924: Make sure that hash-based db files fsync befor closing/syncing. r295925: We no longer need O_SYNC pwd_mkd r295465: We no longer need O_SYNC on services_mkdb r295800: We no longer need O_SYNC on cap_mkdb Approved by: re (marius)
* MFC 295636,295637:jhb2016-02-242-1/+3
| | | | | | | | | | | | | | | | Fix issues with tracing Linux/i386 binaries. 295636: Sign extend the error value for failing Linux/i386 system calls. This restores the mapping of Linux errors to native FreeBSD errno values after the refactoring in r288424. 295637: Correct the ABI name for Linux/i386 binaries under FreeBSD/i386. This allows truss to work for these binaries again after r288424. Approved by: re (marius)
* MFC revisions 294861,294863dteske2016-02-012-5/+14
| | | | | | | r294861: Add `-k' for dpv(3) `keep_tite' config option r294863: Bump copyright Approved by: re (gjb)
* MFC r289797: dpv(1) merged to stable/10 before release/10.2.0dteske2016-01-271-3/+3
|
* MFC r294347asomers2016-01-261-7/+4
| | | | | | | | | Fix usr.bin.truncate.truncate_test.bad_truncate with ZFS /tmp. The bad_truncate test sets the uimmutable flag to produce an error in truncate, but that flag isn't supported by ZFS. If /tmp is on a ZFS filesystem, the test will fail. Change it to use readonly permissions and an unpriveleged user instead.
* MFH (r290742): don't index /var/db/freebsd-updatedes2016-01-262-2/+2
|
* MFC r289453:trasz2016-01-232-7/+89
| | | | | | | Add -w flag to iscsictl(8) utility, to make it wait for successfull session establishment. Scripting is kind of hard without it. Sponsored by: The FreeBSD Foundation
* MFC r288083, r288138: elfdump: report MIPS-specific ELF section typesemaste2016-01-201-0/+2
|
* MFC r293190: MFV r293125: less v481.delphij2016-01-181-0/+5
| | | | Relnotes: yes
* MFC r289873:tuexen2016-01-185-2/+385
| | | | | | Add support to systat to display SCTP statistics. MFC r289874: Bump date in man page.
* MFC r287281:tuexen2016-01-171-3/+1
| | | | | Report CLOSED as state for bound sockets for consistency with netstat and the way TCP is handled.
* MFC r287182:tuexen2016-01-172-7/+63
| | | | Add SCTP support.
* MFC r287179:tuexen2016-01-171-3/+2
| | | | Remove a variable which is set but never used.
* MFH (r287178): print status on first line, not last.des2016-01-171-11/+12
| | | | This revision has previously been (incorrectly) recorded as merged.
* MFC r285651:tuexen2016-01-171-2/+2
| | | | | | | Move assignments around to avoid a false-positive uninitialized variable warning which broke the sparc64 build. This is work from des@ and MFCing was discussed with him.
* MFC r285630:tuexen2016-01-172-8/+33
| | | | | | | Add a -s option which adds a column listing the connection state if applicable (currently only for TCP). This is work from des@ and MFCing was discussed with him.
* MFH (r280630): remove all traces of SSLv2 supportdes2016-01-162-21/+11
| | | | | | | | | | | MFH (r285141): remove unused variable MFH (r288217): correctly check return value from getaddrinfo(3) MFH (r289419): fix bugs in HTTPS tunnelling MFH (r289420): use fopen()'s "e" mode instead of fcntl for close-on-exec MFH (r291453, r291461): use .netrc for http servers and proxies MFH (r292330, r292332): reset bufpos to 0 after refilling in chunked mode PR: 194483 199801 193740 204771
* MFC r287284:tuexen2016-01-161-7/+16
| | | | Use the userland exported states and handle them completely.
* MFC r283430:dchagin2016-01-163-19/+51
| | | | Teach kdump to understand both linux emulation.
* Now that futimens() and utimensat() have been merged, add decoding forjhb2016-01-142-1/+37
| | | | | those system calls that was left out of the previous merge of r286381 in r290052.
* MFC r293312:garga2016-01-141-1/+1
| | | | | | | | | | | | | Make cap_mkdb and services_mkdb file operations sync Similar fix was done for passwd and group operations in r285050. When a temporary file is created and then renamed to replace official file there are no checks to make sure data was written to disk and if a power cycle happens at this time, system can end up with a 0 length file Approved by: bapt Sponsored by: Netgate Differential Revision: https://reviews.freebsd.org/D2982
* MFC r292950:dim2016-01-122-1/+7
| | | | | | Drop the clang patch which adds recognition of 'CC' suffixes as aliases for --driver-mode=g++, since this was never upstreamed. For backwards compatibility, add a wrapper shell script.
* MFC: r285552allanjude2016-01-127-10/+44
| | | | | | | | | | | | | | | | | | | Use strtonum(3) instead of atoi(3) MFC: r286289 Introduce -P0, creating as many concurrent processes as possible Relnotes: yes MFC: r286461 Fix regression in xargs -Px, add more regression tests MFC: r287004 MFC: r287005 Fix the racy xargs -P0 -n2 test added in r286289 PR: 199976 Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com>
* MFC r290408:trasz2016-01-111-1/+1
| | | | | | Make rctl(8) use more reasonable buffer size for retrieving the rules. Sponsored by: The FreeBSD Foundation
* MFC r290404:trasz2016-01-111-5/+5
| | | | | | Fix markup in rctl(8) - the 'rule' or 'filter' arguments are not optional. Sponsored by: The FreeBSD Foundation
* Unbreak stable/10 buildworlds on arm/arm, mips/mips, mips/mips64, mips/mipsel,ngie2016-01-101-41/+0
| | | | | | | | | | | | | | | mips/mipsn32, powerpc/powerpc, powerpc/powerpc64, sparc64/sparc64 with gcc after r293307 (some of the BURN_BRIDGES code) MFC after: 3 days Pointyhat to: markj Sponsored by: EMC / Isilon Storage Division MFC r279017: r279017 (by glebius): Burn bridges to FreeBSD 7.x IGMP stats.
* MFC r277610 (by jillies):dchagin2016-01-091-0/+1
| | | | Add futimens and utimensat system calls.
* MFC: 292394gnn2016-01-072-14/+21
| | | | | | | | Switch the IPsec related statistics to using the built in sysctl variable set rather than reading from kernel memory. This also makes the -z (zero) flag work correctly Sponsored by: Rubicon Communications, LLC (Netgate)
* MFC r287649:markj2016-01-0710-262/+113
| | | | | Use a common subroutine to fetch and zero protocol stats instead of duplicating roughly similar code for each protocol.
* MFC r289677:bdrewery2016-01-0712-21/+21
| | | | Fix a ton of speelling errors
* bmake 20151220sjg2016-01-041-2/+2
|
* MFC r291155:pfg2015-12-264-13/+14
| | | | | | | | | | | | | | | | | | | | bc: sync with OpenBSD tty.c Rev. 1.3 Avoid unintended problems with operator precedence when doing an assignment and comparison. bc.1, Rev. 1.31, 1.32 '.Ql Quit' -> '.Ql quit' because only the lowercase command is valid. Clarify sentence about `quit` in BUGS section. extern.h, Rev. 1.12 whitespace bc.y, Rev. 1.47 Prefer setvbuf() to setlinebuf() for portability Obtained from: OpenBSD
* MFC: xz 5.2.2.delphij2015-12-228-16/+17
| | | | Relnotes: yes
* MFC r289349: mkimg: support fat16b partitions (MBR type 06h)emaste2015-12-164-0/+10
| | | | Sponsored by: The FreeBSD Foundation
* MFC r266566:bdrewery2015-12-141-1/+0
| | | | | | | | | | | | | | | | | Add .../share/mk to the default system make path. This will fix the problem with broken in-tree builds (which are used far more pervasively than I'd known outside the tree). However, weird results may now happen if at any point in the tree above you there happens to be a directory that has subdirectory of share/mk, as unpredictable results will follow. This was considered the lessor of the two evils, at least for now. In the future this will be removed again when the underlying issues are resolved. For MFCing, this is to ensure that when upgrading to head the share/mk in-tree is always used. Otherwise several build features will not work. This passes a build using head's bmake which has this as the default already. Relnotes: yes
* Merge bmake-20151201sjg2015-12-103-38/+106
|
* Fix mis-merge in r291816, nl_defs.h not used here.bdrewery2015-12-041-1/+1
|
* MFC: r291091bapt2015-12-041-11/+5
| | | | | | | | | | | | | install: do not follow symlinks In case the target of install is a dead symlink, install(1) used to not consider it as "existing" because of the usage of stat(2) instead of lstat(2). meaning the old file (the symlink) is not removed before the new file is created. The symlink is being followed and the new file becoming the target of the symlink instead of the target of install(1) Reviewed by: jhb, brooks Differential Revision: https://reviews.freebsd.org/D4191
* MFC r291348:bdrewery2015-12-044-4/+4
| | | | Use LIBEXECDIR for /usr/libexec.
* MFC r291330:bdrewery2015-12-043-4/+3
| | | | Replace DPSRCS that work fine in SRCS.
* MFC r284289,r288267:bdrewery2015-12-041-1/+1
| | | | | | | r284289: Misc fixes from projects/bmake r288267: Remove redundant .NOPATH.
* MFC r291329:bdrewery2015-12-042-5/+0
| | | | Remove redundant DPSRCS which were already in SRCS.
* MFC r291026:bdrewery2015-12-041-2/+0
| | | | Remove unneeded libmd from bootstrap-tools (reverting r246784).
* MFC r290431:bdrewery2015-12-041-0/+1
| | | | Add SUBDIR_PARALLEL.
* MFC r290083:bdrewery2015-12-041-1/+1
| | | | Use more appropriate ${SHAREDIR} rather than /usr/share.
* MFC r289872:bdrewery2015-12-041-3/+7
| | | | Replace gcc reference with 'cc' and document the default ${CC}.
* MFC r291097:ume2015-11-271-1/+4
| | | | Don't truncate an interface name when -W option is specified.
OpenPOWER on IntegriCloud