Commit Graph

92 Commits

Author SHA1 Message Date
martin f9e4cdb460 Retire lmcconfig here too. 2018-12-12 10:25:29 +00:00
maxv 6049b090a1 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.
2018-09-23 07:24:19 +00:00
khorben d7f036be09 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.
2018-07-31 16:44:28 +00:00
kamil d9ee272cda 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.
2018-07-25 23:52:38 +00:00
kamil 0e6099283a 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.
2018-06-21 10:44:01 +00:00
rin 3bce0be59a Add progress(1) into /rescue.
No objection when proposed on tech-userlevel@.
2018-04-11 00:26:38 +00:00
christos 30497168b4 Extra flags for static PIE 2017-10-08 15:02:33 +00:00
riastradh ef315f7931 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.
2017-05-21 15:28:36 +00:00
pgoyette eccb15708e 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@)
2016-08-04 03:50:55 +00:00
christos d443656936 cgdconfig is not crypto 2016-07-02 15:59:21 +00:00
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