summaryrefslogtreecommitdiff
path: root/rescue
AgeCommit message (Collapse)Author
2022-05-16remove threads; size constraints and behavioral changechristos
2022-05-16Add -lpthread for the benefit or argon2 in cgdconfigchristos
2020-04-04smb is no more.christos
2020-04-04remove SMBFS and nsmb/netsmb - userland partjdolecek
2020-03-01Redo the sshsk_sign() stuff properly, but putting the helper in libssh.sochristos
2020-02-27Unfortunately libssh has an undefined symbol sshsk_sign(), which is providedchristos
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...
2019-12-291. Remove all the special handling of variables (-d -p -P -s -S) thatchristos
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)
2019-10-02Remove ldconfig from /rescue, and mark it MI obsolete.maya
- 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
2019-01-27fix duplicated chunk from mergedholland
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-12-12Retire lmcconfig here too.martin
2018-09-23Remove the userland part of ISDN. The kernel part is untouched for now.maxv
ipppctl was actually an exact copy of pppoectl; there is no functional change in pppoectl in this commit.
2018-07-31Add a port of the umb(4) driver from OpenBSDkhorben
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.
2018-07-25Specify NOLIBCSANITIZER for rescuekamil
The rescue image could be sanitized with a sanitizer in libc, but it's left for future as a possible research.
2018-06-21Set NOSANITIZER in rescue/Makefilekamil
This is required to stop sanitizing rcmd.o and liboverride.o. These object files will be linked into statically linked rescue.
2018-04-11Add progress(1) into /rescue.rin
No objection when proposed on tech-userlevel@.
2017-10-08Extra flags for static PIEchristos
2017-05-21Remove MKCRYPTO option.riastradh
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.
2016-08-04vnconfig(8) was renamed to vndconfig(8) some time ago, and most placespgoyette
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@)
2016-07-02cgdconfig is not cryptochristos
2014-09-11Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).roy
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-08-09Add rescue/ekermit.apb
2014-01-30Append -Os to DBG, not overwrite in case DBG has more than just -Ox frommatt
sys.mk
2013-12-26mount_smbfs has moved.christos
2013-11-29nvi has movedchristos
2013-03-24point pdisk to the right placechristos
2013-03-24descend to bin for pdiskchristos
2013-03-24pdisk has moved to external/bsd - try to deal.martin
2012-12-21PR/47276: ftp has ssl support now.christos
2012-05-25PR/46393 - Nat Sloss -- add gpt(8) to /rescuejnemeth
2011-07-03Update location of "less" directory.tron
2011-06-19add the lzma library now that is used by gzipchristos
2011-04-15move the build of ldd binary to a subdir in order to allowplunky
explict ordering. This makes "make all" work the same as "make dependall"
2011-03-25Add basic locking to ld.elf_so.joerg
2011-03-09Add TLS support infrastructure. For dynamic binaries, ld.elf_so exportsjoerg
_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-01-14Adjust for the new chown location.njoly
2010-10-16Implement dl_iterate_phdr.skrll
Somewhat taken from FreeBSD. Manual page from OpenBSD.
2010-03-10Relegate edlabel to use in extremely memory constrained installabs
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-02-27Sync against new ld.elf_soroy
2010-02-13Don't install terminfo.db.roy
2010-02-13Don't install terminfo.db in rescue.roy
2010-02-05Move the emergancy terminfo database from /root to /rescue.roy
2010-02-03Userland now builds and uses terminfo instead of termcap.roy
OK: core@, jdc@
2009-12-05Remove the portalfs kernel file system driver. Replace mount_portal(8)pooka
with a version based on puffs. User functionality remains the same.
2009-08-22kill ldd_aout. it didn't work anyway...not since i don't know when.mrg
2009-08-21Add a new list.ldd.noaout, which is a copy of list.ldd but withouthe
the a.out support. Tweak Makefile so that the a.out support is not built for mips.
2009-07-20use the new sshchristos
2009-01-07- rework this a bunch to make it work inside /rescue/ldd.mrg
- fix alpha build.
2008-11-12Remove LKMs and switch to the module framework, pass 1.ad
Proposed on tech-kern@.
2008-10-29use nvi instead. thanks to Andreas Wredechristos