summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* ssh-copy-id: avoid sending private keys; add -v optioneadler2014-03-012-6/+16
| | | | | | | | | | | | 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. Reported by: dweimer <dweimer@dweimer.net> Reported by: feld MFC After: 1 week
* Merge from head up to r262536.dim2014-02-262-7/+3
|\
| * Update LLDB snapshot to upstream r202189emaste2014-02-261-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
| | * Update LLDB bmake build for r262187emaste2014-02-181-2/+3
| | | | | | | | | | | | Sponsored by: DARPA, AFRL
| * | There is no need to prevent iscsictl from adding iSER session when theretrasz2014-02-261-5/+0
| | | | | | | | | | | | | | | | | | | | | 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
* | | Merge from head up to r262415.dim2014-02-233-6/+4
|\ \ \ | |/ /
| * | Capability rights are held by descriptors, not processes.pjd2014-02-231-1/+1
| | | | | | | | | | | | Reported by: jonathan
| * | Fix parsing multiple roots with whitespace between them.theraven2014-02-231-0/+1
| | | | | | | | | | | | Patch by: Patrick Wildt
| * | Simplify the way the end of a singly linked list is followed (for addingbrueffer2014-02-221-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 after: 2 weeks
* | | Add Makefile glue to build the Sparc backend libraries and link themdim2014-02-206-0/+36
|/ / | | | | | | into the clang executable.
* | Match our implementation of iconv's inbuf argument.peter2014-02-201-1/+1
| |
* | Import svn-1.8.8.peter2014-02-201-4/+4
| | | | | | | | | | | | | | Highlights: * Security fix for apache server plugin that we don't build or use * sqlite performance improvements. * bug fixes for edge cases and some other less common operations.
* | Make it clear that there are two ways to add a session using iscsictl(8),trasz2014-02-201-1/+16
|/ | | | | | | and some options require configuration file. Reviewed by: emaste Sponsored by: The FreeBSD Foundation
* Update lldb for clang/llvm 3.4 importemaste2014-02-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* calendar(1): don't segfault in invalid inputeadler2014-02-171-0/+4
| | | | | | | | | When the user supplies an invalid number of days provide a useful error message instead of segfaulting. PR: bin/186697 Reported by: kaltheat <kaltheat@gmail.com> Submitted by: oliver <oliver@beefrankly.org> (older version)
* Upgrade our copy of llvm/clang to 3.4 release. This version supportsdim2014-02-1630-477/+216
| | | | | | | | | | | | | | | | | 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 after: 1 month
* Mention that rctl(8) was sponsored by the Foundation.trasz2014-02-161-3/+4
| | | | Sponsored by: The FreeBSD Foundation
* Rework rctl(8) manpagebdrewery2014-02-151-55/+135
| | | | | | | | | | | | | | | | | | | | | | | | - Note that kernel options are required - Shift parameters around in SYNOPSIS to make it more clear that there are different modes - For all literal symbols such as 'process' or 'loginclass' or 'wallclock', etc, make them into bold symbols with .Sy - For each subject:subject-id:etc: use .Em to underline to make it more clear they relate to the rule syntax - Document how devd(8) support works - Move RSS warning to BUGS and replace RSS with 'memoryuse' since 'RSS' is not defined in the manpage - Add more examples around listing existing rules - Make rule syntax into a list to improve readability - Add a list of subjects and their corresponding subject-id same as RESOURCES/ACTIONS have lists - Note that rctl(8) takes affect on all current and future processes - Note that amount can take human numbers - Add reference to login.conf(5) in few places login class is mentioned Reviewed by: trasz Approved by: bapt (mentor) MFC after: 1 week
* Remove mention of minimum password length and upper/lower case checking,wblock2014-02-141-19/+3
| | | | | | | | | | patch supplied by Allan Jude <freebsd@allanjude.com>. Add xref to pam_passwdqc(8), where that testing is now done. PR: docs/184482 Submitted by: Ryan Gerstenkorn <ryan_gerstenkorn@fastmail.fm> Reviewed by: jilles, eadler MFC after: 3 days
* Whenever flowtable lookup fails, we do route lookup and then try toglebius2014-02-141-1/+3
| | | | | | | | | | | | | | | | | | insert flow entry. During the route lookup the critical section is exited. It may happen, that after route lookup we will be executed on an other CPU that already has such flowentry. Before this change we simply freed the flowentry and returned to ip_output() with failure. Actually there is nothing wrong with using previously allocated flow entry, updating it properly. Thus, make flowentry_insert() return the new either old fle, and make use of it. Count reuses as "collisions" and real inserts as "inserts". Reviewed by: adrian Sponsored by: Netflix Sponsored by: Nginx, Inc.
* Reword.adrian2014-02-141-1/+1
| | | | Suggestion: glebius
* Don't insert a flowtable entry if the lle isn't yet valid.adrian2014-02-141-0/+1
| | | | | | | | | | | | | | | | | | Some of the collisions that are occuring are due to flowtable lookups that succeed but have an invalid lle - typically because the L2 adjacency lookup hasn't completed. This would lead to a follow-up insert which would then fail (ie, collision) and the code would fall through to doing a slow-path L2/L3 lookup in the netinet/netinet6 code. This patch simply aborts storing a new flowtable entry if the lle isn't yet valid. Whilst I'm here, add a new pcpu counter for the item so the number of failures can be tracked separately from generic "collisions." Reviewed by: glebius MFC after: 10 days Sponsored by: Netflix, Inc.
* Fix world build WITHOUT_PF.glebius2014-02-122-1/+9
| | | | Sponsored by: Nginx, Inc.
* Expose OBJT_MGTDEVICE VM objects used for GEM/TTM with drm2 as anjhb2014-02-112-1/+7
| | | | | | | explicit object type. Reviewed by: kib MFC after: 1 week
* Make iscsictl(8) properly handle (optional) semicolons in iscsi.conf,trasz2014-02-102-1/+5
| | | | | | instead of ignoring them and echoing them to stdout. Sponsored by: The FreeBSD Foundation
* Simplify.trasz2014-02-101-22/+22
| | | | Sponsored by: The FreeBSD Foundation
* Remove unused variable.trasz2014-02-101-2/+0
| | | | Sponsored by: The FreeBSD Foundation
* Yacc cleanup; no functional changes.trasz2014-02-101-33/+33
| | | | Sponsored by: The FreeBSD Foundation
* mdoc: minor paragraph fixes.joel2014-02-086-7/+1
|
* Correct example.joel2014-02-081-2/+2
| | | | | Submitted by: Jason McIntyre <jmc@kerhand.co.uk> Thomas Klausner <wiz@netbsd.org>
* o Revamp API between flowtable and netinet, netinet6.glebius2014-02-074-3/+87
| | | | | | | | | | | | | | | | | | | | | | | | - ip_output() and ip_output6() simply call flowtable_lookup(), passing mbuf and address family. That's the only code under #ifdef FLOWTABLE in the protocols code now. o Revamp statistics gathering and export. - Remove hand made pcpu stats, and utilize counter(9). - Snapshot of statistics is available via 'netstat -rs'. - All sysctls are moved into net.flowtable namespace, since spreading them over net.inet isn't correct. o Properly separate at compile time INET and INET6 parts. o General cleanup. - Remove chain of multiple flowtables. We simply have one for IPv4 and one for IPv6. - Flowtables are allocated in flowtable.c, symbols are static. - With proper argument to SYSINIT() we no longer need flowtable_ready. - Hash salt doesn't need to be per-VNET. - Removed rudimentary debugging, which use quite useless in dtrace era. The runtime behavior of flowtable shouldn't be changed by this commit. Sponsored by: Netflix Sponsored by: Nginx, Inc.
* Let units deal with Gas Mark and Stufe.dwmalone2014-02-061-0/+2
|
* Print the MD5 signature information introduced in r221023 in thebz2014-02-051-0/+11
| | | | | | TCP statistics output. MFC after: 3 weeks
* Use the DELTA() macro to tidy the server-side interval stats code a bit.jhb2014-02-051-18/+9
| | | | MFC after: 2 weeks
* Partially revert r52493 and change client side interval statistics tojhb2014-02-051-17/+18
| | | | | | | | report the actual number of RPCs issued, not the theoretical number that would be issued if all caching was disabled. Reviewed by: rmacklem MFC after: 2 weeks
* Merge mdocml v1.12.3 into headuqs2014-02-011-1/+1
| | | | MFC after: 2 weeks
* Merge from CheriBSD:brooks2014-01-303-3/+16
| | | | | | | | | | | | | 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. MFC after: 4 weeks Sponsored by: DARPA, AFRL
* Don't build BSDL dtc if the GPL dtc is enabled.imp2014-01-291-1/+4
|
* Increase the default (and minimum) buffer size from 4 kB to 16 kB. Also,des2014-01-282-4/+5
| | | | | | | propagate the buffer size to libc, which uses a 1 kB buffer by default, negating any hypothetical benefit of increasing fetch(1)'s buffer size. MFC after: 3 days
* whitespace and bump copyrightdes2014-01-281-3/+3
|
* Merge bmake-20140101 from vendorsjg2014-01-273-5/+9
|
* login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM.jilles2014-01-261-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 Reviewed by: ed
* Bring back r226403, the fix for bin/161526, which was (accidentally?)trociny2014-01-171-3/+6
| | | | | | | | reverted in r238896. PR: bin/161526 Reported by: Karli.Sjoberg slu.se MFC after: 3 days
* Print the ktr(4) format line that caused a failure.glebius2014-01-171-1/+1
| | | | Sponsored by: Nginx, Inc.
* Re-work r260800 to include other signals which start with 'I'csjp2014-01-171-11/+10
| | | | | | | such as ILL, INFO etc.. Submitted by: delphij MFC after: 2 weeks
* fix a regression introduced in r237618 that would result incsjp2014-01-171-3/+9
| | | | | | | | | killall confusing killall -INT with killall -I (interactive confirmation) which resulted in the wrong signal (TERM) being delivered to the process(s). Discussed with: delphij MFC after: 2 weeks
* Add missing EM_PPC64 to e_machine header display.jhibbits2014-01-141-0/+1
| | | | MFC after: 1 week
* Prevent misc_helpers from running as a test.jmmv2014-01-131-1/+9
| | | | | | | | | | | | | | | | Do this by generating misc_helpers explicitly, without using the ATF_TESTS_SH functionality. While this script is technically an atf-sh test program, it is not intended to be run as a test and therefore it mustn't end up in the Kyuafile. Using ATF_TESTS_SH means that misc_helpers ended up registered in the Kyuafile and then failed to run as a test. The alternative would be to supply an explicit Kyuafile from this directory that lists the known test files, but doing it the way described above will be easier to maintain. MFC after: 3 days
* Generate and install pkg-config files for atf.jmmv2014-01-121-0/+11
| | | | | | | | | | These files are required to get packages in ports to build against atf and also to get a couple of currently-failing tests to pass. I'm following the approach already used by the libusb pkg-config files installed by the system regarding the location and the install rules. MFC after: 5 days
* find: Allow -type d without statting everything.jilles2014-01-111-2/+8
| | | | | | | | | fts(3) detects directories even in FTS_NOSTAT mode (so it can descend into them). No functional change is intended, but find commands that use -type d but no primaries that still require stat/lstat calls make considerably fewer system calls.
OpenPOWER on IntegriCloud