summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* killall: add -q flag to suppress error message when no processes are matchedmjg2013-06-302-4/+11
| | | | | | | | Man-page text provided by wblock. PR: bin/30542 Submitted by: Tony Finch <dot@dotat.at> (original version) MFC after: 1 week
* truss: recognize O_DIRECTORY, O_EXEC, O_TTY_INIT and O_CLOEXECmjg2013-06-301-1/+1
| | | | MFC after: 3 days
* Adding myself to the calendar!hiren2013-06-301-0/+1
| | | | Approved by: sbruno (mentor)
* Enable svnlite on armv6.kientzle2013-06-291-1/+1
|
* - Trim an unused and bogus Makefile for mount_smbfs.davide2013-06-286-0/+7
| | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
* sed: use getline() instead of fgetln().pfg2013-06-261-8/+11
| | | | | | | | | | | | | | In BSD, fgetln() available in libc but in Illumos the Solaris port had to include it internally. It also seems to have caused problems [1]. Aid portability by using getline() instead. Reference: https://www.illumos.org/issues/3820 [1] Submitted by: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com> Reviewed by: dds MFC after: 2 weeks
* - Adding myself to the committers-ports.dotfeld2013-06-261-0/+1
| | | | | | - Adding myself to the freebsd calendar Approved by: swills (mentor)
* Only enable svn on amd64/ia64/sparc64/i386.peter2013-06-201-1/+1
|
* Fix a couple of typos that broke buildworld for me.truckman2013-06-191-2/+2
| | | | Reviewed by: peter
* Bandaid: mips doesn't seem to have the full set of atomics builtins. Ipeter2013-06-191-0/+2
| | | | will investigate more.
* Tweak generated config to make it more likely to work on 32 bit systems.peter2013-06-181-2/+17
| | | | Pointed out by: Trond.Endrestol@fagskolen.gjovik.no
* Fix bug in destructor for checker manager in DTC that caused segfaults ontheraven2013-06-181-0/+1
| | | | exit.
* Introduce svnlite so that we can check out our source code again.peter2013-06-1841-0/+3245
| | | | | | | | | | | | | | | | This is actually a fully functional build except: * All internal shared libraries are static linked to make sure there is no interference with ports (and to reduce build time). * It does not have the python/perl/etc plugin or API support. * By default, it installs as "svnlite" rather than "svn". * If WITH_SVN added in make.conf, you get "svn". * If WITHOUT_SVNLITE is in make.conf, this is completely disabled. To be absolutely clear, this is not intended for any use other than checking out freebsd source and committing, like we once did with cvs. It should be usable for small scale local repositories that don't need the python/perl plugin architecture.
* Fix header guards.eadler2013-06-171-2/+2
| | | | | | This was ready about the same time as r251862 so just make one final cleanup Submitted by: dt71@gmx.com
* Clean up -Wheader-guard warnings.pluknet2013-06-172-2/+2
| | | | | | Submitted by: <dt71@gmx.com> MFC after: 3 days X-MFC with: r251848
* Add a checker to dtc, based on a feature request from rwatson / brooks.theraven2013-06-172-0/+58
| | | | | | | This checks that every node that has children specifies their register sizes. This is not enabled by default, as the default sizes are sometimes required (including by some DTS in the tree), but can help when writing new device trees so that you can check that you actually meant the defaults.
* - add myselfrm2013-06-171-0/+1
|
* Revert revision 251648. style(9) requires an empty line here.grog2013-06-131-0/+1
| | | | Reported by: mdf@
* Upgrade our copy of llvm/clang to 3.3 release.dim2013-06-125-11/+26
| | | | | | Release notes are still in the works, these will follow soon. MFC after: 1 month
* style(9)grog2013-06-121-1/+0
| | | | MFC after: 2 weeks
* Handle some expression regressions.grog2013-06-126-71/+113
| | | | | | | | | | | | Explicitly use GNU cpp for preprocessing. Remove explicit debugging code. Change some variable names to be less confusing. Improve some comments. Improve indentation. PR: 162211 168785 MFC after: 2 weeks
* Bump the CPU/WCPU column width by one so that it fits values from 100% upjhb2013-06-111-6/+6
| | | | | | | | | to 999.99% CPU. It still won't be aligned if you have a multithreaded process using more than 1000% CPU (e.g. idle process on an idle 12-way system), but 100% is a common case. Submitted by: Jeremy Chadwick (partial) MFC after: 1 week
* Modify nfsstat.c so that it prints out an error when a non-rootrmacklem2013-06-091-0/+3
| | | | | | | user attempts to use the "-m" option and it fails. Requested by: danny@cs.huji.ac.il MFC after: 2 weeks
* - Add file system type number (vfc_typenum) in the list. This is usefulhrs2013-06-092-37/+38
| | | | | | | for debugging when changing vfs.typenumhash configuration. - Refactor fmt_flags(). MFC after: 1 week
* Print file names without stdio buffering to avoid mixing buffered andjh2013-06-094-5/+18
| | | | | | | unbuffered ouput. PR: bin/176886 Reviewed by: mjg
* Use getnameinfo(3) instead of inet_ntop(3) to make printable versions ofae2013-06-071-1/+3
| | | | | | | sockaddr_in6 structures. getnameinfo(3) does the same thing, but it is also able to represent a scope zone id as described in the RFC 4007. MFC after: 2 weeks
* Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note thisjkim2013-06-061-1/+1
| | | | | | actually reverts r250860 and r250861. Reported by: gjb, tinderbox
* New install flags were merged to 9-STABLE and will appear in FreeBSD-9.2.brooks2013-06-051-1/+1
| | | | | | Sponsored by: DARPA, AFRL Submitted by: ru MFC after: 3 days
* Update to bmake-20130604 to fix file descriptor leak.sjg2013-06-051-2/+2
|
* mdoc: convert .Fd to .In, which is much nicer.joel2013-06-042-6/+6
|
* Correct check to see if file changes.eadler2013-06-021-1/+1
| | | | | Reported by: swildner@DragonFlyBSD.org Reviewed by: des
* - Update Oleg Moskalenko's email addressgabor2013-06-0215-15/+15
| | | | Requested by: Oleg Moskalenko <mom040267@gmail.com>
* If the -r option is given we cannot enter capability mode.pjd2013-05-301-2/+4
| | | | | | The option tells kdump to convert numeric UIDs and GIDs into user and group names plus to convert times and dates into locallized versions. This all needs opening various files at various occasions.
* MFp4 @229086:pjd2013-05-281-0/+50
| | | | | | | | | | | | | | | | | | | | | Make use of Capsicum to protect kdump(1), as it might be used to parse data from untrusted sources: - Sandbox kdump(1) using capability mode. - Limit stdin descriptor (where opened file is moved to) to only CAP_READ and CAP_FSTAT rights. - Limit stdout descriptor to only CAP_WRITE, CAP_FSTAT and CAP_IOCTL. Plus limit allowed ioctls to TIOCGETA only, which is needed for isatty() to work. - Limit stderr descriptor to only CAP_WRITE and CAP_FSTAT. In addition if the -s option is not given, grant CAP_IOCTL right, but allow for TIOCGWINSZ ioctl only, as we need screen width to dump the data. - Before entering capability mode call catopen("libc", NL_CAT_LOCALE), which opens message catalogs and caches data, so that strerror(3) and strsignal(3) can work in a sandbox. Sponsored by: The FreeBSD Foundation Discussed with: rwatson
* MFp4 @229085:pjd2013-05-281-5/+5
| | | | | | | Rearrange the code so we don't call ioctl(TIOCGWINSZ) if the -s option is given, as the result won't be used then. Sponsored by: The FreeBSD Foundation
* Prevent shadowing.ed2013-05-256-10/+10
| | | | | The name line_number seems to be used as a function parameter name for one of the Lex functions. Change the name to linenumber.
* Revert r250972 to fix build.gjb2013-05-252-4/+4
|
* The error handling for writes to the target file could lead to the finalse2013-05-242-4/+4
| | | | | | | | | | fclose() being skipped. Fix this by using boolean "&" and "|" instead of short-cut operators "&&" and "||". While here, increment the last part of the version string. The reason is the fixed output file selection logic in pch.c, which was committed as r250943, yesterday. Reviewed by: pfg
* Fix target selection logic, which did not comply with the man page.se2013-05-231-2/+8
| | | | | | | | | | | | | | | | Instead of using the file with the least order of path name components, shortest filename and finally the shortest basename (with the search stopping as soon as one of these conditions is true), the first filename checked was used as the reference, and another filename was only selected if all of the above comparisons are in favour of the latter file. This was wrong, because filenames with path less components were only considered, if both of the other conditions were true as well. In fact, the first filename to be checked had good chances to be selected in the end, since it only needed to be better with regard to any one of the three criteria ... Reviewed by: delphij@freebsd.org
* Add support for netgroup, based on patch in the PR but made consistentghelmer2013-05-231-0/+43
| | | | | | with existing style. PR: bin/132692
* Let iconv build on -HEAD properly.ed2013-05-233-2/+5
| | | | | | - Add NO_WMISSING_VARIABLE_DECLARATIONS where we use Yacc/Lex. - Add variable declarations where possible. - Add missing static keyword.
* Work around build breakages with GCC 4.2.jkim2013-05-234-0/+7
| | | | Reported by: tinderbox
* Avoid signed overflow in error handling code.eadler2013-05-211-1/+3
| | | | Reviewed by: cperciva, bjk
* Connect flex 2.5.37 to the build and bump __FreeBSD_version.jkim2013-05-2131-15377/+9874
|
* Sync with upstream version (20130520) that includes same fixes made last week.sjg2013-05-201-2/+2
|
* Per the comment, we cannot rely on bsd.own.mksjg2013-05-171-7/+6
| | | | | | we could be on an old system that knows noting of MK_BMAKE or on an almost up to date one that is defaulting it to "no" neither of which will work.
* We really need to get the bsd.own.mk from this tree so thesjg2013-05-171-0/+8
| | | | | correct options are set. Also defined NO_PWD_OVERRIDE to match behavior of fmake.
* guard against MK_SHARED_TOOLCHAIN not being defined.delphij2013-05-161-1/+1
|
* Similar to r250719: guard against MK_BMAKE not being defined.delphij2013-05-161-1/+1
|
* Reverse the sense of the test wrt bmake, and guard againstsjg2013-05-161-1/+1
| | | | MK_BMAKE not being defined.
OpenPOWER on IntegriCloud