Commit Graph

82 Commits

Author SHA1 Message Date
roy c6314d6139 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@
2014-09-11 13:10:03 +00:00
apb c5a47a1b14 Add rescue/ekermit. 2014-08-09 18:32:34 +00:00
matt 7738103370 Append -Os to DBG, not overwrite in case DBG has more than just -Ox from
sys.mk
2014-01-30 22:19:00 +00:00
christos 096e95360a mount_smbfs has moved. 2013-12-26 02:25:57 +00:00
christos c19c99c207 nvi has moved 2013-11-29 01:12:47 +00:00
christos 516c4aa727 point pdisk to the right place 2013-03-24 19:18:37 +00:00
christos 6c56214fbc descend to bin for pdisk 2013-03-24 17:05:27 +00:00
martin 52b9a33a36 pdisk has moved to external/bsd - try to deal. 2013-03-24 11:07:07 +00:00
christos c9b86c2cbb PR/47276: ftp has ssl support now. 2012-12-21 18:09:39 +00:00
jnemeth ad2783f75a PR/46393 - Nat Sloss -- add gpt(8) to /rescue 2012-05-25 21:46:13 +00:00
tron 09e74efd7a Update location of "less" directory. 2011-07-03 22:05:01 +00:00
christos c21dd86c39 add the lzma library now that is used by gzip 2011-06-19 01:53:36 +00:00
plunky d1fbb9e17f 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"
2011-04-15 08:47:02 +00:00
joerg cb1cd7e860 Add basic locking to ld.elf_so. 2011-03-25 18:07:04 +00:00
joerg aad599979d 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.
2011-03-09 23:10:05 +00:00
njoly bb3c6ce094 Adjust for the new chown location. 2011-01-14 00:59:14 +00:00
skrll e6cdac9c4b Implement dl_iterate_phdr.
Somewhat taken from FreeBSD. Manual page from OpenBSD.
2010-10-16 10:27:06 +00:00
abs 6c6ab6a995 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
2010-03-10 23:13:09 +00:00
roy 9033c3cfe7 Sync against new ld.elf_so 2010-02-27 11:17:05 +00:00
roy b17c885f88 Don't install terminfo.db. 2010-02-13 22:54:51 +00:00
roy d930bbb936 Don't install terminfo.db in rescue. 2010-02-13 11:21:55 +00:00
roy 89d790bdbe Move the emergancy terminfo database from /root to /rescue. 2010-02-05 09:44:23 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
pooka 70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
mrg a9208fb155 kill ldd_aout. it didn't work anyway...not since i don't know when. 2009-08-22 06:52:15 +00:00
he 6ef3b52d49 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.
2009-08-21 15:16:45 +00:00
christos 9d77fb1cda use the new ssh 2009-07-20 19:59:22 +00:00
mrg 9b688fed42 - rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
2009-01-07 00:39:23 +00:00
ad 0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
christos f1178d7b7f use nvi instead. thanks to Andreas Wrede 2008-10-29 23:55:28 +00:00
christos 34244a4587 we cannot use pthreads here because we are statically linked. 2008-06-23 14:53:06 +00:00
christos 9980dced8b ssh now needs pthread. 2008-06-22 18:54:49 +00:00
mrg ecc90aa046 make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
simonb d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
ad 2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
rumble 6912898dc8 Add read-only support for SGI's Extent File System.
Reviewed by pooka@.
2007-06-29 23:30:16 +00:00
fvdl 79cc43c346 libssp is no more 2007-05-30 14:25:32 +00:00
tls 4147a3c54a 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.
2007-05-28 12:06:17 +00:00
lukem 8f20ed50e2 Add dumpfs & dumplfs to /rescue, as they may be useful during system
recovery.
2007-05-15 23:23:49 +00:00
lukem a37dc4c07f Add: lfs_cleanerd
Suggested by Blair Sadewitz

Add: grep egrep fgrep zgrep zegrep zfgrep
Suggested by George Michaelson
2007-03-23 05:48:34 +00:00
dogcow a1ad69aaeb add libprop to LIBS, as veriexecctl now needs it. 2006-11-29 08:41:49 +00:00
apb 67c362294a Revert the recent addition of /rescue/gkermit. There's some concern
that linking GPL code into /rescue is not a good idea.
2006-11-01 17:36:13 +00:00
apb 3d7d705c6f Add /rescue/gkermit. Discussed in tech-userlevel. 2006-11-01 13:22:32 +00:00
ghen 8ef6dfdf8c Add mount_tmpfs(8) to /rescue. Ok with christos. 2006-08-16 16:50:59 +00:00
ghen 787f1c4af1 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.
2006-08-15 14:14:35 +00:00
skrll 856be5d817 lmcctl has been replaced by lmcconfig. 2005-12-06 14:02:58 +00:00
christos 1441dfb39d put back tetris; by popular demand. 2005-09-23 00:29:51 +00:00
christos 55130020a8 PR/31370: Andreas Wiese: Remove tetris from rescue 2005-09-22 12:29:31 +00:00
xtraeme cf10ca7b98 Add vnconfig(8). ok christos 2005-08-10 20:04:40 +00:00
lukem 335e2ccf58 add scan_ffs and veriexecctl to /rescue 2005-06-18 06:59:23 +00:00