summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add the reverse part to rule #9. Also change its description in theae2014-09-011-1/+1
| | | | | | netstat(8) output. MFC after: 1 week
* Clarify that the -c argument clears the list of tracepoints specified byjhb2014-08-261-4/+6
| | | | | | | -t (it does not clear all tracepoints). Submitted by: jmg, Eric van Gyzen <eric@vangyzen.net> MFC after: 1 week
* Add svnlite.1 to CLEANFILES.gjb2014-08-261-0/+1
| | | | | | MFC after: 3 days X-MFC-To: stable/10 only Sponsored by: The FreeBSD Foundation
* Add host.1 to CLEANFILES.gjb2014-08-261-0/+1
| | | | | | MFC after: 3 days X-MFC-To: stable/10 only Sponsored by: The FreeBSD Foundation
* Missed comma.pluknet2014-08-261-1/+1
|
* More man pages that need to know about vt in addition to syscons.se2014-08-261-0/+3
| | | | MFC after: 3 dayS
* Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd"ngie2014-08-263-6/+6
| | | | | | | | | | Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks MFC after: 5 days Phabric: D675 (as part of a larger diff) PR: 192762
* Fix "make checkdpadd" in usr.bin/iscsictl by removing -lfl dependencyngie2014-08-232-1/+2
| | | | | Approved by: rpaulo (mentor) MFC after: 1 week
* Suppress warnings when retrieving protocol stats from interfaces thatmarkj2014-08-221-6/+6
| | | | | | | don't support IPv6 (e.g. pflog(4)). Reviewed by: hrs MFC after: 2 weeks
* elfdump: Remove extraneous _SUNW_ in reported DT_ namesemaste2014-08-211-5/+5
| | | | Sponsored by: The FreeBSD Foundation
* Rename DT_FEATURE_1 to DT_FEATUREemaste2014-08-211-1/+1
| | | | | | | | This provides a minor cleanup in elfdump; there are otherwise no consumers in the tree. Old SUN documentation can be found for either variant, but GNU binutils switched to DT_FEATURE around 2000. Sponsored by: The FreeBSD Foundation
* Make the iSCSI stack use __FBSDID() properly.trasz2014-08-211-1/+3
| | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Always check the limits of array index variables before using them.pfg2014-08-211-1/+1
| | | | | Obtained from: DragonFlyBSD MFC after: 1 week
* Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-1916-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib
* - Do not look for more matching lines if -L is specifiedgabor2014-08-181-1/+1
| | | | | Submitted by: eadler (based on) MFC after: 2 weeks
* Remove LOG_ODELAY because it does nothing.neel2014-08-172-2/+2
| | | | | Reviewed by: jilles CR: https://reviews.freebsd.org/D611
* Use mount protocol version 3 by default for showmount and umount.peter2014-08-162-6/+10
| | | | | | mount_nfs effectively uses mount protocol v3 by default already. v1 mount protocol is being removed along with nfsv2 by a high profile NFS appliance vendor and our legacy v1 mount protocol usage causes rpc errors.
* Complete the usr.bin/yacc kyua integration work I originallyngie2014-08-122-43/+34
| | | | | | | | | | | | | | | | | | | | | | | | | submitted via r268811 - Install the Kyuafile by adding FILES to FILESGROUPS - Run the testcases with an unprivileged user Some of the testcases depend upon behavior that's broken when run as root on FreeBSD because of how permissions are treated with access(2) vs eaccess(2), open(2), etc - Simplify the test driver to just inspect the exit code from run_test because it now exits with 0 if successful and exits with !0 if unsuccessful - Don't do ad hoc temporary directory creation/deletion; let Kyua handle that - Add entries for files removed in r268811 to OptionalObsoleteFiles.inc PR: 191020 X-MFC with: r268811 Approved by: jmmv (mentor) Reviewed by: bapt Sponsored by: EMC / Isilon Storage Division
* Update serf-1.3.6 -> 1.3.7peter2014-08-111-2/+2
| | | | | | Update subversion-1.8.9 -> 1.8.10 Security: CVE-2014-3504, CVE-2014-3522, CVE-2014-3528
* Link otp-sha1 to match real challenge prompt, not otp-shaache2014-08-111-2/+2
| | | | MFC after: 1 week
* Create a redundant grain directory and table. Previously we weremarcel2014-08-091-5/+23
| | | | | | | | | cheating by assigning the same sector offset to both directories, but it seems that VirtualBox doesn't like that. Neither does qemu from the looks of it. We now actually write the directory and table twice. MFC after: 3 days
* sed(1): Don't force a newline on last line, if input stream doesn't have onedumbbell2014-08-084-8/+61
| | | | | | | | | | | | | | | | While here, change how we check if the current line is the last one. Before, we just checked if there were more files after the current one. Now, we check the actual content of those files: they files may not have a line at all. This matches the definition of the "last line" by the Open Group. The new behavior is closer to GNU sed. PR: 160745 Phabric: https://phabric.freebsd.org/D431 Reviewed by: jilles Approved by: jilles Exp-run by: antoine
* Update vmstat usage for last-argument count/wait parametersbjk2014-08-082-11/+26
| | | | | | | | | | | | | | | | | | | | Correct the usage in both the manpage and in usage() to indicate that the wait interval and repetition count may be given either with the respective -w/-c arguments, or as the final positional arguments. [0] The corresponding code to implement the positional arguments has been conditional on the (always-enabled) BACKWARD_COMPATIBILITY macro since the original 4.4-lite import. It's no longer reasonable to remove the functionality, so remove the macro and conditional instead. Note that multiple disks may be given on the command line. While here, sort arguments and apply minor mdoc fixes. PR: 184755 [0] Approved by: hrs (mentor, src committer)
* Avoid name shadowing to fix build under powerpc64.jmmv2014-08-071-2/+2
| | | | | | | | | Error was: cc1: warnings being treated as errors .../usr.bin/m4/misc.c: In function 'm4errx': .../usr.bin/m4/misc.c:268: warning: declaration of 'eval' shadows a global declaration .../usr.bin/m4/extern.h:40: warning: shadowed declaration is here
* Lower warnings again to 3 the right thing would be to fix the warningsbapt2014-08-071-0/+2
| | | | | which will be done by discussing with upstream I want the m4 code to stay as close as possible to upstream.
* Make libohash a proper internallib instead of hidding it in m4bapt2014-08-065-779/+3
| | | | | mandoc development seems to be also using ohash so prepare to share the code when needed
* Rework privatelib/internallibbapt2014-08-062-2/+2
| | | | | | | | | | | | | | Make sure everything linking to a privatelib and/or an internallib does it directly from the OBJDIR rather than DESTDIR. Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsing in final installation Introduce the LD* variable which is what ld(1) is expecting (via LDADD) to link to internal/privatelib Directly link to the .so in case of private library to avoid having to complexify LDFLAGS. Phabric: https://phabric.freebsd.org/D553 Reviewed by: imp, emaste
* Add myself to calendar.freebsd and committers-src.dotngie2014-08-021-0/+1
| | | | | | Phabric: D522 Reviewed by: jmmv Approved by: jmmv (co-mentor)
* Add kdump support for shm_open().rpaulo2014-08-011-0/+8
| | | | MFC after: 1 week
* elfdump: use existing ELF constants where availableemaste2014-07-311-101/+103
| | | | Sponsored by: The FreeBSD Foundation
* elfdump: add EM_AARCH64 64-bit ARM machine architectureemaste2014-07-311-0/+1
|
* lower warning level to fix build with gccbapt2014-07-311-0/+1
|
* Remove an unsed variable.kevlo2014-07-311-1/+1
|
* Fix relative numerical addressing (addr,+N).jlh2014-07-301-18/+26
| | | | | | | | As a bonus the patch untangles a bit the logic and makes the code easier to grasp. PR: 192108 MFC after: 1 week
* Remove trailing '.' from See Also section.gjb2014-07-301-1/+1
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* mdoc: kill EOL whitespace.joel2014-07-291-1/+1
|
* mdoc: fix date.joel2014-07-293-3/+3
|
* Fix build with gccbapt2014-07-291-2/+1
|
* Remove ohash_int.h forgotten in previous commitbapt2014-07-271-25/+0
|
* Sync with OpenBSDbapt2014-07-2723-625/+540
| | | | | | | | This brings: - check for integer overflows in custom allocs - fix potential integer overflows in memory allocation - annotate regexp error messages with source string - better error handling in mkstemp/unlink/fdopen logic
* Further improvements on elfdump, to follow up r269092:andreast2014-07-261-2/+18
| | | | | | | | | - Add ARM specific section header types. - Add SHT_GNU_HASH section header type. - Improve reporting of undefined tags in d_tags. - Add DT_GNU_HASH tag. Reviewed by: emaste
* Create 32-bit core files for 32-bit processes on 64-bit machines.marcel2014-07-263-15/+123
| | | | | | | The 64-bit machine supported right now is amd64, but it's not too hard to add powerpc64. Obtained from: Juniper Networks, Inc.
* elfdump: Improve section type reportingemaste2014-07-251-35/+73
| | | | | | | | | | | | | | The SHT range 0x70000000-0x7fffffff is processor-specific. Pass the ELF machine type header to sh_types so the section header type name can be reported correctly for the given processor. For all ranges report the actual value for unknown types. Add MIPS-specific type SHT_MIPS_OPTIONS. CR: D483 Reviewed by: sbruno, marcel Sponsored by: DARPA, AFRL
* Fix structure of new tests (r268794) for usr.bin/units.jmmv2014-07-252-2/+2
| | | | | | | - Make sure the tests go into the right directory. The location was wrong so they were overwriting the bin/chown tests! - Use the right naming scheme for the test program. - Remove the svn:executable property from the shell script.
* vtfontcvt will first ship in FreeBSD 10.1emaste2014-07-241-1/+1
|
* When producing fmake(1), `make clean' should remove fmake.1 (a copy ofdteske2014-07-231-0/+1
| | | | | | | | make.1). Introduced initially via SVN r250699 (sjg). Reviewed by: sjg, gjb MFC after: 3 days X-MFC-to: stable/10
* Fix builds on older FreeBSD versions and/or non-FreeBSD machines:marcel2014-07-231-0/+8
| | | | don't use _Static_assert unconditionally.
* Remove redundant return statement after errxemaste2014-07-211-20/+7
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Use the standard way of printing the usage stringemaste2014-07-211-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* In "procstat -v" (VM), spell out 'FL' to 'FLAG' since there are two extrarwatson2014-07-202-3/+3
| | | | | | | | | columns available anyway. Also left align as we tend to do for flags fields, although you can't see that currently as the string fully fills that available columns. MFC after: 3 days Sponsored by: DARPA, AFRL
OpenPOWER on IntegriCloud