Home | History | Annotate | only in /src/rescue
History log of /src/rescue
RevisionDateAuthorComments
 1.42 04-Apr-2020  christos smb is no more.
 1.41 01-Mar-2020  christos Redo the sshsk_sign() stuff properly, but putting the helper in libssh.so
 1.40 27-Feb-2020  christos Unfortunately libssh has an undefined symbol sshsk_sign(), which is provided
by different implementations depending if we are a server or a client. While
the clients we compile in, provide that symbol, it is getting hidden by
crunchhide, so we provide it again. It would have been a lot simpler to
use a function pointer instead in the library...
 1.39 29-Dec-2019  christos 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
and LDSTATIC used to be passed before) instead of appending them
to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
 1.38 02-Oct-2019  maya Remove ldconfig from /rescue, and mark it MI obsolete.

- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
since NetBSD 2.0 or so, and having it in /rescue served little purpose
even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
is the sole entry
 1.37 27-Jan-2019  dholland branches: 1.37.2;
fix duplicated chunk from merge
 1.36 27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.35 25-Jul-2018  kamil Specify NOLIBCSANITIZER for rescue

The rescue image could be sanitized with a sanitizer in libc, but it's left
for future as a possible research.
 1.34 21-Jun-2018  kamil branches: 1.34.2;
Set NOSANITIZER in rescue/Makefile

This is required to stop sanitizing rcmd.o and liboverride.o. These object
files will be linked into statically linked rescue.
 1.33 08-Oct-2017  christos branches: 1.33.2;
Extra flags for static PIE
 1.32 21-May-2017  riastradh Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export. The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated. I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet... That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
 1.31 30-Jan-2014  matt Append -Os to DBG, not overwrite in case DBG has more than just -Ox from
sys.mk
 1.30 26-Dec-2013  christos mount_smbfs has moved.
 1.29 24-Mar-2013  christos descend to bin for pdisk
 1.28 24-Mar-2013  martin pdisk has moved to external/bsd - try to deal.
 1.27 10-Mar-2010  abs branches: 1.27.6; 1.27.12; 1.27.18;
Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
 1.26 13-Feb-2010  roy Don't install terminfo.db in rescue.
 1.25 05-Feb-2010  roy Move the emergancy terminfo database from /root to /rescue.
 1.24 22-Aug-2009  mrg kill ldd_aout. it didn't work anyway...not since i don't know when.
 1.23 21-Aug-2009  he Add a new list.ldd.noaout, which is a copy of list.ldd but without
the a.out support.
Tweak Makefile so that the a.out support is not built for mips.
 1.22 07-Jan-2009  mrg - rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
 1.21 09-Feb-2008  mrg branches: 1.21.10;
make all sun2 use -O0 and move most of the hacks out into just 3 files.
 1.20 09-Jan-2008  simonb Remove support for NetBSD/pc532.
 1.19 22-May-2005  lukem branches: 1.19.10;
Make fdisk(8) available on all platforms, since MS-DOS partitioning
is the de-facto standard for many removable media types.
 1.18 13-Jan-2005  lukem improve MAKEVERBOSE support
 1.17 13-Jan-2005  lukem Restore the "liboverride" functionality because it's needed to correctly
implement rmcd(3) in the rescue tools.
 1.16 10-Jan-2005  lukem Add to /rescue: scp ssh slogin
(all without Kerberos support at this time)
 1.15 10-Jan-2005  lukem MAKEVERBOSE support
 1.14 10-Jan-2005  lukem Provide /rescue/cgdconfig if ${MKCRYPTO} != "no"
 1.13 10-Jan-2005  lukem Repeat after me: "test both cases before commit"
 1.12 10-Jan-2005  lukem Only compile in IPv6 support if ${USE_INET6} != "no"

MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
 1.11 20-Aug-2004  tron Complete removal of "liboverride" to fix build problems.
 1.10 19-Aug-2004  christos Remove special handling for rcmd.o; not needed.
 1.9 14-Jul-2003  tron Remove file "rescue.unstripped" in "cleandir" target.
 1.8 26-May-2003  lukem * Add ftp to /rescue.
* Implement liboverride.o to provide overrides of various libc functions.
For now, compile a special version of rcmd(3) (et al) which uses
/rescue/rcmd and /rescue/sh instead of the /bin variants.
Other overrides may appear in the future.

Should fix [bin/21670] from Geoff Wing.
 1.7 29-Jan-2003  simonb Enable MIPS now that crunchgen works again for this arch.
 1.6 17-Oct-2002  lukem set SMALLPROG=0 (it was implicit)
 1.5 06-Oct-2002  thorpej * Move the rescue bits into their own file.
* In makeflist, skip rescue bits in arch's that don't yet support it
(MIPS, currently, due to an objcopy-crunch bug).
 1.4 06-Oct-2002  thorpej Compare MACHINE_CPU and "mips" rather than MACHINE_ARCH and "mipseb" or
"mipsel".
 1.3 03-Oct-2002  lukem Don't build this on mipseb or mipsel, as crunchgen(1) doesn't work correctly
on those, no fix has been forthcoming, and users are getting antsy.

This allows "make build" to complete; "make release" will still fail in the
sets generation. Maybe *that* will inspire a MIPS/toolchain guru to fix
crunchgen(1)...
 1.2 23-Aug-2002  lukem set CRUNCHENV= RESCUE=/rescue (still don't want SMALLPROG)
 1.1 22-Aug-2002  lukem Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:

Infrastructure to build a set of "rescue" tools; a crunched-up
version of all the statically linked binaries in /bin, /sbin
and the few in /usr/bin.
 1.19.10.1 23-Mar-2008  matt sync with HEAD
 1.21.10.1 16-Jan-2009  bouyer branches: 1.21.10.1.4;
Pull up following revision(s) (requested by mrg in ticket #265):
libexec/ld.elf_so/headers.c: revision 1.27
rescue/list: revision 1.35
libexec/ld.elf_so/arch/sparc/Makefile.ld32: revision 1.1
usr.bin/ldd/Makefile.elf: revision 1.1
usr.bin/ldd/Makefile.elf: revision 1.2
usr.bin/ldd/ldd_aout/ldd.c: file removal
usr.bin/ldd/Makefile.elf: revision 1.3
libexec/ld.elf_so/arch/sparc/Makefile.inc: revision 1.12
usr.bin/ldd/dummy.c: revision 1.1
gnu/usr.bin/binutils/ld/Makefile: revision 1.28
usr.bin/ldd/elf32/Makefile: revision 1.1
usr.bin/ldd/elf32/Makefile: revision 1.2
usr.bin/ldd/ldd.c: revision 1.3
usr.bin/ldd/elf32/Makefile: revision 1.3
usr.bin/ldd/ldd_elf/Makefile: file removal
usr.bin/ldd/ldd.h: revision 1.1
usr.bin/ldd/ldd.c: revision 1.4
usr.bin/ldd/ldd_aout.c: revision 1.1
usr.bin/ldd/Makefile: revision 1.8
usr.bin/ldd/Makefile: revision 1.9
usr.bin/ldd/ldd_elfxx.c: revision 1.1
libexec/ld.elf_so/map_object.c: revision 1.37
usr.bin/ldd/ldd_aout/Makefile: file removal
usr.bin/ldd/elf64/Makefile: revision 1.1
rescue/Makefile: revision 1.22
libexec/ld.elf_so/arch/i386/Makefile.ld32: revision 1.1
usr.bin/ldd/ldd_elf/ldd.c: file removal
usr.bin/ldd/elf64/Makefile: revision 1.2
usr.bin/ldd/elf64/Makefile: revision 1.3
usr.bin/ldd/aout/Makefile: revision 1.1
libexec/ld.elf_so/arch/i386/Makefile.inc: revision 1.12
rescue/list.ldd: revision 1.1
usr.bin/ldd/ldd_elf/README: file removal
usr.bin/ldd/Makefile.common: revision 1.1
move the defines for RTLD_ARCH_SUBDIR into a sub-sub-makefile so we can
grab these values via reach-over more easily.
some fixes for PR#40170:
- set NATIVE=yes in the environment for genscripts.sh
- set LIB_PATH to /usr/lib/{sparc,i386} for those scripts
- set use_sysroot to "yes", to enable LIB_PATH to work in genscripts.sh
- get rid of building an a.out-happy ldd (but keep supporting a.out
binaries for the ELF version.)
- convert a.out, elf32 and elf64 support into convience libraries and
link them right ones in. if elf_ldd() fails on 64 bit platforms,
try elf32_ldd() before aout_ldd().
now ldd on 64 bit platforms works for 32 bit binaries, aka PR#40199,
and it seems that all the issues from README are gone too.
add some (uintptr_t) to some casts, so these compile with ELFSIZE=32
*and _LP64. necessary for 32/64 bit combo ldd support.
- rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
make sure we set LIBISPRIVATE.
fixes build issues reported by moof.
make sure we set LIBISPRIVATE.
fixes build issues reported by moof.
 1.21.10.1.4.1 05-Sep-2009  matt Switch from ${LD} -r to ${CC} ${LDFLAGS} -nostdlib -Wl,-r so that ${CC} can
pass additional options to ld
 1.27.18.1 28-Mar-2013  agc Pull up fixes from HEAD after pdisk move to external
 1.27.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.27.12.1 23-Jun-2013  tls resync from head
 1.27.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.33.2.2 28-Jul-2018  pgoyette Sync with HEAD
 1.33.2.1 25-Jun-2018  pgoyette Sync with HEAD
 1.34.2.3 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.34.2.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.34.2.1 10-Jun-2019  christos Sync with HEAD
 1.37.2.1 17-Nov-2019  martin Pull up following revision(s) (requested by maya in ticket #435):

distrib/sets/maketars: revision 1.90
usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2
usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3
usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3
distrib/sun3/MakeInstTape: revision 1.3
usr.sbin/sysinst/util.c: revision 1.33
distrib/sets/lists/rescue/mi: revision 1.1
distrib/sets/lists/base/rescue.sun2: file removal
usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3
distrib/sets/lists/base/rescue.ad.m68k.shl: file removal
distrib/sets/regpkgset: revision 1.13
usr.sbin/sysinst/arch/i386/md.h: revision 1.7
distrib/sets/lists/base/rescue.sparc: file removal
distrib/notes/mvme68k/xfer: revision 1.19
distrib/sets/sets.subr: revision 1.187
distrib/common/bootimage/Makefile.bootimage: revision 1.22
usr.sbin/sysinst/msg.mi.de: revision 1.16
usr.sbin/sysinst/arch/atari/md.h: revision 1.3
rescue/Makefile: revision 1.38
distrib/sets/lists/base/rescue.macppc: file removal
usr.sbin/sysinst/arch/arc/md.h: revision 1.4
distrib/miniroot/install.sub: revision 1.49
usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3
usr.sbin/sysinst/arch/x68k/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3
usr.sbin/sysinst/arch/bebox/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2
distrib/sets/lists/base/rescue.shark: file removal
usr.sbin/sysinst/arch/emips/md.h: revision 1.5
distrib/utils/embedded/mkimage: revision 1.70
usr.sbin/sysinst/arch/shark/md.h: revision 1.3
usr.sbin/sysinst/arch/pmax/md.h: revision 1.4
usr.sbin/sysinst/arch/amiga/md.h: revision 1.4
usr.sbin/sysinst/arch/hp300/md.h: revision 1.5
rescue/list.ldconfig: file removal
distrib/sets/lists/base/rescue.ad.m68k: file removal
usr.sbin/sysinst/arch/prep/md.h: revision 1.4
usr.sbin/sysinst/arch/cats/md.h: revision 1.4
usr.sbin/sysinst/arch/amd64/md.h: revision 1.7
usr.sbin/sysinst/msg.mi.es: revision 1.17
usr.sbin/sysinst/msg.mi.fr: revision 1.20
usr.sbin/sysinst/msg.mi.pl: revision 1.23
distrib/sets/lists/base/rescue.i386: file removal
usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3
distrib/sets/lists/base/rescue.vax: file removal
distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12
usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3
distrib/sets/lists/base/rescue.mi: file removal
distrib/sets/README: revision 1.14
usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4
distrib/sets/lists/base/rescue.sparc64: file removal
distrib/sets/lists/base/rescue.mi: revision 1.45
distrib/sets/lists/base/rescue.mi: revision 1.46
usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4
usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4
distrib/sets/lists/base/rescue.ad.arm: file removal
distrib/sets/lists/base/rescue.mac68k: file removal
usr.sbin/sysinst/defs.h: revision 1.45
usr.sbin/sysinst/arch/landisk/md.h: revision 1.2
distrib/notes/atari/xfer: revision 1.17
etc/Makefile: revision 1.441
usr.sbin/sysinst/msg.mi.en: revision 1.22
distrib/sun2/MakeInstTape: revision 1.2

Remove ldconfig from /rescue, and mark it MI obsolete.
- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
since NetBSD 2.0 or so, and having it in /rescue served little purpose
even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
is the sole entry

Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.

Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.
 1.55 16-May-2022  christos remove threads; size constraints and behavioral change
 1.54 16-May-2022  christos Add -lpthread for the benefit or argon2 in cgdconfig
 1.53 04-Apr-2020  jdolecek remove SMBFS and nsmb/netsmb - userland part
 1.52 12-Dec-2018  martin Retire lmcconfig here too.
 1.51 23-Sep-2018  maxv Remove the userland part of ISDN. The kernel part is untouched for now.
ipppctl was actually an exact copy of pppoectl; there is no functional
change in pppoectl in this commit.
 1.50 31-Jul-2018  khorben Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.
 1.49 11-Apr-2018  rin branches: 1.49.2;
Add progress(1) into /rescue.

No objection when proposed on tech-userlevel@.
 1.48 04-Aug-2016  pgoyette branches: 1.48.12;
vnconfig(8) was renamed to vndconfig(8) some time ago, and most places
keep both names around.

One place that got missed is /rescue so let's update it for consistency
with all the other places.

(Pointed out in private Email by kre@)
 1.47 02-Jul-2016  christos branches: 1.47.2;
cgdconfig is not crypto
 1.46 09-Aug-2014  apb Add rescue/ekermit.
 1.45 26-Dec-2013  christos mount_smbfs has moved.
 1.44 29-Nov-2013  christos nvi has moved
 1.43 25-May-2012  jnemeth branches: 1.43.2;
PR/46393 - Nat Sloss -- add gpt(8) to /rescue
 1.42 03-Jul-2011  tron branches: 1.42.2; 1.42.4;
Update location of "less" directory.
 1.41 19-Jun-2011  christos add the lzma library now that is used by gzip
 1.40 14-Jan-2011  njoly branches: 1.40.4;
Adjust for the new chown location.
 1.39 13-Feb-2010  roy Don't install terminfo.db.
 1.38 05-Feb-2010  roy Move the emergancy terminfo database from /root to /rescue.
 1.37 03-Feb-2010  roy Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@
 1.36 05-Dec-2009  pooka Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.35 07-Jan-2009  mrg - rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
 1.34 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.33 29-Oct-2008  christos branches: 1.33.2;
use nvi instead. thanks to Andreas Wrede
 1.32 31-Dec-2007  ad Remove systrace. Ok core@.
 1.31 29-Jun-2007  rumble branches: 1.31.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.
 1.30 15-May-2007  lukem Add dumpfs & dumplfs to /rescue, as they may be useful during system
recovery.
 1.29 23-Mar-2007  lukem Add: lfs_cleanerd
Suggested by Blair Sadewitz

Add: grep egrep fgrep zgrep zegrep zfgrep
Suggested by George Michaelson
 1.28 29-Nov-2006  dogcow add libprop to LIBS, as veriexecctl now needs it.
 1.27 01-Nov-2006  apb Revert the recent addition of /rescue/gkermit. There's some concern
that linking GPL code into /rescue is not a good idea.
 1.26 01-Nov-2006  apb Add /rescue/gkermit. Discussed in tech-userlevel.
 1.25 16-Aug-2006  ghen Add mount_tmpfs(8) to /rescue. Ok with christos.
 1.24 15-Aug-2006  ghen Add ex(1) to /rescue. This won't add more than a few bytes to the crunchgen
binary since "ex" is just "vi -e" and vi(1) is already there.

Ok with hubertf and salo.
 1.23 06-Dec-2005  skrll branches: 1.23.2;
lmcctl has been replaced by lmcconfig.
 1.22 23-Sep-2005  christos put back tetris; by popular demand.
 1.21 22-Sep-2005  christos PR/31370: Andreas Wiese: Remove tetris from rescue
 1.20 10-Aug-2005  xtraeme Add vnconfig(8). ok christos
 1.19 18-Jun-2005  lukem add scan_ffs and veriexecctl to /rescue
 1.18 22-May-2005  lukem Make fdisk(8) available on all platforms, since MS-DOS partitioning
is the de-facto standard for many removable media types.
 1.17 01-Apr-2005  lukem Add /rescue/tetris.
When your system is fubared, this will help you relax.
 1.16 13-Jan-2005  lukem branches: 1.16.2;
cosmetic tweak
 1.15 13-Jan-2005  lukem Restore the "liboverride" functionality because it's needed to correctly
implement rmcd(3) in the rescue tools.
 1.14 10-Jan-2005  lukem Add: less (more), vi, chroot
Requested by Matthew Mondor in PR 26147
 1.13 10-Jan-2005  lukem Only compile in IPv6 support if ${USE_INET6} != "no"

MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
 1.12 20-Aug-2004  tron Complete removal of "liboverride" to fix build problems.
 1.11 01-Apr-2004  mrg no need to list gnu/usr.bin any more.
 1.10 21-Mar-2004  jdolecek add mount_smbfs
 1.9 29-Nov-2003  simonb systrace needs libevent now.
 1.8 21-Oct-2003  lukem Add installboot. Suggested by Curt Sampson.
 1.7 26-May-2003  lukem * Add ftp to /rescue.
* Implement liboverride.o to provide overrides of various libc functions.
For now, compile a special version of rcmd(3) (et al) which uses
/rescue/rcmd and /rescue/sh instead of the /bin variants.
Other overrides may appear in the future.

Should fix [bin/21670] from Geoff Wing.
 1.6 03-Mar-2003  enami Build mount_* individually, since mount and most of mount_* no longer
shares binary image. Fixes PR#20553.
 1.5 24-Sep-2002  lukem Add chown and chgrp. Suggested by Geoff Wing in [bin/18393]
 1.4 26-Aug-2002  lukem oops; typo. (thanks enami!)
 1.3 26-Aug-2002  lukem don't install -sh as a link to sh. use ARGVLN to support -sh, -csh, and -ksh
 1.2 24-Aug-2002  lukem support -sh as a synonym for sh
 1.1 22-Aug-2002  lukem Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:

Infrastructure to build a set of "rescue" tools; a crunched-up
version of all the statically linked binaries in /bin, /sbin
and the few in /usr/bin.
 1.16.2.1 17-Aug-2006  tron Pull up following revision(s) (requested by ghen in ticket #1467):
distrib/sets/lists/base/rescue.mi: revision 1.18
rescue/list: revision 1.24
Add ex(1) to /rescue. This won't add more than a few bytes to the crunchgen
binary since "ex" is just "vi -e" and vi(1) is already there.
Ok with hubertf and salo.
 1.23.2.2 21-Aug-2006  tron Pull up following revision(s) (requested by ghen in ticket #32):
distrib/sets/lists/base/rescue.mi: revision 1.19
rescue/list: revision 1.25
Add mount_tmpfs(8) to /rescue. Ok with christos.
 1.23.2.1 21-Aug-2006  tron Pull up following revision(s) (requested by ghen in ticket #32):
distrib/sets/lists/base/rescue.mi: revision 1.18
rescue/list: revision 1.24
Add ex(1) to /rescue. This won't add more than a few bytes to the crunchgen
binary since "ex" is just "vi -e" and vi(1) is already there.
Ok with hubertf and salo.
 1.31.4.1 09-Jan-2008  matt sync with HEAD
 1.33.2.2 03-Jun-2012  jdc Pull up revisions:
src/distrib/sets/lists/base/rescue.mi revision 1.34
src/rescue/list revision 1.43
(requested by jnemeth in ticket #1764).

PR/46393 - Nat Sloss -- add gpt(8) to /rescue
 1.33.2.1 16-Jan-2009  bouyer Pull up following revision(s) (requested by mrg in ticket #265):
libexec/ld.elf_so/headers.c: revision 1.27
rescue/list: revision 1.35
libexec/ld.elf_so/arch/sparc/Makefile.ld32: revision 1.1
usr.bin/ldd/Makefile.elf: revision 1.1
usr.bin/ldd/Makefile.elf: revision 1.2
usr.bin/ldd/ldd_aout/ldd.c: file removal
usr.bin/ldd/Makefile.elf: revision 1.3
libexec/ld.elf_so/arch/sparc/Makefile.inc: revision 1.12
usr.bin/ldd/dummy.c: revision 1.1
gnu/usr.bin/binutils/ld/Makefile: revision 1.28
usr.bin/ldd/elf32/Makefile: revision 1.1
usr.bin/ldd/elf32/Makefile: revision 1.2
usr.bin/ldd/ldd.c: revision 1.3
usr.bin/ldd/elf32/Makefile: revision 1.3
usr.bin/ldd/ldd_elf/Makefile: file removal
usr.bin/ldd/ldd.h: revision 1.1
usr.bin/ldd/ldd.c: revision 1.4
usr.bin/ldd/ldd_aout.c: revision 1.1
usr.bin/ldd/Makefile: revision 1.8
usr.bin/ldd/Makefile: revision 1.9
usr.bin/ldd/ldd_elfxx.c: revision 1.1
libexec/ld.elf_so/map_object.c: revision 1.37
usr.bin/ldd/ldd_aout/Makefile: file removal
usr.bin/ldd/elf64/Makefile: revision 1.1
rescue/Makefile: revision 1.22
libexec/ld.elf_so/arch/i386/Makefile.ld32: revision 1.1
usr.bin/ldd/ldd_elf/ldd.c: file removal
usr.bin/ldd/elf64/Makefile: revision 1.2
usr.bin/ldd/elf64/Makefile: revision 1.3
usr.bin/ldd/aout/Makefile: revision 1.1
libexec/ld.elf_so/arch/i386/Makefile.inc: revision 1.12
rescue/list.ldd: revision 1.1
usr.bin/ldd/ldd_elf/README: file removal
usr.bin/ldd/Makefile.common: revision 1.1
move the defines for RTLD_ARCH_SUBDIR into a sub-sub-makefile so we can
grab these values via reach-over more easily.
some fixes for PR#40170:
- set NATIVE=yes in the environment for genscripts.sh
- set LIB_PATH to /usr/lib/{sparc,i386} for those scripts
- set use_sysroot to "yes", to enable LIB_PATH to work in genscripts.sh
- get rid of building an a.out-happy ldd (but keep supporting a.out
binaries for the ELF version.)
- convert a.out, elf32 and elf64 support into convience libraries and
link them right ones in. if elf_ldd() fails on 64 bit platforms,
try elf32_ldd() before aout_ldd().
now ldd on 64 bit platforms works for 32 bit binaries, aka PR#40199,
and it seems that all the issues from README are gone too.
add some (uintptr_t) to some casts, so these compile with ELFSIZE=32
*and _LP64. necessary for 32/64 bit combo ldd support.
- rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
make sure we set LIBISPRIVATE.
fixes build issues reported by moof.
make sure we set LIBISPRIVATE.
fixes build issues reported by moof.
 1.40.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.42.4.1 05-Jun-2012  jdc Pull up revisions:
src/distrib/sets/lists/base/rescue.mi revision 1.34
src/rescue/list revision 1.43
(requested by jnemeth in ticket #284).

PR/46393 - Nat Sloss -- add gpt(8) to /rescue
 1.42.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.42.2.1 30-Oct-2012  yamt sync with head
 1.43.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.47.2.1 06-Aug-2016  pgoyette Sync with HEAD
 1.48.12.4 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.48.12.3 30-Sep-2018  pgoyette Ssync with HEAD
 1.48.12.2 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.48.12.1 16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.49.2.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.49.2.1 10-Jun-2019  christos Sync with HEAD
 1.2 09-Jan-2008  simonb Remove support for NetBSD/pc532.
 1.1 22-Aug-2002  lukem branches: 1.1.22;
Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:

Infrastructure to build a set of "rescue" tools; a crunched-up
version of all the statically linked binaries in /bin, /sbin
and the few in /usr/bin.
 1.1.22.1 23-Mar-2008  matt sync with HEAD
 1.11 17-Jul-2025  christos new openssl needs pthreads
 1.10 02-Jul-2016  christos branches: 1.10.28;
cgdconfig is not crypto
 1.9 21-Dec-2012  christos PR/47276: ftp has ssl support now.
 1.8 20-Jul-2009  christos branches: 1.8.6; 1.8.8; 1.8.12;
use the new ssh
 1.7 23-Jun-2008  christos we cannot use pthreads here because we are statically linked.
 1.6 22-Jun-2008  christos ssh now needs pthread.
 1.5 30-May-2007  fvdl branches: 1.5.12;
libssp is no more
 1.4 28-May-2007  tls Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.3 10-Jan-2005  lukem Special-case the srcdirs for scp & ssh.
 1.2 10-Jan-2005  lukem Add to /rescue: scp ssh slogin
(all without Kerberos support at this time)
 1.1 10-Jan-2005  lukem Provide /rescue/cgdconfig if ${MKCRYPTO} != "no"
 1.5.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.5.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.12.1 25-Feb-2013  tls resync with head
 1.8.8.1 18-Dec-2013  riz Apply patches to fix pullup #997:

- ftp(1) now supports https, fix rescue and some cdrom sets.
 1.8.6.1 23-Jan-2013  yamt sync with head
 1.10.28.1 02-Aug-2025  perseant Sync with HEAD
 1.2 10-Mar-2010  abs Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
 1.1 22-Aug-2002  lukem Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:

Infrastructure to build a set of "rescue" tools; a crunched-up
version of all the statically linked binaries in /bin, /sbin
and the few in /usr/bin.
 1.2 22-May-2005  lukem Make fdisk(8) available on all platforms, since MS-DOS partitioning
is the de-facto standard for many removable media types.
 1.1 22-Aug-2002  lukem Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:

Infrastructure to build a set of "rescue" tools; a crunched-up
version of all the statically linked binaries in /bin, /sbin
and the few in /usr/bin.
 1.2 11-Sep-2014  roy Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
 1.1 10-Jan-2005  lukem Only compile in IPv6 support if ${USE_INET6} != "no"

MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
 1.2 02-Oct-2019  maya Remove ldconfig from /rescue, and mark it MI obsolete.

- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
since NetBSD 2.0 or so, and having it in /rescue served little purpose
even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
is the sole entry
 1.1 22-Aug-2002  lukem branches: 1.1.96; 1.1.98;
Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:

Infrastructure to build a set of "rescue" tools; a crunched-up
version of all the statically linked binaries in /bin, /sbin
and the few in /usr/bin.
 1.1.98.1 17-Nov-2019  martin Pull up following revision(s) (requested by maya in ticket #435):

distrib/sets/maketars: revision 1.90
usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2
usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3
usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3
distrib/sun3/MakeInstTape: revision 1.3
usr.sbin/sysinst/util.c: revision 1.33
distrib/sets/lists/rescue/mi: revision 1.1
distrib/sets/lists/base/rescue.sun2: file removal
usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3
distrib/sets/lists/base/rescue.ad.m68k.shl: file removal
distrib/sets/regpkgset: revision 1.13
usr.sbin/sysinst/arch/i386/md.h: revision 1.7
distrib/sets/lists/base/rescue.sparc: file removal
distrib/notes/mvme68k/xfer: revision 1.19
distrib/sets/sets.subr: revision 1.187
distrib/common/bootimage/Makefile.bootimage: revision 1.22
usr.sbin/sysinst/msg.mi.de: revision 1.16
usr.sbin/sysinst/arch/atari/md.h: revision 1.3
rescue/Makefile: revision 1.38
distrib/sets/lists/base/rescue.macppc: file removal
usr.sbin/sysinst/arch/arc/md.h: revision 1.4
distrib/miniroot/install.sub: revision 1.49
usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3
usr.sbin/sysinst/arch/x68k/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3
usr.sbin/sysinst/arch/bebox/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2
distrib/sets/lists/base/rescue.shark: file removal
usr.sbin/sysinst/arch/emips/md.h: revision 1.5
distrib/utils/embedded/mkimage: revision 1.70
usr.sbin/sysinst/arch/shark/md.h: revision 1.3
usr.sbin/sysinst/arch/pmax/md.h: revision 1.4
usr.sbin/sysinst/arch/amiga/md.h: revision 1.4
usr.sbin/sysinst/arch/hp300/md.h: revision 1.5
rescue/list.ldconfig: file removal
distrib/sets/lists/base/rescue.ad.m68k: file removal
usr.sbin/sysinst/arch/prep/md.h: revision 1.4
usr.sbin/sysinst/arch/cats/md.h: revision 1.4
usr.sbin/sysinst/arch/amd64/md.h: revision 1.7
usr.sbin/sysinst/msg.mi.es: revision 1.17
usr.sbin/sysinst/msg.mi.fr: revision 1.20
usr.sbin/sysinst/msg.mi.pl: revision 1.23
distrib/sets/lists/base/rescue.i386: file removal
usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3
distrib/sets/lists/base/rescue.vax: file removal
distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12
usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3
distrib/sets/lists/base/rescue.mi: file removal
distrib/sets/README: revision 1.14
usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4
distrib/sets/lists/base/rescue.sparc64: file removal
distrib/sets/lists/base/rescue.mi: revision 1.45
distrib/sets/lists/base/rescue.mi: revision 1.46
usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4
usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4
distrib/sets/lists/base/rescue.ad.arm: file removal
distrib/sets/lists/base/rescue.mac68k: file removal
usr.sbin/sysinst/defs.h: revision 1.45
usr.sbin/sysinst/arch/landisk/md.h: revision 1.2
distrib/notes/atari/xfer: revision 1.17
etc/Makefile: revision 1.441
usr.sbin/sysinst/msg.mi.en: revision 1.22
distrib/sun2/MakeInstTape: revision 1.2

Remove ldconfig from /rescue, and mark it MI obsolete.
- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
since NetBSD 2.0 or so, and having it in /rescue served little purpose
even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
is the sole entry

Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.

Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.
 1.1.96.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.7 15-Apr-2011  plunky move the build of ldd binary to a subdir in order to allow
explict ordering. This makes "make all" work the same as
"make dependall"
 1.6 25-Mar-2011  joerg Add basic locking to ld.elf_so.
 1.5 09-Mar-2011  joerg Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.

Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.
 1.4 16-Oct-2010  skrll Implement dl_iterate_phdr.

Somewhat taken from FreeBSD. Manual page from OpenBSD.
 1.3 27-Feb-2010  roy Sync against new ld.elf_so
 1.2 22-Aug-2009  mrg kill ldd_aout. it didn't work anyway...not since i don't know when.
 1.1 07-Jan-2009  mrg branches: 1.1.2;
- rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
 1.1.2.3 17-Mar-2012  bouyer Pull up following revision(s) via patch (requested by skrll in ticket #1724):
rescue/list.ldd: revision 1.4
lib/libc/dlfcn/dlfcn_elf.c: revision 1.7
libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.57
distrib/sets/lists/comp/mi: revision 1.1512
share/man/man3/Makefile: revision 1.56
libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.58
usr.bin/ldd/ldd.c: revision 1.15
libexec/ld.elf_so/rtld.h: revision 1.84
share/man/man3/dl_iterate_phdr.3: revision 1.1
libexec/ld.elf_so/rtld.c: revision 1.129
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c: revision 1.44
libexec/ld.elf_so/rtld.h: revision 1.89
libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.36
libexec/ld.elf_so/map_object.c: revision 1.41
libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.37
libexec/ld.elf_so/arch/sparc64/mdreloc.c: revision 1.46
include/link_elf.h: revision 1.10
libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.29
libexec/ld.elf_so/arch/vax/mdreloc.c: revision 1.26
libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.34
libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.31
libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.35
libexec/ld.elf_so/Makefile: revision 1.94
libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.32
libexec/ld.elf_so/Makefile: revision 1.95
libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.31
libexec/ld.elf_so/Makefile: revision 1.96
libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.32
libexec/ld.elf_so/reloc.c: revision 1.98
libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.33
sys/sys/exec_elf.h: revision 1.106
libexec/ld.elf_so/rtld.c: revision 1.130
libexec/ld.elf_so/load.c: revision 1.37
libexec/ld.elf_so/rtld.c: revision 1.131
libexec/ld.elf_so/load.c: revision 1.38
libexec/ld.elf_so/rtld.h: revision 1.90
libexec/ld.elf_so/headers.c: revision 1.36
libexec/ld.elf_so/rtld.h: revision 1.95
libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.30
libexec/ld.elf_so/arch/m68k/mdreloc.c: revision 1.25
libexec/ld.elf_so/symbol.c: revision 1.50
libexec/ld.elf_so/symbol.c: revision 1.51
libexec/ld.elf_so/arch/sparc/mdreloc.c: revision 1.43
libexec/ld.elf_so/symbol.c: revision 1.52
libexec/ld.elf_so/arch/sh3/mdreloc.c: revision 1.27
libexec/ld.elf_so/symbol.c: revision 1.54
PR/39240: Satoshi Suetake: Don't fail when attempting to resolve weak symbols
when we are doing immediate binding, leave them alone and they will be dealt
with later during lazy binding. From skrll@
Implement negative cache checks for symbol lookups.
Uses the Donelist idea from FreeBSD.
Use alloca(3) instead of local xmalloc for creating our DoneLists.
This allows threaded programs to use us a little better, PR lib/43005.
Implement dl_iterate_phdr.
Somewhat taken from FreeBSD. Manual page from OpenBSD.
 1.1.2.2 16-Jan-2009  bouyer Pull up following revision(s) (requested by mrg in ticket #265):
libexec/ld.elf_so/headers.c: revision 1.27
rescue/list: revision 1.35
libexec/ld.elf_so/arch/sparc/Makefile.ld32: revision 1.1
usr.bin/ldd/Makefile.elf: revision 1.1
usr.bin/ldd/Makefile.elf: revision 1.2
usr.bin/ldd/ldd_aout/ldd.c: file removal
usr.bin/ldd/Makefile.elf: revision 1.3
libexec/ld.elf_so/arch/sparc/Makefile.inc: revision 1.12
usr.bin/ldd/dummy.c: revision 1.1
gnu/usr.bin/binutils/ld/Makefile: revision 1.28
usr.bin/ldd/elf32/Makefile: revision 1.1
usr.bin/ldd/elf32/Makefile: revision 1.2
usr.bin/ldd/ldd.c: revision 1.3
usr.bin/ldd/elf32/Makefile: revision 1.3
usr.bin/ldd/ldd_elf/Makefile: file removal
usr.bin/ldd/ldd.h: revision 1.1
usr.bin/ldd/ldd.c: revision 1.4
usr.bin/ldd/ldd_aout.c: revision 1.1
usr.bin/ldd/Makefile: revision 1.8
usr.bin/ldd/Makefile: revision 1.9
usr.bin/ldd/ldd_elfxx.c: revision 1.1
libexec/ld.elf_so/map_object.c: revision 1.37
usr.bin/ldd/ldd_aout/Makefile: file removal
usr.bin/ldd/elf64/Makefile: revision 1.1
rescue/Makefile: revision 1.22
libexec/ld.elf_so/arch/i386/Makefile.ld32: revision 1.1
usr.bin/ldd/ldd_elf/ldd.c: file removal
usr.bin/ldd/elf64/Makefile: revision 1.2
usr.bin/ldd/elf64/Makefile: revision 1.3
usr.bin/ldd/aout/Makefile: revision 1.1
libexec/ld.elf_so/arch/i386/Makefile.inc: revision 1.12
rescue/list.ldd: revision 1.1
usr.bin/ldd/ldd_elf/README: file removal
usr.bin/ldd/Makefile.common: revision 1.1
move the defines for RTLD_ARCH_SUBDIR into a sub-sub-makefile so we can
grab these values via reach-over more easily.
some fixes for PR#40170:
- set NATIVE=yes in the environment for genscripts.sh
- set LIB_PATH to /usr/lib/{sparc,i386} for those scripts
- set use_sysroot to "yes", to enable LIB_PATH to work in genscripts.sh
- get rid of building an a.out-happy ldd (but keep supporting a.out
binaries for the ELF version.)
- convert a.out, elf32 and elf64 support into convience libraries and
link them right ones in. if elf_ldd() fails on 64 bit platforms,
try elf32_ldd() before aout_ldd().
now ldd on 64 bit platforms works for 32 bit binaries, aka PR#40199,
and it seems that all the issues from README are gone too.
add some (uintptr_t) to some casts, so these compile with ELFSIZE=32
*and _LP64. necessary for 32/64 bit combo ldd support.
- rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
make sure we set LIBISPRIVATE.
fixes build issues reported by moof.
make sure we set LIBISPRIVATE.
fixes build issues reported by moof.
 1.1.2.1 07-Jan-2009  bouyer file list.ldd was added on branch netbsd-5 on 2009-01-16 22:21:30 +0000
 1.2 22-Aug-2009  mrg kill ldd_aout. it didn't work anyway...not since i don't know when.
 1.1 21-Aug-2009  he Add a new list.ldd.noaout, which is a copy of list.ldd but without
the a.out support.
Tweak Makefile so that the a.out support is not built for mips.
 1.2 24-Mar-2013  christos point pdisk to the right place
 1.1 22-Aug-2002  lukem branches: 1.1.54; 1.1.60; 1.1.68;
Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:

Infrastructure to build a set of "rescue" tools; a crunched-up
version of all the statically linked binaries in /bin, /sbin
and the few in /usr/bin.
 1.1.68.1 28-Mar-2013  agc Pull up fixes from HEAD after pdisk move to external
 1.1.60.1 23-Jun-2013  tls resync from head
 1.1.54.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 13-Feb-2010  roy Don't install terminfo.db in rescue.
 1.1 05-Feb-2010  roy Move the emergancy terminfo database from /root to /rescue.
 1.2 19-Aug-2004  christos Remove special handling for rcmd.o; not needed.
 1.1 26-May-2003  lukem * Add ftp to /rescue.
* Implement liboverride.o to provide overrides of various libc functions.
For now, compile a special version of rcmd(3) (et al) which uses
/rescue/rcmd and /rescue/sh instead of the /bin variants.
Other overrides may appear in the future.

Should fix [bin/21670] from Geoff Wing.
 1.2 13-Feb-2010  roy Don't install terminfo.db in rescue.
 1.1 05-Feb-2010  roy Move the emergancy terminfo database from /root to /rescue.

RSS XML Feed