summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* MFC r264581, r264744:pfg2014-04-3014-73/+73
| | | | | | Various style(9) fixes and typos in printf, grep, sort and patch. #define should be followed by a tab.
* MFC various moves of tools/regressions/ tests to the new infrastructure.jmmv2014-04-27884-1/+31064
| | | | | | | | | | | | | | | | - r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile missed in r263220. - r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. - r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout. - r263345 Expand tabs that sneaked in into spaces. - r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout. - r263348 Add Makefiles missed in r263346. - r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout. - r263388 Mark multi_test as requiring /usr/share/dict/words. - r263814 Fix path to the run.pl script to let these tests run. - r264742 Prevent building tests when bootstrapping make. This is 'make tinderbox' clean.
* MFC: r264419brueffer2014-04-221-1/+0
| | | | | | | Avoid double close() of a file descriptor. CID: 1006089 Found with: Coverity Prevent(tm)
* MFC: r264418brueffer2014-04-221-1/+0
| | | | | | | Avoid double free in f_acl(). CID: 1018508 Found with: Coverity Prevent(tm)
* MFC r263989: Add atf m4 files from the vendor branch.jmmv2014-04-171-0/+2
|
* MFC refactoring of the *.test.mk files.jmmv2014-04-141-1/+1
| | | | | | | | | - r263161 Make bsd.test.mk the only public mk fragment for the building of tests. - r263172 Move FreeBSD Test Suite-specific code to a suite.test.mk file. - r263204 Add some documentation for bsd.test.mk. - r263217 Document support for TAP-compliant Perl test programs. This is "make tinderbox" clean.
* MFC r263879:bdrewery2014-04-112-11/+30
| | | | Add `-S' to display syscall numbers in the output as well.
* MFC r263778:dim2014-04-092-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process all the SUBDIR entries in parallel, instead of serially. Apply this option to a selected number of Makefiles, which can greatly speed up the build on multi-core machines, when using make -j. This can be extended to more Makefiles later on, whenever they are verified to work correctly with parallel building. I tested this on a 24-core machine, with make -j48 buildworld (N = 6): before stddev after stddev ======= ====== ======= ====== real time 1741.1 16.5 959.8 2.7 user time 12468.7 16.4 14393.0 16.8 sys time 1825.0 54.8 2110.6 22.8 (user+sys)/real 8.2 17.1 E.g. the build was approximately 45% faster in real time. On machines with less cores, or with lower -j settings, the speedup will not be as impressive. But at least you can now almost max out a machine with buildworld! Submitted by: jilles MFC r263833: Enable parallel building for gnu/usr.bin and usr.bin/clang too.
* Merge r263203: garbage collect long time obsoleted (or never used) stuffglebius2014-04-092-18/+0
| | | | from routing API.
* login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM.jilles2014-04-061-18/+77
| | | | | | | | | | | | | | | | This avoids leaving stale entries in utmpx after the connection is closed on an open login session. It also allows a clean way (SIGTERM) to forcibly terminate a user's terminal session. This does not affect the situation for "hung" processes after the connection is closed. The foreground process group receives SIGHUP and the tty becomes inaccessible. Also replace all use of the obsolete signal() function with sigaction() (not only the part where it is actually required: SIGHUP and SIGTERM must mask the other as well when caught). PR: misc/183495
* MFC r263244: find: When performing -quit, finish pending -exec ... + commandjilles2014-04-051-0/+1
| | | | | | | | | lines. This avoids unexpected partial processing when a find command uses both -quit and -exec ... +. GNU find does the same.
* o Provide a compatibility shim for netstat(1) to obtain output queueglebius2014-04-031-3/+8
| | | | | | | | | | | | | drops via NET_RT_IFLISTL sysctl. The sysctl handler appends oqdrops at the end of struct if_msghdrl, and netstat(1) sees that as an additional field of struct if_data. This allows us to fetch the data keeping ABI and API compatibility. This is direct commit to stable/10. o Merge r263331 from head, to restore printing of queue drops. Sponsored by: Nginx, Inc. Sponsored by: Netflix
* MFC r262657:dim2014-03-261-0/+6
| | | | | | | Apply fix for lldb not linking after the sparc backend import. Reported by: se Pointy hat to: dim
* MFC r262613:dim2014-03-266-0/+36
| | | | | | | | | | | | | | | | | | | | | Merge the projects/clang-sparc64 branch back to head. This brings in several updates from the llvm and clang trunks to make the sparc64 backend fully functional. Apart from one patch to sys/sparc64/include/pcpu.h which is still under discussion, this makes it possible to let clang fully build world and kernel for sparc64. Any assistance with testing this on actual sparc64 hardware is greatly appreciated, as there will unavoidably be bugs left. Many thanks go to Roman Divacky for his upstream work on getting the sparc64 backend into shape. MFC r262985: Repair a few minor mismerges from r262261 in the clang-sparc64 project branch. This is also to minimize differences with upstream.
* MFC r261962:trasz2014-03-251-3/+4
| | | | | | Mention that rctl(8) was sponsored by the Foundation. Sponsored by: The FreeBSD Foundation
* Merge missed r262819, that fixes broken build.glebius2014-03-231-4/+4
|
* MFC 261991:dim2014-03-2131-477/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade our copy of llvm/clang to 3.4 release. This version supports all of the features in the current working draft of the upcoming C++ standard, provisionally named C++1y. The code generator's performance is greatly increased, and the loop auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The PowerPC backend has made several major improvements to code generation quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ backends have all seen major feature work. Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.4/docs/ReleaseNotes.html> <http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html> MFC 262121 (by emaste): Update lldb for clang/llvm 3.4 import This commit largely restores the lldb source to the upstream r196259 snapshot with the addition of threaded inferior support and a few bug fixes. Specific upstream lldb revisions restored include: SVN git 181387 779e6ac 181703 7bef4e2 182099 b31044e 182650 f2dcf35 182683 0d91b80 183862 15c1774 183929 99447a6 184177 0b2934b 184948 4dc3761 184954 007e7bc 186990 eebd175 Sponsored by: DARPA, AFRL MFC 262186 (by emaste): Fix mismerge in r262121 A break statement was lost in the merge. The error had no functional impact, but restore it to reduce the diff against upstream. MFC 262303: Pull in r197521 from upstream clang trunk (by rdivacky): Use the integrated assembler by default on FreeBSD/ppc and ppc64. Requested by: jhibbits MFC 262611: Pull in r196874 from upstream llvm trunk: Fix a crash that occurs when PWD is invalid. MCJIT needs to be able to run in hostile environments, even when PWD is invalid. There's no need to crash MCJIT in this case. The obvious fix is to simply leave MCContext's CompilationDir empty when PWD can't be determined. This way, MCJIT clients, and other clients that link with LLVM don't need a valid working directory. If we do want to guarantee valid CompilationDir, that should be done only for clients of getCompilationDir(). This is as simple as checking for an empty string. The only current use of getCompilationDir is EmitGenDwarfInfo, which won't conceivably run with an invalid working dir. However, in the purely hypothetically and untestable case that this happens, the AT_comp_dir will be omitted from the compilation_unit DIE. This should help fix assertions occurring with ports-mgmt/tinderbox, when it is using jails, and sometimes invalidates clang's current working directory. Reported by: decke MFC 262809: Pull in r203007 from upstream clang trunk: Don't produce an alias between destructors with different calling conventions. Fixes pr19007. (Please note that is an LLVM PR identifier, not a FreeBSD one.) This should fix Firefox and/or libxul crashes (due to problems with regparm/stdcall calling conventions) on i386. Reported by: multiple users on freebsd-current PR: bin/187103 MFC 263048: Repair recognition of "CC" as an alias for the C++ compiler, since it was silently broken by upstream for a Windows-specific use-case. Apparently some versions of CMake still rely on this archaic feature... Reported by: rakuco MFC 263049: Garbage collect the old way of adding the libstdc++ include directories in clang's InitHeaderSearch.cpp. This has been superseded by David Chisnall's commit in r255321. Moreover, if libc++ is used, the libstdc++ include directories should not be in the search path at all. These directories are now only used if you pass -stdlib=libstdc++.
* Merge r262763, r262767, r262771, r262806 from head:glebius2014-03-213-31/+38
| | | | | | | | | | - Remove rt_metrics_lite and simply put its members into rtentry. - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This removes another cache trashing ++ from packet forwarding path. - Create zini/fini methods for the rtentry UMA zone. Via initialize mutex and counter in them. - Fix reporting of rmx_pksent to routing socket. - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode.
* Merge r259562,r259566,r259638,r259645,r260124 by melifaro:glebius2014-03-197-214/+351
| | | | | Switch netstat -rn to use standard API for retrieving list of routes instead of peeking inside in-kernel radix via kget.
* MFC r262540:eadler2014-03-132-253/+202
| | | | | | r262540 | eadler | 2014-02-26 19:52:34 -0500 (Wed, 26 Feb 2014) | 2 lines I had some unrelated (wrong) changes to makewhatis. Undo them.
* MFC r262539:eadler2014-03-132-202/+253
| | | | | | linprocfs: add support for /sys/kernel/random/uuid PR: kern/186187
* Bulk sync of pf changes from head, in attempt to fixup broken build Iglebius2014-03-125-3/+23
| | | | | | | | | made in r263029. Merge r257186,257215,257349,259736,261797. These changesets split pfvar.h into several smaller headers and make userland utilities to include only some of them.
* MFC: r262333brueffer2014-03-081-5/+2
| | | | | | | | | | Simplify the way the end of a singly linked list is followed (for adding items), so it is more obvious that we aren't going to indirect through a NULL pointer. PR: 144723 Submitted by: Garrett Cooper <yaneurabeya at gmail.com> Obtained from: NetBSD r1.19
* MFC r262645,r262647:eadler2014-03-082-6/+19
| | | | | | | | | | | | | | | ssh-copy-id: avoid sending private keys; add -v option To help avoid confusion: when attempting to send a key file check to see if a file of the same name exists with a '.pub' suffix and send that instead. This mimics the behavior of other ssh-copy-id scripts. Add -v passthrough. ssh-copy-id: add restorecon call In certain situations when creating an authorized_key file on a Linux machine restorecon(1) may need to be called. Therefore, attempt to run it if it exists.
* MFC various fixes for the ATF tests.jmmv2014-03-062-1/+20
| | | | | | | | | - r260505 Allow tests to provide a Kyuafile when they relied on auto-generation. - r260525 Respect the original layout of the atf-{c,c++} tests. - r260526 Fix path to the process_helpers for the libatf-c++ tests. - r260576 Generate and install pkg-config files for atf. - r260577 Add atf pkg-config files from the vendor branch. - r260584 Prevent misc_helpers from running as a test.
* MFC r262525:trasz2014-03-061-5/+0
| | | | | | | | There is no need to prevent iscsictl from adding iSER session when there is no iSER support in ctld and/or kernel; should the user make that mistake, the output from "iscsictl -L" is enough to determine what the problem is. Sponsored by: The FreeBSD Foundation
* MFC r262247:trasz2014-03-061-1/+16
| | | | | | | Make it clear that there are two ways to add a session using iscsictl(8), and some options require configuration file. Sponsored by: The FreeBSD Foundation
* MFC r261714:trasz2014-03-062-1/+5
| | | | | | | Make iscsictl(8) properly handle (optional) semicolons in iscsi.conf, instead of ignoring them and echoing them to stdout. Sponsored by: The FreeBSD Foundation
* MFC r261713:trasz2014-03-061-22/+22
| | | | | | Simplify. Sponsored by: The FreeBSD Foundation
* MFC r261712:trasz2014-03-061-2/+0
| | | | | | Remove unused variable. Sponsored by: The FreeBSD Foundation
* MFC r261711:trasz2014-03-061-33/+33
| | | | | | Yacc cleanup; no functional changes. Sponsored by: The FreeBSD Foundation
* Merge r261582, r261601, r261610, r261613, r261627, r261640, r261641, r261823,glebius2014-03-044-3/+90
| | | | | | | | | | r261825, r261859, r261875, r261883, r261911, r262027, r262028, r262029, r262030, r262162 from head. Large flowtable revamp. See commit messages for merged revisions for details. Sponsored by: Netflix
* MFC r261296:brooks2014-03-013-3/+16
| | | | | | | | | | | | | Merge from CheriBSD: commit c1acf022c533c5ae27e0cd556977eafe3f5959eb Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Fri Jan 17 21:46:44 2014 +0000 Add an option WITHOUT_NCURSESW to suppress building and linking to libncursesw. While wide character support it useful we'd like to only need one ncurses library on embedded systems. Sponsored by: DARPA, AFRL
* MFH (r261233): fix whitespace and bump copyrightdes2014-02-272-7/+8
| | | | MFH (r261234): increase buffer size
* MFC r261934:bdrewery2014-02-231-55/+135
| | | | | | Rework rctl(8) manpage Approved by: bapt (mentor, implicit)
* MFC r257129,257936,258084,258569,258602,262250,262251peter2014-02-203-5/+14
| | | | svn-1.8.4, 1.8.5, 1.8.8 and self-contained private support libraries
* MFC 261512,261514:jhb2014-02-191-35/+27
| | | | | | | - Partially revert r52493 and change client side interval statistics to report the actual number of RPCs issued, not the theoretical number that would be issued if all caching was disabled. - Use the DELTA() macro to tidy the server-side interval stats code a bit.
* MFC 261780:jhb2014-02-192-1/+7
| | | | | Expose OBJT_MGTDEVICE VM objects used for GEM/TTM with drm2 as an explicit object type.
OpenPOWER on IntegriCloud