Commit Graph

15165 Commits

Author SHA1 Message Date
ozaki-r
6ed91e62d5 Separate test files 2017-07-18 02:16:07 +00:00
hannken
270ec158cb Bump image size. 2017-07-17 14:36:13 +00:00
christos
f770f4ce9a Give us a little room, too much potato chips. 2017-07-16 14:24:29 +00:00
perseant
4a641438c8 Add a simple collation test. This test is expected to fail on HEAD since
we do not yet have a working implementation of wcscoll.
2017-07-14 14:57:43 +00:00
maxv
e0e9462ba4 Build the pmc tool on amd64. 2017-07-12 17:10:09 +00:00
martin
7102d57863 Add misising DEBUGLIB file 2017-07-12 07:38:17 +00:00
martin
bb8ca22dcf Fix filename of new debug file 2017-07-12 07:18:40 +00:00
joerg
e5678be828 Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This
functions are used for destructors of thread_local objects.

If a pending destructor exists, prevent unloading of shared objects.
Introduce __dl_cxa_refcount interface for this purpose. When the last
reference is gone and the object has been dlclose'd before, the
unloading is finalized.

Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists
on providing __cxa_thread_atexit as direct wrapper without further
patching.
2017-07-11 15:21:31 +00:00
jmcneill
dd5461aaa9 Add : to body of populate_sunxi to appease bash. 2017-07-09 10:41:40 +00:00
jmcneill
4e0c37a038 Test for kernel build directory before reading DTB list 2017-07-06 21:07:09 +00:00
jmcneill
fab9db5f7e Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
2017-07-06 00:17:04 +00:00
jmcneill
3fa2721f9e Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
2017-07-05 19:50:49 +00:00
ozaki-r
b95a267001 Add test cases for IPComp 2017-07-03 06:01:16 +00:00
flxd
50e68e123b spelling (DEC called it "TURBOchannel") 2017-06-22 16:46:52 +00:00
kamil
bd6e82e7ba Remove <sys/user.h>
Proposed on the the tech-userlevel mailing list without strong objections.

This file no longer serves any purpose in any supported release branch.

There will be fallout in pkgsrc, please restrict inclusion <sys/user.h> to
FreeBSD and DragonflyBSD.

I tried to iterate over packages in pkgsrc and there was little fallout,
however I don't have the full sources to scan every source code. I already
upstreamed to several projects removal of inclusion on NetBSD of
<sys/user.h> (like Qt5).
2017-06-20 01:17:13 +00:00
christos
daa1ebaac6 add racoon 2017-06-18 20:24:59 +00:00
manu
6a05c304af Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc
2017-06-18 03:56:39 +00:00
pgoyette
1cbdf74a3e Add gpio support for Xscale
From Stephan Meisenger in PR/52163
2017-06-16 22:39:34 +00:00
christos
26a6cb7dd2 bump for bind 2017-06-15 16:00:57 +00:00
nat
ab2ce0fafd Update for wsbell(4) manual pages. 2017-06-13 06:39:09 +00:00
pgoyette
33529a549e Add new wsbell(4) module to the sets list. 2017-06-11 22:22:36 +00:00
christos
34d421b1f4 add the tests set. 2017-06-10 23:26:32 +00:00
christos
e6efe4733c add cron. 2017-06-09 17:29:03 +00:00
knakahara
1c9c125617 add tests of ioctl for /dev/crypto 2017-06-09 06:09:01 +00:00
he
c3b0fe10b3 Change the deprecation notice about ofwboot.elf to say that it may
still be required in some cases, as observed by some MacMini users.
2017-06-07 09:14:32 +00:00
christos
5b3fb03fcc add DTC 2017-06-05 23:44:27 +00:00
christos
7f85e44d1f Add dtc 2017-06-05 23:44:08 +00:00
christos
af94e2cae1 remove me. 2017-06-03 14:47:52 +00:00
mrg
ba9d16c754 there are no copyright/license statements from "Terrence R. Lambert"
requiring attribution any in our tree any more.

remove it from our list here.
2017-06-03 09:00:35 +00:00
perseant
d4f6523beb Add tests for btowc(3)/wctob(3) and enable compilation of the test for
digittoint(3).

The digittoint(3) test is skipped since we don't provide that function yet.

One of the test cases for btowc(3) is also skipped, since it tests conversion
to Unicode---whereas our wchar_t representation is locale-dependent.
2017-06-01 15:45:02 +00:00
pgoyette
478585ac27 Update sets lists for new modules 2017-06-01 09:59:13 +00:00
pgoyette
66354d8e99 Also add the debug entries for the new test programs.
Thanks, perseant, for increasing/improving our test coverage.
2017-05-31 00:22:06 +00:00
perseant
1bfefa9fdc Add new locale tests to distrib sets, thanks pgoyette@ for the reminder 2017-05-31 00:18:21 +00:00
martin
0a590ae95c Add t_toupper.debug 2017-05-30 08:29:24 +00:00
pgoyette
bbb262b110 Add the new t_toupper to unbreak the build 2017-05-30 05:35:03 +00:00
bouyer
6e4cb2b9ab merge the bouyer-socketcan branch to HEAD.
CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.
2017-05-27 21:02:54 +00:00
martin
4629a84de8 Add t_strcoll 2017-05-26 11:16:18 +00:00
martin
2e49ec1546 Fix typo 2017-05-26 09:02:33 +00:00
pgoyette
964c578f8a Add new t_strcol test to the sets list - hopefully fix the build 2017-05-26 05:33:27 +00:00
kamil
3029325a38 Fix MKCATPAGES=yes build
Fix typo in the cat1/openssl_ocsp.0 entry: "cat" -> ".cat".
2017-05-21 22:48:25 +00:00
leot
82d4189a42 Adjust for MKCRYPTO_RC5 removal (fixes MKDEBUGLIB=yes build).
OK <Riastradh>
2017-05-21 22:34:34 +00:00
abhinav
bb42a47384 Add MLINKS for the functions described in bufq(9) 2017-05-21 19:07:29 +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
riastradh
09956316a6 Remove MKCRYPTO_RC5. Unconditionally include RC5 in libcrypto.so.
This option existed only because RC5 is covered by patents that, twenty
years ago, we had reason to suspect the patent holder, RSA, Inc., might
litigate.  The two US patents in question are 5,724,428 and 5,835,600.

According to the USPTO Patent Term Calculator web site at
<https://www.uspto.gov/patent/laws-and-regulations/patent-term-calculator#heading-5>
(retrieved 2017-05-21), patents filed after 1995-06-07 expire twenty
years after the filing date.

number          filing date
5,724,428       1995-11-01
5,835,600       1997-04-21

Thus, these patents appear to be expired.

As proposed on tech-crypto and tech-security:

https://mail-index.netbsd.org/tech-crypto/2017/05/05/msg000718.html
https://mail-index.netbsd.org/tech-security/2017/05/05/msg000927.html
2017-05-21 14:20:44 +00:00
kre
79115595d5 Add a test of sh syntax & parsing (first attempt anyway.) 2017-05-20 16:35:55 +00:00
christos
0ba9702d8a Bump a little to handle clang images. 2017-05-19 15:16:12 +00:00
pgoyette
a372bceac2 Introduce new localcount(9) reference-count primitives. 2017-05-19 00:01:33 +00:00
jdolecek
188f75011d add vioscsi(4) manpage 2017-05-16 23:21:53 +00:00
snj
2377854aeb update core 2017-05-16 17:40:01 +00:00
ozaki-r
fe20eadb23 Add test cases for SA lifetime 2017-05-15 09:58:22 +00:00