summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Correctly reintroduce the rudimentary smoke tests I botched upngie2015-10-221-0/+6
| | | | | | | in r289684 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Revert r289694ngie2015-10-211-6/+0
| | | | I committed some other undesirable local changes by accident
* Add some rudimentary [smoke] testcases for makefsngie2015-10-211-0/+6
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Convert makefs to LIBADDbapt2014-11-241-7/+1
| | | | Add definition of libnetbsd in src.libnames.mk
* 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]
* Remove duplicated copies of various NetBSD compatibility shims used bybrooks2013-05-091-7/+15
| | | | | | | makefs and use libnetbsd, contrib/mtree, and contrib/mknod instead. Sponsored by: DARPA, AFRLo MFC after: 1 month
* Add support for using mtree(5) manifest files to define the imagemarcel2011-06-191-0/+4
| | | | | | | | | | | | | | | | | | | | to be created. The support is based on mtree version 2.0, as used in libarchive, but adds new features on top of it. The current implementation is fully functional, but is envisioned to grow at least the following additional features over time: o Add support for the /include special command so that manifest files can be constructed using includable fragments. o Add support specifying a search path to locate content files. o Content file filters: commands that provide file contents on stdout. The manifest file eliminates the need to first construct a tree as root in order to create an image and allows images (releases) to be created directly from object trees and/or source trees. Reviewed by: deo Sponsored by: Juniper Networks, Inc
* Sync with the latest version from NetBSD. It notably addds ISO9660 support.cognet2010-11-071-9/+10
| | | | Submitted by: bapt
* fix pathnames to work w/ buildworldsam2008-12-191-4/+4
|
* import netbsd makefs toolsam2008-12-191-0/+28
OpenPOWER on IntegriCloud