Commit Graph

15396 Commits

Author SHA1 Message Date
sevan
b4e0088a5a Add a manual for bozohttpd(3lua) 2018-05-05 13:31:48 +00:00
christos
dca6c9ddf1 fix proflib for bozo 2018-05-05 02:14:59 +00:00
sevan
5c1959f268 files with _p.a suffix should be tagged profile, files with _pic.a suffix belong
in the shl.mi list. learnt through broken sun2 build.
2018-05-05 01:09:08 +00:00
christos
039e63bda2 fix bozo issues:
- sort
- add lintlib
2018-05-04 19:11:59 +00:00
kamil
952d62f12f Improve the category of libbozohttpd.0 in distribution sets
It's man-sys-catman, not man-netutil-catman.
2018-05-04 14:23:19 +00:00
kamil
27688c1e0f Register a new cat page: libbozohttpd.0
Fix build of the distribution with MKCATPAGES=yes.
2018-05-04 14:15:41 +00:00
sevan
9dcd6aed75 Unbreak build until the privatisation of libbozohttpd is settled.
heads up & patch thanks to <leot>
2018-05-04 12:44:40 +00:00
sevan
c38e7cc395 Hello bozohttpd(3lua) 2018-05-03 22:51:17 +00:00
sevan
4e0254f1b8 Hello libbozohttpd(3)
Enabling as it is a dependency for bozohttpd(3lua).
2018-05-03 22:27:58 +00:00
kamil
e308425ef5 Add new ATF Undefined Behavior Sanitizer tests
Add new cc and c++ tests to check whether UBSan works.
These tests are prepared for GCC (in base) and Clang (with external patches).

Enable these tests for all ports by default, just verify whether we are
using GCC/Clang or a compatible compiler.

Add five equivalent C and C++ tests:
 - Integer addition overflow
 - Integer divide by zero
 - Integer negation overflow
 - Integer subtraction overflow
 - VLA out of bounds

All tests pass on NetBSD/amd64.

Patch submitted by <Harry Pantazis>
Minor cleanup by <myself>
2018-05-02 18:46:05 +00:00
kamil
ae5fc8c768 Register a missing file in the distribution sets
Add ./usr/share/man/cat3lua/netpgp.0 for cat-pages.
2018-05-01 23:41:51 +00:00
christos
bf7113376a Create a new bsd.hostinit.mk file and put the build definitions for all host
programs there; make all Makefiles that use bsd.hostprog.mk include it.
Namely turn off MKREPRO and don't make lint, man pages, info files etc.
Remove the Makefile.inc files that contained these same settings, and
remove the settings from Makefile.host
2018-05-01 19:59:42 +00:00
martin
07ee4691f0 Add missing netpgp.html (for new lua binding) 2018-04-30 09:59:09 +00:00
sevan
823aeb5398 Add a manual for netpgp(3lua) 2018-04-30 01:10:13 +00:00
sevan
06d8aeb822 Hello netpgp(3lua) 2018-04-29 19:47:34 +00:00
jmcneill
bf77b4887b Install ARM ACLE and NEON intrinsics headers on aarch64. 2018-04-29 18:29:29 +00:00
mlelstv
929f587429 Make sys/pmf.h available to userland (again).
The recently exposed device.h internals to _KMEMUSER also require
exposing details about pmf.

The current build works without this as the only user is crash(8)
which partially uses kernel sources and is compiled with the
additional kernel include path.
2018-04-18 08:58:41 +00:00
christos
840105b0fe fix the sets for binutils-2.30 2018-04-16 12:25:18 +00:00
christos
17bb1d5fd0 bump libmagic for file-5.33 2018-04-15 19:47:30 +00:00
nakayama
a5e7377adb Handle compatdir first whether making obsolete lists or not, to
make obsolete lists including compat directory (eg. ./usr/lib/i386)
properly.
2018-04-12 11:49:04 +00:00
kamil
8a7b75cec0 Import new C and C++ ATF tests for ASan
Add new tests:
 - tests/usr.bin/cc/t_asan_poison.sh
 - tests/usr.bin/c++/t_asan_poison.sh

These tests verify the following build options:
 - regular
 - profile
 - pic
 - pie
 - compat32
 - (static unsupported)

These tests verify whether ASan code can include compiler and sanitizer
specific header: <sanitizer/asan_interface.h>. The testing code checks
the ASAN_POISON_MEMORY_REGION() functionality, poisoning valid memory and
asserting that it triggers expected failure.

Patch submitted by <Siddharth Muralee>
2018-04-11 03:25:25 +00:00
rin
3bce0be59a Add progress(1) into /rescue.
No objection when proposed on tech-userlevel@.
2018-04-11 00:26:38 +00:00
maxv
be6b555629 Remove m_getclr. It is unused, confusing (vs m_clget), and is a weak
implementation (eg you can't request a zeroed pkthdr mbuf).
2018-04-10 16:12:29 +00:00
mlelstv
ffae521c1c increase sshramdisk from 24000k to 28000k. 2018-04-08 15:48:39 +00:00
christos
2f405e0803 new openssh 2018-04-06 19:00:08 +00:00
kamil
9f0bdbd997 Add new ATF tests for Address Sanitzier (ASan)
Add new C and C++ tests:
 - t_asan_double_free
 - t_asan_global_buffer_overflow
 - t_asan_heap_overflow
 - t_asan_off_by_one
 - t_asan_uaf

Each tests checks:
 - regular build
 - 32-bit
 - PIC
 - PIE
 - profile

These tests require paxctl(8) to disable ASLR in order to work in a
predictable way. This is especially true for all !regular builds with
additional compiler flags.

There are no static variations of these tests as this mode is not supported
in upstream ASan.

Enable these tests on amd64 and i386.

Patch submitted by <Siddharth Muralee>
Additional polishing by myself.
2018-04-04 23:51:35 +00:00
kamil
d03dc37b86 Sort files in usr/tests/usr.bin/c++/
No functional change intended.
2018-04-04 16:42:48 +00:00
kre
deb0051437 Document opendisk1() - it has been around long enough.
(pity about the name...)

XXX pullup-8
2018-04-04 04:43:46 +00:00
christos
9a42df71a6 the zombie test is not a rump test. 2018-04-03 18:03:16 +00:00
ryo
fe33aa2786 Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
2018-04-01 04:35:01 +00:00
joerg
6b47d89f52 Bump image size again for new bloat. 2018-03-29 13:25:11 +00:00
joerg
2d65afd272 Move the complex logic for dynamically writing branches from ld.elf_so
into a header for reuse in crt0.o for static ifunc support. Change the
existing logic for sparc64 to use the Bicc variant of ba,a as it allows
+-8MB displacement compared to the BPcc variant's +-1MB. Teach the sparc
variant the same trick for using ba,a and not sethi+jmp when possible.
2018-03-29 13:23:39 +00:00
snj
0dd5024cb4 remove lingering x11 (xfree86) entries. 2018-03-29 04:43:55 +00:00
snj
84c9079f95 remove rstart, which hasn't been used since the xfree86 days. 2018-03-29 04:19:54 +00:00
joerg
d3991df102 Bump image to 1550MB to unbreak the LLVM build. 2018-03-28 22:38:47 +00:00
kamil
77dc83fa09 Add new C++ ATF tests
Add new variations for existing C++ tests:
 - Static
 - Profile+32-bit
 - PIC+32-bit
 - PIC+Profile
 - PIC+Profile+32-bit

All tests pass for NetBSD/amd64:
 - t_cxxruntime
 - t_hello
 - t_static_destructor

+--------------------------------------------------------------+
| Options            | cxxruntime | hello  | static_destructor |
+--------------------------------------------------------------+
| None               | Passed     | Passed | Passed            |
| 32-bit             | Passed     | Passed | Passed            |
| PIC                | Passed     | Passed | Passed            |
| PIE                | Passed     | Passed | Passed            |
| Profile            | Passed     | Passed | Passed            |
| Static             | Passed     | Passed | Passed            |
| Profile+32-bit     | Passed     | Passed | Passed            |
| PIC+32-bit         | Passed     | Passed | Passed            |
| PIC+Profile        | Passed     | Passed | Passed            |
| PIC+Profile+32-bit | Passed     | Passed | Passed            |
+--------------------------------------------------------------+

Add new C++11 std::call_once tests:
 - t_call_once
 - t_call_once2

Add new C++11 test with pthread_once(3) and C++ lambda:
 - t_pthread_once

All tests with the profile option for std::call_once and
pthread_once(3) are marked as expected failure (NetBSD/amd64).

Results for *_once*:
+------------------------------------------------------------+
| Options            | call_once | call_once2 | pthread_once |
+------------------------------------------------------------+
| None               | Passed    | Passed     | Passed       |
| 32-bit             | Passed    |  Passed    | Passed       |
| PIC                | Passed    | Passed     | Passed       |
| PIE                | Passed    | Passed     | Passed       |
| Profile            |  Failed   |  Failed    |  Failed      |
| Static             | Passed    | Passed     | Passed       |
| Profile+32-bit     |  Failed   |  Failed    |  Failed      |
| PIC+32-bit         | Passed    | Passed     | Passed       |
| PIC+Profile        |  Failed   |  Failed    |  Failed      |
| PIC+Profile+32-bit |  Failed   |  Failed    |  Failed      |
+------------------------------------------------------------+

Long term there is an option to refacotr the framework for C and C++ tests,
in order to reduce code duplication.

Patches sent by Yang Zheng <tomsun.0.7@gmail.com>
2018-03-24 00:26:51 +00:00
ryo
2c083542f7 separate cputypes.h for CPU_ID_* from armreg.h,
and add some implementor IDs, CortexA55,73,75 IDs.

(preliminary changes for merging aarch64)
2018-03-20 10:14:29 +00:00
rin
1a43a2d6aa Restore shlib version accidentally bumped in the previous commit.
Fix debug build for i386.
2018-03-14 13:23:31 +00:00
mrg
5b6e3f750b obsolete fontcacheproto.
prepare for xorgproto - split the non replaced list out.
2018-03-14 09:09:46 +00:00
kamil
ce34db38fd Add new ATF tests: kernel/t_zombie
New tests attempting to kill, stop, drop or revive a zombie:
 - signal1 (SIGKILL)
 - signal2 (SIGSTOP)
 - signal3 (SIGABRT)
 - signal4 (SIGHUP)
 - signal5 (SIGCONT)

New test race1 verifying whether there are any kernel races when processing
signals to zombies, executing in a loop for 5 seconds.

These tests were inspired by a kernel unexpected behavior when a lookup
of a dying process could result in two detected entities once as an alive
process and once as a zombie.

race1 is similar to t_ptrace_wait* race1, however without ptrace(2) involved.

Sponsored by <The NetBSD Foundation>
2018-03-14 02:13:47 +00:00
mrg
0955925eb7 clean up CRUNCHBIN.map 2018-03-13 02:22:43 +00:00
mrg
cbb4749bb3 update for new amdgpu and radeon driver versions. 2018-03-12 18:48:49 +00:00
christos
42004fe06d sort, add missing lint file 2018-03-11 23:49:39 +00:00
tih
62971bca43 Add myself. 2018-03-11 11:48:39 +00:00
mrg
cbcc8121fa mark fontcache files as obsolete. 2018-03-11 11:34:33 +00:00
mrg
8d3614ad11 build and install libXfont2. 2018-03-11 09:43:38 +00:00
mrg
6e5b391377 stop building libXfontcache as it is obsolete for a decade. 2018-03-11 07:18:49 +00:00
joerg
a64ef2fb9e Add ifunc support for statically linked applications on x86, ppc, sparc
and ARM.
2018-03-09 20:20:47 +00:00
christos
11ab244b7f use the magic - 2018-03-09 02:36:28 +00:00
christos
39cdfefb57 add missing debuglib 2018-03-08 20:39:40 +00:00