summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined.pjd2012-11-271-0/+2
| | | | MFC after: 2 weeks
* The is_delim function works on wchar_t characters not ints, update theandrew2012-11-241-2/+2
| | | | | | function to take a wchar_t as it's argument. This fixes the build when wchar_t is not an int, i.e. ARM EABI.
* Add 'w' flag to:eadler2012-11-202-10/+35
| | | | | | | | | | | Use whitespace (spaces and tabs) as the delimiter. Consecutive spaces and tabs count as one single field separator. Reviewed by: swildner@dragonflybsd.org Approved by: cperciva Obtained from: DragonFlyBSD MFC after: 1 week
* Use .Nm instead of a self xrefeadler2012-11-191-4/+4
| | | | | Approved by: bcr (mentor) MFC after: 1 week
* Use the correct size when allocating the cmdbuf string.rpaulo2012-11-191-14/+15
| | | | | | | | | | | | cmdlengthdelta is the size of the header and we were using it to allocate a buffer to store the command line. This would mean that the cmdbuf could be too short. In practice this was never noticed unless you usually run top -a. On a stock FreeBSD system you can see the problem by running sendmail and then running top -a on a big terminal window. In practice this doubles to size available to cmdbuf since the header is around 65-68 bytes. Reviewed by: adrian
* Use the macro for standard error return values.eadler2012-11-181-4/+1
| | | | | | | | .Dd not bumped because there is no important content change. Approved by: bcr (mentor) MFC after: 3 days Obtained from: DragonflyBSD
* Make it clear that amin and friends take + and - options.eadler2012-11-181-7/+27
| | | | | | | PR: docs/173265 Submitted by: Anton Shterenlikht <mexas@bristol.ac.uk> Approved by: bcr (mentor) MFC after: 3 days
* Standardize EXIT STATUS instructions in man pages when possible.eadler2012-11-182-7/+3
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Sort options.grog2012-11-171-7/+18
| | | | | | Add comment on standards conformity. MFC after: 14 days
* Correctly handle keywords without options.grog2012-11-171-2/+2
| | | | | Reported by: swills@ MFC after: 14 days
* Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel tohrs2012-11-171-0/+6
| | | | | | | | | | | | userland via routing socket or sysctl. This eliminates the following KAME-specific sin6_scope_id handling routine from each userland utility: sin6.sin6_scope_id = ntohs(*(u_int16_t *)&sin6.sin6_addr.s6_addr[2]); This behavior can be controlled by net.inet6.ip6.deembed_scopeid. This is set to 1 by default (sin6_scope_id will be filled in the kernel). Reviewed by: bz
* Fix whitespace.ed2012-11-172-7/+6
| | | | MFC after: 1 week
* Change fetch(1) to:andre2012-11-161-11/+25
| | | | | | | | | | | o Report the instantaneous bandwidth instead of an average since the beginning of the download. o At the finish of the download report the average bandwidth and also the total time it took instead of 00m00s. Reviewed by: des MFC after: 1 week
* Merge bmake-20121111sjg2012-11-163-4/+10
| | | | | | Also pay attention to MK_SHARED_TOOLCHAIN. Approved by: marcel (mentor)
* Avoid possible null deref if ypclnt_new returns nulleadler2012-11-151-2/+5
| | | | | | | PR: bin/172979 Submitted by: Erik Cederstrand <erik@cederstrand.dk> Approved by: cperciva MFC after: 3 days
* Add option to suppress just the plot in ministat while still retainingeadler2012-11-152-5/+13
| | | | | | | the relative comparison (i.e., useful part). Approved by: cperciva MFC after: 3 days
* Make definition match declarationeadler2012-11-151-1/+1
| | | | | Approved by: cperciva MFC after: 3 days
* - Implement run-time expansion of the KTR buffer via sysctl.jeff2012-11-151-2/+4
| | | | | | | | | | - Implement a function to ensure that all preempted threads have switched back out at least once. Use this to make sure there are no stale references to the old ktr_buf or the lock profiling buffers before updating them. Reviewed by: marius (sparc64 parts), attilio (earlier patch) Sponsored by: EMC / Isilon Storage Division
* For mkcsmapper, conditionalize gcc-specific compile flags.dim2012-11-141-2/+6
| | | | MFC after: 3 days
* Add examples to the ssh-copy-id script.eadler2012-11-131-0/+3
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Clarify where the authorized_key file lives.eadler2012-11-121-2/+2
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Correct date of Stanley's encounter with Livingstone.grog2012-11-111-1/+1
| | | | | Obtained from: Henry Morton Stanley, "How I met Livingstone", http://www.gutenberg.org/dirs/5/1/5/5157/5157-h/5157-h.htm MFC after: 14 days
* Add the standard exit status to the ssh-copy-id man page.eadler2012-11-111-1/+3
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Add the PID column to the list of sort keys.rpaulo2012-11-111-1/+1
|
* More style(9) tabs vs. spaces:grog2012-11-101-25/+25
| | | | | | | - tabs after #define - Not in comments. MFC after: 2 weeks
* Correct date and spelling of encounter between Stanley andgrog2012-11-101-1/+1
| | | | | | Livingstone. MFC after: 2 weeks
* Be a bit more paranoid.eadler2012-11-101-19/+23
| | | | | | | | | Use more portable constructs in order to allow upstream adoption Add per-file error messages Reviewed by: jilles Approved by: cperciva MFC after: 1 week
* Replace spaces by tabs where appropriate.grog2012-11-081-38/+38
| | | | Reminded by: jh@
* Make parameters to -c and -k options optional. If no parameters aregrog2012-11-082-13/+24
| | | | | | | | | supplied, print information for all keywords. Improve output of -c option, in particular in conjunction with -k option. MFC after: 14 days
* Belatedly add links from /usr/bin/clang to /usr/bin/CC, like it has beendim2012-11-071-0/+2
| | | | | | done for g++. MFC after: 3 days
* Fix build with clang: properly terminate comment even in #if 0 blocks.delphij2012-11-051-1/+1
| | | | Submitted by: dim
* MFV: less v453.delphij2012-11-041-0/+12
|
* New sentence, new line.joel2012-11-041-4/+4
| | | | Submitted by: brueffer
* Add a few basic examples.joel2012-11-041-1/+19
|
* - Add my mentor relationships to committers-ports.dotgblach2012-11-041-0/+1
| | | | | | - Add myself to calendar.freebsd Approved by: tabthorpe (mentor)
* kdump: Also decode fcntl commands containing underscores and digits.jilles2012-11-021-1/+1
| | | | | The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not decoded.
* - Portability changes for ARMgabor2012-11-019-70/+74
| | | | | | - Allow larger sort memory on 64-bit platforms Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* Catch up with r238925. ktr_entries may not be a power of 2.np2012-10-301-2/+2
|
* Add pcpu to the the rctl(8) manual page.trasz2012-10-261-1/+2
|
* Add "-f" to also output filemon(4) information.obrien2012-10-262-11/+56
|
* Prefer an example users born after myself might use.eadler2012-10-261-1/+1
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Merge bmake-20121010sjg2012-10-251-8/+12
| | | | Approved by: marcel (mentor)
* Show the number of times we block waiting for mbufs.alfred2012-10-251-4/+18
| | | | | | | | | | | | | | | | | | Machines can stall out because mbufs are low, however sometimes we won't see "requests denied", instead we see user land processes or kernel threads blocking waiting for mbufs because they set M_WAIT. These consumers do not see errors, only stalling. Unfortunately until now, netstat did not export this information so you could have experienced an mbuf shortage and have no way of seeing it unless you happen to run netstat at the exact time of the shortage and see "in use" = "max". By exporting the number of times processes are blocked, we can effectively see how often non-interrupt context threads are effectively "denied". MFC after: 2 weeks
* Don't include both <sys/param.h> & <sys/types.h>.obrien2012-10-231-6/+1
|
* Somehow this got replicated too many timeseadler2012-10-221-18/+0
| | | | Approved by: cperciva (implicit)
* Add a clean-room reimplementation of a script originallyeadler2012-10-224-0/+210
| | | | | | | | | | | | found in openssh's contrib directory. This version has more features and is better written. I intend to submit this upstream as well. Reviewed by: bapt Reviewed by: des Approved by: cperciva MFC after: 1 week
* Check the return error of set[ug]id. While this can never fail in theeadler2012-10-221-10/+10
| | | | | | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. PR: bin/172289 PR: bin/172290 PR: bin/172291 Submittud by: Erik Cederstrand <erik@cederstrand.dk> Discussed by: freebsd-security Approved by: cperciva MFC after: 1 week
* Check the return error of set[e][ug]id. While this can never fail in theeadler2012-10-223-3/+7
| | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 3 days
* Remove unused variable. Newer versions of gcc care.eadler2012-10-221-2/+0
| | | | | | Submitted by: Sascha Wildner <saw@online.de> Approved by: cperciva MFC after: 3 days
* Fix conditional expression: previously a bitvector would be operatedeadler2012-10-221-1/+1
| | | | | | | on by a logical not. Approved by: cperciva MFC after: 3 days
OpenPOWER on IntegriCloud