Commit Graph

15152 Commits

Author SHA1 Message Date
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
ozaki-r
53a9fb14fe Sort 2017-05-15 09:56:12 +00:00
kamil
d1be05c0a9 Add new ATF C++ tests in usr.bin/c++: t_static_destructor
These tests are cloned from t_cxxruntime and check proper order of destructor
calls. They must be reported in reverse order of constructor completion.

Added tests:
 - static_destructor
 - static_destructor_pic
 - static_destructor_pie
 - static_destructor32

This test file replaces src/regress/usr.bin/c++/static_destructor.
2017-05-14 02:02:25 +00:00
kamil
9fab767d88 Add new ATF C++ tests in usr.bin/c++
These tests are cloned from t_hello and use c++ runtime basic functions.

Added tests:
 - hello
 - hello_pic
 - hello_pie
 - hello32
2017-05-14 01:03:21 +00:00
kamil
b971227c60 Add new c++ ATF tests in usr.bin/c++: t_hello
This is a copy of t_hello from usr.bin/cc.

Added tests:
 - hello
 - hello_pic
 - hello_pie
 - hello32

These tests do not use c++ runtime library functions.

Protect these tests with MKCXX.
2017-05-14 00:07:07 +00:00
htodd
d49fbd2243 Fix debug build. 2017-05-13 21:27:11 +00:00
maya
fd5c025f1f blindly bump libm shlib version here too
seems to be the right thing
2017-05-13 15:07:58 +00:00
hubertf
f468e54647 minor cleanup in customize_evbarm():
keep handling of /etc/rc.conf in one place
2017-05-13 10:44:58 +00:00
martin
eb66c2f831 Slightly increase the image size 2017-05-12 07:26:35 +00:00
martin
483132c66a Try to make images big enough for debug sets 2017-05-11 10:49:18 +00:00
ozaki-r
cb7a3799fb Test tunnel mode with IPv4 over IPv6 and IPv6 over IPv4 2017-05-10 09:08:25 +00:00
kamil
f068e68728 Fix distribution build for MKCATPAGES=yes
Add: cat3/signalname.0, cat3/signalnext.0, cat3/signalnumber.0
2017-05-09 22:43:09 +00:00
kre
486691905e Add the new signalname/signalnext/signalnumber interface to libc.
This as discussed on current-users in the thread
entitled:
  Proposal: new libc/libutil functions to map SIGXXXX <-> "XXXX"
that can be found (starting at):
  http://mail-index.netbsd.org/current-users/2017/04/28/msg031600.html

These functions provide the mechanism to enable applications
to divorce themselves from internal details of the signal
implementation.

Libc minor bumped, prototypes in <signal.h>, sets lists updated (and sorted).

One and all: feel free to improve the sources & man page (etc), but
please do not change the function signatures without discussion.
2017-05-09 11:14:16 +00:00
kamil
57d34a8f17 Fix MKPAM=no build
Blacklist PAM debug file
2017-05-07 02:05:56 +00:00