summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* dtc: fix bootstrapping from 8.2-STABLEuqs2013-02-191-0/+4
| | | | | MFC after: 1 week Approved by: theraven
* WARNS=6 compliancecharnier2013-02-191-1/+3
|
* WARNS=6 compliancecharnier2013-02-196-11/+10
|
* Remove old-style function definitioncharnier2013-02-191-1/+1
|
* Strengthen the check in IS_OUT_OF_BOUNDS to ensure that (j - 1) is amarkj2013-02-171-1/+1
| | | | | | | | | valid index into the input buffer. PR: bin/175213 Reviewed by: gabor Approved by: emaste (co-mentor) MFC after: 1 week
* Since clang 3.2 now has an option to suppress warnings about implicitlydim2013-02-161-5/+0
| | | | | | | promoted K&R parameters, remove the workarounds added for sendmail components in r228558. MFC after: 1 week
* Fix undefined behaviour in usr.bin/mail/util.c.dim2013-02-151-2/+2
| | | | | Reported by: deeptech71@gmail.com MFC after: 3 days
* Fix date.joel2013-02-141-1/+1
|
* - Fix libmd dependency. It is needed in the bootstrap library list becausehrs2013-02-141-2/+4
| | | | | | | usr.bin/xinstall depends on it. - Remove libutil from usr.bin/xinstall/Makefile. No symbol was actually used. Reviewed by: brooks
* rework old-style functions prototypescharnier2013-02-1410-165/+115
| | | | reduce WARNS=6 output
* - Make actually printing path of AF_LOCAL socket types.zont2013-02-121-3/+1
| | | | MFC after: 1 week
* - Use correct size of copying different socket structures.zont2013-02-121-5/+5
| | | | MFC after: 1 week
* o Bring in sync decoding the first nfssvc(2) parameter (flags) withpluknet2013-02-121-1/+1
| | | | | | | the current definitions location. o Respect numbers in NFSSVC_* (e.g. NFSSVC_V4ROOTEXPORT). MFC after: 1 week
* Allow us to build clang for ARM EABI. Clang and llvm use theandrew2013-02-1220-5/+45
| | | | | | | arm-gnueabi-freebsd10.0 triple for EABI. Use this when we are on arm or armv6 and are building for EABI. Reviewed by: dim
* Capability rights for process management via process descriptors do existpjd2013-02-111-3/+2
| | | | | | already, so uncomment them. Sponsored by: The FreeBSD Foundation
* Add CAP_MKNOD right.pjd2013-02-101-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* find: Run when cwd cannot be opened, except with -execdir or -delete.jilles2013-02-102-2/+16
| | | | | | | | | | | fts(3) can run (albeit more slowly and imposing the {PATH_MAX} limit) when the current directory cannot be opened. Therefore, do not make a failure to open the current directory (for returning to it later in -exec) fatal. If -execdir or -delete are used, the expectation is that fts(3) will use chdir to avoid race conditions (except for -execdir with -L). Do not break this expectation any more than it already is by still failing if the current directory cannot be opened.
* find: In -execdir ... {} +, only pass one file per invocation.jilles2013-02-101-1/+7
| | | | | | | This is inefficient but ensures that -execdir ... {} + does not mix files from different directories in one invocation; the command could not access some files. Files from the same directory should really be handled in one invocation but this is somewhat more complicated.
* Add dtc to the build.kientzle2013-02-091-0/+1
|
* Reference something which exists instead of the non-existent runsockseadler2013-02-091-5/+5
| | | | | | | | program. PR: docs/173664 Submitted by: wkoszek Approved by: bcr (mentor)
* Fix some NLS catalogs broken after r245888.antoine2013-02-091-1/+1
|
* patch: Follow original versioning convention.pfg2013-02-081-1/+1
| | | | | | | | | According to the README file [1] the 12u variant, unlike the 12g variant, contains no copyleft code. It is therefore convenient to keep using the original versioning scheme to prevent confusions. [1] http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/README
* Print a warning if not setuid root.des2013-02-082-3/+13
| | | | | | | | | Document the need for the setuid bit and how to set it. Explain why it isn't set by default, and suggest simply adding users to groups instead. PR: docs/167741 MFC after: 3 weeks
* Missed adding Makefile.config and unit-tests/Makefile shouldsjg2013-02-042-0/+23
| | | | | | allow FreeBSD make to do 'obj'. Approved by: marcel (mentor)
* Cast *tabchar, a wchar_t, to a wint_t as it is the type the %lc printfandrew2013-02-041-1/+1
| | | | | format string expects. This is only an issue on ARM EABI where wint_t is different to wchar_t.
* Pull in r170135 from upstream clang trunk:dim2013-02-021-6/+16
| | | | | | | | | | | | | | | | Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. MFC after: 1 week
* Merge bmake-20130123sjg2013-02-013-130/+94
| | | | Approved by: marcel (mentor)
* When in -U mode do avoid setting SUID bits, but do not modify the modebrooks2013-01-311-3/+2
| | | | | | variable so the intended mode can be logged correctly if -M is specified. Sponsored by: DARPA, AFRL
* - Refresh code with latest OpenBSD revisions.delphij2013-01-2914-87/+71
| | | | | | | | | - Remove $DragonFly$ tags as they are using git nowadays and VCS tags will not help merging. - Other changes to Copyright headers to make them consistent with other source code, we intend to fork from this point. Reviewed by: pfg
* - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromgabor2013-01-2915-0/+4946
| | | | | | | | DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
* - Show page faults requiring I/O when -s invoked.zont2013-01-281-0/+3
| | | | | Reviewed by: alc MFC after: 2 weeks
* - Show page faults requiring I/O on vmstat display.zont2013-01-281-36/+40
| | | | | Reviewed by: alc MFC after: 2 weeks
* - Remove forgotten commented out debug codegabor2013-01-271-15/+0
| | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* - Simplify and unify diagnostic and error message handlinggabor2013-01-271-12/+8
| | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* truss: use 'e' flag for fopen instead of fcntl(.., FD_CLOEXEC)mjg2013-01-271-7/+4
|
* truss: if file requested with -o flag could not be opened print the reasonmjg2013-01-271-1/+1
| | | | MFC after: 3 days
* Fix style nit in dtc man page: sentences should start on new lines.theraven2013-01-251-58/+86
| | | | Reported By: joel
* Install the NLS catalog in the C directory rather than en_US.US-ASCIIbrooks2013-01-241-1/+1
| | | | | which is a link to C. This allow the makefs mtree manifest mode to find the file.
* Explicitly include headers that are implicitly included by libstdc++. Fixestheraven2013-01-236-4/+24
| | | | building dtc with libc++.
* Remove documentation of the old -M option.brooks2013-01-221-5/+2
| | | | Sponsored by: DARPA, AFRL
* Remove EOL whitespace.joel2013-01-221-11/+11
|
* Minor mdoc fixes.joel2013-01-221-4/+2
|
* Fix the missing sentence that ended in the middle in the man page for dtc (alsotheraven2013-01-221-1/+4
| | | | spotted by gavin).
* Fix logic error in explicitly specified dtb versions spotted by gavin.theraven2013-01-221-1/+1
|
* Use pluralies() for "entry"/"entries".glebius2013-01-221-1/+1
|
* Import new (BSDL) device tree compiler. Now built by default, so that it can'ttheraven2013-01-2215-0/+5061
| | | | | | | | | | be used on the host system (and not installed on the device, if required). The GPL'd one is still available if there are any devices that need it (make universe passes with it, including kernels that use fdt, but there may be some out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now. Probably won't be MFC'd, but we'll remove the GPL'd version in head after the new one has had a lot more testing and ship it in 10.0.
* Make "install -l s[ar]" act like "ln -sfh" as intended. This fixesbrooks2013-01-221-1/+14
| | | | | installation of symbolic links where the target is a link is to an existing directory.
* When copying the complement of the string loop to WINT_MAX as we are dealingandrew2013-01-221-1/+2
| | | | | with a wint_t. WINT_MAX and WCHAR_MAX are the same on most architectures except ARM EABI where wint_t is signed and wchar_t is unsigned.
* - Avoid unnecessary strdup()gabor2013-01-201-2/+2
| | | | | Submitted by: ache MFC after: 5 days
* Remove EOL whitespace.joel2013-01-191-2/+2
|
OpenPOWER on IntegriCloud