summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nmtree
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-121-3/+1
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* META_MODE: Checkin a proper Makefile.depend.bdrewery2015-09-251-3/+10
| | | | Sponsored by: EMC / Isilon Storage Division
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-251-2/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Add META_MODE support.sjg2015-06-131-0/+16
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Merge sync of headsjg2015-05-271-6/+1
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-192-2/+37
| |\
| * \ Merge head from 7/28sjg2014-08-191-0/+2
| |\ \
| * | | New dependenciessjg2014-05-171-0/+15
| | | |
* | | | Convert usr.sbin to LIBADDbapt2014-11-251-3/+1
| | | | | | | | | | | | | | | | Reduce overlinking
* | | | Fix the fixbapt2014-11-251-0/+1
| | | |
* | | | Fix build.delphij2014-11-251-5/+1
| |_|/ |/| |
* | | Integrate usr.sbin/nmtree/tests from NetBSD into atf/kyuangie2014-10-092-1/+37
| | | | | | | | | | | | | | | In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
* | | Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd"ngie2014-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | Approved by: jmmv (mentor) MFC after: 5 days Phabric: D633 PR: 192763
* | | Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-191-2/+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
* | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-081-0/+2
|/ | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* Merge from CheriBSD:brooks2014-01-302-1/+265
| | | | | | | | | | | | commit 70b8f0c127db6b80411789d237b403cc64a93573 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Mon Jan 27 22:53:57 2014 +0000 Move mtree.5 to usr.sbin/nmtree. Remove note that mtree 2.0 format files aren't supported. MFC after: 4 weeks Sponsored by: DARPA, AFRL
* Merge from CheriBSD:brooks2014-01-301-11/+4
| | | | | | | | | | | | commit 6b569451b92c48ccf1768da32e7e89189e1aa253 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Mon Jan 27 22:50:46 2014 +0000 Always install nmtree as mtree. For compability, link mtree to nmtree. X-MFC after: never Sponsored by: DARPA, AFRL
* Import a new version of NetBSD's mtree.ed2013-04-091-1/+1
| | | | | | | | This version of mtree implements a new flag (-O) that can be used to restrict the tool to certain pathnames. Also, it fixes a compiler warning generated by -Wmissing-variable-declarations. Acked by: brooks
* Always install our mtree as /usr/sbin/fmtree and link it asbrooks2013-01-091-0/+7
| | | | | | | /usr/sbin/mtree by default. Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked as /usr/sbin/mtree as well as /usr/sbin/nmtree.
* Add the missing '$' from the LIBNETBSD variableandrew2012-12-221-1/+1
|
* Add NetBSD's mtree to the tree and install it as nmtree as the first stepbrooks2012-12-211-0/+26
towards replacing our mtree. Sponsored by: DARPA, AFRL Thanks to: cristos@NetBSD for reviewing and committing my patches wiz@NetBSD for fixing typos in my patches
OpenPOWER on IntegriCloud