Commit Graph

15376 Commits

Author SHA1 Message Date
christos
a5d5690b6a Don't install stdatomic.h if we don't have gcccmds. This is prolly the wrong
fix but only sun2 is affected. Perhaps it is better to descend into
usr.bin/include and install there because that also installs tgmath.h and
unfortunately math-68881.h...
2017-10-10 15:38:00 +00:00
christos
bc55e4eac8 Add MKSTATICPIE 2017-10-08 15:05:19 +00:00
sevan
f7566f78e3 Fix test otherwise we try to load a fdtfile for boards which do not have use_fdt set. 2017-10-08 00:35:26 +00:00
jmcneill
391a41d919 Don't install uEnv.txt for beagle; boot.scr handles this now. 2017-10-08 00:15:13 +00:00
jmcneill
659266d076 Install a boot.scr on armv7.img that detects the running board and selects
the correct kernel and boot protocol. Should work on tegra, sunxi, and
am335x boards for now.
2017-10-07 23:40:00 +00:00
christos
3edb31c698 bump libssh 2017-10-07 19:44:22 +00:00
christos
d98cfd15e6 bump libglapi, libGL libGLU because of the libstdc++ dual abi bump 2017-10-06 20:26:51 +00:00
christos
72f283bf62 bump libraries that depend on libstdc++. 2017-10-06 19:21:17 +00:00
christos
cd25ec9105 bump libstdc++ to account for disabling the "dual abi". 2017-10-05 23:47:11 +00:00
christos
36a9bd7395 add stdatomic.h 2017-10-04 23:44:38 +00:00
mlelstv
a736d6ac80 add t_list test. 2017-10-02 13:01:11 +00:00
pgoyette
e9db0012c9 Add new LIST_MOVE test to sets list. 2017-10-02 04:16:32 +00:00
maya
9b177b90f0 Add arguments to tail:
-q: suppress filename headers when multiple files are used
  -v: print filename headers even when only one file is used

head already supports the same arguments, which originated in GNU head.
GNU tail also has the same flags.


Add tac, a hard link to 'tail -rq'.
Prints a file in reverse line order.

Similar to GNU tac, but lacking any options.

Add accompanying documentation.
2017-10-01 20:49:24 +00:00
sevan
918147bd0b Add a manual for uipad(4) 2017-09-30 12:27:26 +00:00
maya
aef814ffa9 Add simple test for workqueue(9) 2017-09-29 12:42:36 +00:00
maya
14e90145c6 Add man page link for hypotl.3 2017-09-26 16:01:58 +00:00
ozaki-r
960a3e1e52 Add tests of rtcache invalidation 2017-09-20 09:36:20 +00:00
joerg
6a2fdfeb92 Bump install image sizes. Clang alone adds 100MB+ for a full debug build
and that pushes the full MKDEBUG build over the constraints.
2017-09-18 14:42:16 +00:00
sevan
35823e7391 Include scripts from the DTrace Toolkit if DTrace support is enabled.
The following scripts are installed:
dtruss    - a DTrace version of truss.
execsnoop - snoop process execution as it occurs.
opensnoop - snoop file opens as they occur.
procsystime - print process system call time details.

ok riastradh
2017-09-17 00:00:39 +00:00
wiz
5a0ec9c8ab Remove scc(4), driver was replaced by zs(4).
Fixes PR 52539 by Miod Vallat.
2017-09-12 14:52:02 +00:00
kamil
d4fa9170e4 Install new man-page devname_r(3).
This is a link to devname(3).
2017-09-09 18:18:27 +00:00
martin
9dfe31c9a3 Introduce CDRELEASE_NODEBUG - if set, avoids putting debug sets in the
ISO image.

Set this for sparc64 install CDs - many of the supported machines have
SCSI CD drives and it is impossible to get DVD replacements for those.

This is a pitty, but in the end a working install medium is more worth
than debug sets (which can be downloaded later).
2017-09-08 09:50:44 +00:00
bacon
21b440577d Add Jason Bacon to developers list 2017-09-04 14:48:09 +00:00
christos
5106efb953 add vfp 2017-08-31 22:19:51 +00:00
maya
a52fd0a204 Don't fc-match bitmap fonts by default.
Now things using Helvetica won't look terrible, and will use the fallback
font instead.

Idea by jakllsch, thanks!
2017-08-29 15:50:57 +00:00
mrg
34a9271999 updates for fontconfig 2.8.
note that we don't (yet?) install the new fc-blank as it
has a python generator.
2017-08-29 09:02:10 +00:00
mrg
794f77b51f update for xkeyboard-config 2.21.
prepare for libdrm data files.
2017-08-29 07:53:54 +00:00
christos
ae5bd0fe13 Create the ramdisk destination dir here. 2017-08-20 15:38:22 +00:00
joerg
78529fd592 Bump libc minor to 208 for strfmon_l. 2017-08-16 21:32:22 +00:00
joerg
29f5b623d9 Add missing strfmon_l. Noticed by Bruno Haible. Add test case. 2017-08-16 13:53:19 +00:00
mlelstv
43b93c71b3 Mention the installer question for the boot command. 2017-08-15 12:15:10 +00:00
mlelstv
a713e13cdd Ask for the boot command. It's necessary for some hardware
configurations and also to enable a serial console in the installed
system.
2017-08-15 12:07:23 +00:00
mrg
c62a157eb2 merge the rest of sbmips into evbmips. install the stand files in
/usr/mdec/sbmips/ and document them in installboot(8) even though
it isn't really ported yet.  also build the SBMIPS kernels.

unfortunately, sbmips has been broken since mips64 merge, but the
fix can happen in the evbmips version, which we might merge into
the older trees anyway.

XXX: releng can turn off sbmips* builds now for -current.
2017-08-15 10:11:31 +00:00
mlelstv
0f299d7b4f Support installing from a CD9660 formatted disk partition. 2017-08-15 09:49:38 +00:00
kre
c21db8bd78 For libi386 major bump. 2017-08-12 21:46:01 +00:00
maxv
cc29cfc600 All things considered, remove the i386_pmc API. I deprecated it some
months ago, and clearly no one should be using it.

(reminder: our new PMCs use the same sysarch, but the arguments are
opaque and not compatible with the previous versions)
2017-08-12 08:21:30 +00:00
maxv
ee34266187 Remove the i386_vm86 API (instead of just deprecating it). This API is not
available anymore, and any binary using it won't function correctly.
2017-08-12 07:59:42 +00:00
maxv
1d3d2f0d7e Remove vm86.
Pass 4.
2017-08-12 07:35:08 +00:00
ryo
7f104f6c10 fix filename. sorry 2017-08-11 20:47:58 +00:00
nat
d3425666e1 Add bcm43xx bluetooth controller firmware to the lists and update relevant
makefiles.
2017-08-10 15:31:49 +00:00
nat
3c75ab2f78 Update lists for btuart h5 protocol includes. 2017-08-10 13:40:04 +00:00
maxv
54024111ec Should be comp-obsolete. 2017-08-10 13:39:08 +00:00
ryo
1581658c21 Add support IP_PKTINFO for sendmsg(2).
The source address or output interface can be specified by adding IP_PKTINFO
to the control part of the message on a SOCK_DGRAM or SOCK_RAW socket.

Reviewed by ozaki-r@ and christos@. thanks.
2017-08-10 04:31:58 +00:00
maxv
b9b94af2bc Remove ibcs2_machdep.h on i386, and don't install it. 2017-08-09 18:58:51 +00:00
maxv
bd36ac747c Remove compat_ibcs2 from i386. After a discussion on port-vax, it turns
out that compat_ibcs2 does not implement the iBCS2 standard - which is
x86-specific - but rather SVR3. Our real iBCS2 implementation was a
mixture of compat_ibcs2 and compat_svr4, and was only partial. Keeping
support for this in i386 is totally irrelevant today. I also asked on
port-i386 but didn't wait long.

The main issue is that compat_ibcs2 should have been called compat_svr3.
But CVS does not support renaming files, and moving things around is both
painful and tiring, even more so when no one seems to be interested in
doing this work or in the feature at all. For now compat_ibcs2 is available
on Vax and will stay, until someone (not me) cleans it up.
2017-08-09 18:45:30 +00:00
maxv
0f16c35db3 Move freebsd_machdep.h into sys/compat/freebsd, and don't install it. Now,
the compat_freebsd files are all contained in sys/compat/freebsd.
2017-08-08 08:04:05 +00:00
mrg
079871325c fixes for xorg-server 1.18. 2017-08-05 19:41:03 +00:00
mrg
c7d7c649c1 mark ark_drv as obsolete in xorg-server 1.18 2017-08-04 21:27:34 +00:00
mrg
b3e05fe6b2 s3virge.4 is a .man not a html. 2017-08-04 08:45:39 +00:00
ozaki-r
548d2e187c Add test cases for setsockopt(IP_IPSEC_POLICY) 2017-08-02 02:19:56 +00:00
joerg
7c192b2a5e Update LLVM build glue for 5.0RC1. 2017-08-01 20:07:37 +00:00
maya
9b10aaba78 Mark the compat_svr4 module obsolete.
hopefully fixes the build, this is a blind commit.
2017-08-01 17:04:06 +00:00
maya
d3718b06f3 Restore marking ./usr/include/i386/svr4_machdep.h obsolete
instead of removing

(so it can be removed by postinstall)
2017-08-01 16:54:19 +00:00
maxv
c6dd763447 Remove svr4_machdep.h right away, no one should include it. 2017-08-01 13:57:03 +00:00
jmcneill
337b37be2b Create a config.txt for RPI and set 'enable_uart=1' and 'force_turbo=0'.
This config gives us a stable core_freq clock that is used to drive the
SD HOST and AUX UART devices.

More information on config.txt settings for the UART can be found here:

https://www.raspberrypi.org/documentation/configuration/uart.md
2017-07-31 16:34:22 +00:00
kre
3dd9fc4cd5 If i386/svr4_machdep.h is no longer to be installed in /usr/include
it should no longer be listed in the sets lists as installed.
Mark it obsolete (hopefully unbreak builds.)
2017-07-29 19:39:58 +00:00
joerg
e04cfff0dc Don't build unwind data for the ramdisk, use more aggressive size
optimization for clang.
2017-07-23 20:59:00 +00:00
perseant
92d9887f35 Add missing setlist entries for DUCET collation test. 2017-07-23 19:26:05 +00:00
joerg
270cef65ef Bump the miniroot size slightly for clang. 2017-07-23 19:00:22 +00:00
christos
47279cfe28 bump 2017-07-18 23:12:24 +00:00
christos
4bb3ecaf3f bump 2017-07-18 23:07:20 +00:00
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
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
htodd
345db1d03b Debug build fix. 2017-05-07 00:43:01 +00:00
christos
9d6eb33b9f bump libpam. 2017-05-06 19:54:41 +00:00
christos
df7224989b define SMALLPROG 2017-05-02 20:12:10 +00:00
pgoyette
557b0f2e6e Remove yet another entry for localcount - we're not ready yet 2017-05-01 23:33:07 +00:00
pgoyette
a2b7358d4e Too early for including localcount here, too 2017-05-01 23:08:11 +00:00
pgoyette
15e405d370 Sets list for new mutex_ownable(9) entry 2017-05-01 21:36:33 +00:00
pgoyette
80a22f761a Add new primary entry for devsw(9) man page 2017-04-30 12:30:55 +00:00
joerg
962b4522df Remove a couple of over eager obsolete markers. 2017-04-27 11:02:14 +00:00
ozaki-r
3c135203c7 Add test cases for L2TP/IPsec 2017-04-27 06:53:44 +00:00
ozaki-r
9b089297f0 Add test cases for gif/IPsec 2017-04-27 06:52:45 +00:00
christos
9aa6a196f7 need to treat as one word. 2017-04-21 22:46:26 +00:00
christos
b57319ba10 TOOL_SED is bogus when building source sets, use builtins instead. 2017-04-21 15:29:41 +00:00
joerg
da0c2d9db7 Update build system for libarchive-3.3.2pre. 2017-04-20 13:11:03 +00:00
riastradh
415d159521 Offering for the wiz daemon. 2017-04-19 00:17:30 +00:00
riastradh
c248891802 Modularize ualea(4).
Unclear why we have a separate xyz.ioconf for module and XYZ.ioconf
for rump component, but at least xyz_modcmd obviates the need for
xyz_component.c (though evidently the latter could have been replaced
anyway by RUMP_COMPONENT=ioconf in the rump component Makefile).
2017-04-19 00:01:38 +00:00
christos
d440e953df bump libssh 2017-04-18 18:43:11 +00:00
agc
5626760fb3 Bumped libnetpgpverify major from 4 to 5 2017-04-17 19:51:11 +00:00
knakahara
f7ae6a997b fix build failure 2017-04-17 09:06:55 +00:00
riastradh
4299c62826 New rndsource driver for Araneus Alea II TRNG USB devices.
Disabled by default in x86/GENERIC and usbdevices.config pending
review and testing without rump ugenhc in the way, but enabled in
x86/ALL for compile-testing.

(Hi gson!  Finally found a round tuit in my pocket, next to a certain
rectangular one.)
2017-04-17 08:59:37 +00:00
kamil
bce1cecb2e Add new documentation locking(9)
It's a document from June 2015.

DESCRIPTION
     The NetBSD kernel provides several synchronization and interrupt control
     primitives.  This manpage aims at giving an overview of these interfaces
     and their proper application.  This document includes also basic kernel
     thread control primitives and rough overview of the NetBSD kernel design.

Part of interfaces are missing, like new mechanisms for networking SMP,
as this documentation page predates them.

Initial review back in 2015 by Thomas Klausner <wiz>
2017-04-15 13:52:51 +00:00
kamil
c1fa86b6a5 Add new documentation for klua_mod_register(9) and klua_lock(9)
Lua kernel bindings.
2017-04-15 03:33:05 +00:00
riastradh
d962cd4d88 libdevmapper is conditional on lvm. 2017-04-14 15:21:28 +00:00
riastradh
6b28507760 cvslatest is unconditional, not conditional on cvs. 2017-04-14 15:20:39 +00:00
jmcneill
fa18b035dc Grow the MBR partition table entry for the BSD partition before
growing the disklabel.
2017-04-14 13:47:21 +00:00
ozaki-r
0b5da45aff Add tests for ipsec
- Check if setkey correctly handles algorithms for AH/ESP
- Check IPsec of transport mode with AH/ESP over IPv4/IPv6
- Check IPsec of tunnel mode with AH/ESP over IPv4/IPv6
2017-04-14 02:56:48 +00:00
ozaki-r
469c0f099a Rumpify netipsec
Note that we should modularize netipsec and reduce reverse symbol references
(referencing symbols of netipsec from net, netinet and netinet6) though,
the task needs lots of code changes. Prior to doing so, rumpifying it and
having ATF tests should be useful.
2017-04-14 02:43:27 +00:00
jmcneill
ea2b839e65 ODROID-C1: Now that the MBR partition table contains an entry for the BSD
partition, the disklabel no longer conflicts with the ODROID-C1 bootloader.
Root partition changes from ld0e to ld0a.
2017-04-12 23:35:29 +00:00
jmcneill
6d634d7e0c Slightly reduce the size of the MSDOS partition from 124M to 92M. With
the larger size, installing the ODROID-C1 bootloader causes the fs to
become unreadable. Not sure why..
2017-04-12 23:32:11 +00:00
christos
947610a7b0 more gnu directory removal. 2017-04-12 17:29:49 +00:00
jmcneill
4d3af4e0f2 Now that FAT+FFS images include the BSD partition in the MBR partition
table, install the disklabel after setting up MBR partitions. This moves
the disklabel to the BSD partition from the start of the disk, avoiding
a conflict with the ODROID-C1 bootloader.
2017-04-11 21:06:30 +00:00
jmcneill
efb61fccf8 Improvements and fixes for FAT+FFS images:
- Add a "NETBSD" volume label to the MSDOS file-system.
 - Explicitly initialize boot sector.
 - Correct an issue where the MSDOS file-system was larger than the
   partition table entry.
 - Add NetBSD partition to the MBR partition table.
2017-04-11 18:04:08 +00:00
jmcneill
43bbd720db Increase the size of the boot partition and remove the 'd' part from the
disklabel.
2017-04-11 17:30:17 +00:00
christos
8984fca3dd add more dc, sort 2017-04-11 01:22:13 +00:00
kre
586962f8a3 The new bc/dc has no dc.info file. 2017-04-11 00:03:16 +00:00
jmcneill
ec75ca4b3d tegra: set loadaddr to 0x90000000 (the default kernel_addr_r overlaps
fdt_addr_r on TK1 + L4T 21.x), and set default root device to ld0a to
match new device probe order.
2017-04-10 22:25:36 +00:00
christos
7178305aad PSD docs for dc 2017-04-10 16:39:12 +00:00
wiz
03d66370c8 Add evbarm/gxio(4).
Based on PR 52137 by Stephan Meisinger, with some man page improvements
by myself.
2017-04-06 14:35:15 +00:00
abhinav
1a04cf40b6 Add MLINKS for extent_alloc1(9) and extent_alloc_subregion1(9). 2017-04-06 10:46:52 +00:00
kre
b55501d5fa Sort (NFC) 2017-04-06 05:08:17 +00:00
pgoyette
9ea30e2990 Fix typo: s/ubc_range/ubc_zerorange/ 2017-04-06 04:28:57 +00:00
pgoyette
e572da12b2 Add entries for ubc_purge(9) and ubc_zerorange(9) 2017-04-06 01:54:40 +00:00
kamil
97a670fdb7 Remove tests/kernel/t_ptrace* from the tree
ptrace(2) tests have been moved to tests/lib/libc/sys

Sponsored by <The NetBSD Foundation>
2017-04-03 05:06:28 +00:00
kamil
24e714f435 Import ptrace(2) tests into appropriate directory tests/lib/libc/sys/
This is the correct directory documented in tests/README for such tests.

Discussed with <martin>

Sponsored by <The NetBSD Foundation>
2017-04-02 21:44:00 +00:00
kamil
cc4260326d Remove kernel/arch/{amd64,i386,x86} tests
These files were merged with kernel/t_ptrace_wait*

This removes MD test files.

Sponsored by <The NetBSD Foundation>
2017-04-02 01:49:51 +00:00
abhinav
9f9499a40c Add man page links for:
EV_SET to kqueue(2)
   getmntoptstr, getmntoptnum, freemntopts to getmntopts(3)

Reviewed by wiz@
2017-04-01 14:31:05 +00:00
ozaki-r
efe433dcf1 Add t_ping_opts 2017-03-31 09:40:15 +00:00
tsutsui
01fe1d4928 Sync description of "supported hardware" with reality.
- internal video on 362 and 382 works (no palette support)
- framebuffer 425e works (console text only)
- serial console for 425e on bootloader works
- Tigershark PersonalVRX was ported from OpenBSD (untested)
- Apollo Domain keyboard and mouse work
- ARCOFI audio on 425e works
- internal SCSI floppy is recognized as usual removable disk by MI SCSI
2017-03-25 23:33:11 +00:00
nat
e5d1b604d5 ABI of libossaudio did not change, so there was no need to bump the version
number.

Pointed out by mrg@
2017-03-24 11:46:52 +00:00
nat
dab5456581 Calculate GETISPACE/GETOSPACE properly.
Bump version.

Addresses PR kern/51999.
2017-03-23 15:50:48 +00:00
htodd
8291af55d0 Fix build. 2017-03-23 03:14:57 +00:00
jdolecek
1e4f0c4e55 add tests for the mount update from rw to rw+log, which used to case the panic
reported in PR kern/52056
2017-03-22 21:33:06 +00:00
sevan
19c6693036 Bump image size to unbreak builds.
nbmakefs: `work' size of 21610496 is larger than the maxsize of 20480000.

ok jakllsch
2017-03-18 17:07:04 +00:00
nonaka
dd5512aafe iwm(4): update firmware to maintained core release.
firmware from https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/tree/?id=4b9559fb0565f582a21a4070a81a3b6a7d77610b
2017-03-14 23:59:24 +00:00
skrll
c1d4c34f17 Mark the msdos parition active for boards like the BeagleBone Black 2017-03-14 06:37:39 +00:00
christos
a045fb09a6 bump libsqlite3 2017-03-11 16:36:01 +00:00
christos
40820bb7ef new sqlite man pages 2017-03-11 16:34:34 +00:00
ozaki-r
ccc1fa9d34 Separate tests for learning table of bridge 2017-03-11 04:24:52 +00:00
martin
e20ae6cdb8 PR misc/52058: proc_trampoline became lwp_trampoline.
Sort.
2017-03-10 09:12:46 +00:00
salazar
f7d42cd8c5 add my name to distrib/notes/common/main 2017-03-10 04:13:43 +00:00
tsutsui
9184265ae6 Add a driver for LUNA's front panel LCD. Ported from OpenBSD/luna88k.
Reviewed by enami@.  Tested by Naruaki Etomi and me.

A 68k LUNA with this driver will be demonstrated at AsiaBSDCon NetBSD booth
by Etomi-san, with LUNA-88K2 running OpenBSD/luna88k by Kenji Aoyama.
2017-03-09 14:05:58 +00:00
kre
b8b755e016 Do it properly. Thanks wiz. 2017-03-08 22:55:20 +00:00
kre
5d74cf5159 /usr/include/pmc.h is installed on i386 iff src/lib/libpmc/pmc_i386.c exists
(which it no longer does - only arm has a similar .c file so only arm
builds install pmc.h in /usr/include now)

This should unbreak the i386 build.
2017-03-08 21:56:05 +00:00
maxv
98b12bdd4b Mark as obsolete instead of removing (from Thomas Klausner). 2017-03-08 16:52:17 +00:00
maxv
a2375778e5 Remove i386 from libpmc; it has its own interface (sysarch), and we won't
maintain compatibility.

Verily, I cannot build a distribution now, so I'm committing this rather
blindly. This being said, it looks correct enough.
2017-03-08 15:53:00 +00:00
christos
c4a6b55a3c more lint tests 2017-03-06 21:03:56 +00:00
maya
1f03a55a41 fix set lists for pxaip(4). it's not a pmax man page. 2017-03-06 13:14:25 +00:00
christos
e48eb2f9af add new lint test 2017-03-06 12:01:47 +00:00
pgoyette
70c41dc1bb Add pxaip(4) man page to the sets list. 2017-03-06 09:06:23 +00:00
nakayama
f5eb5f1bab Fix previous.
- xevie.pc is for libXevie, not for libxcb-xevie.
- obsolete lint file.
2017-03-06 05:58:00 +00:00
htodd
3ffd56c5a6 Fix build for debug. 2017-03-05 22:24:29 +00:00
mrg
ba6321fe7f build fixes and updates for libxcb / xcb-proto 1.12. 2017-03-05 09:27:52 +00:00
mrg
d279eec2b8 install libsync.h. new in libdrm 2.4.75. 2017-03-04 23:24:50 +00:00
kre
f1844639ad tzdata2017a: new timezone America/Punta_Arenas 2017-03-01 03:02:48 +00:00
ozaki-r
9e51ae8639 Add tests for loopback interface 2017-02-28 03:32:11 +00:00
chs
4be80cf347 add glint driver debuginfo file. 2017-02-27 07:11:06 +00:00
macallan
f2149cbd66 add MIPS-specific clang header file 2017-02-23 19:51:46 +00:00