Commit Graph

15024 Commits

Author SHA1 Message Date
scole b7d844764d Add fenv.h for ia64, imported from FreeBSD, compile tested only. 2017-02-23 02:03:27 +00:00
msaitoh b55e058419 Add links for kmem_intr_alloc.9, kmem_intr_free.9 and kmem_intr_zalloc.9. 2017-02-22 09:20:39 +00:00
kamil 61c1b37132 Fix build of !x86 ports
Mark debug/usr/tests/kernel/arch/x86 as MI directory.

Sponsored by <The NetBSD Foundation>
2017-02-22 09:09:49 +00:00
kamil b4bf2c1aa5 Add kernel/arch/x86 ATF tests for CPU Debug Registers for amd64 and i386
This moves kernel/arch/amd64 tests, the ones to be shared between amd64 and
i386, into kernel/arch/x86. This covers all Debug Register tests.

kernel/arch/amd64 is reduced to regs1
kernel/arch/i386 is reduced to regs1

kernel/arch/x86 tests:
 - dbregs_print
 - dbregs_preserve_dr0
 - dbregs_preserve_dr1
 - dbregs_preserve_dr2
 - dbregs_preserve_dr3
 - dbregs_preserve_dr0_yield
 - dbregs_preserve_dr1_yield
 - dbregs_preserve_dr2_yield
 - dbregs_preserve_dr3_yield
 - dbregs_preserve_dr0_continued
 - dbregs_preserve_dr1_continued
 - dbregs_preserve_dr2_continued
 - dbregs_preserve_dr3_continued
 - dbregs_dr0_trap_variable_writeonly_byte
 - dbregs_dr1_trap_variable_writeonly_byte
 - dbregs_dr2_trap_variable_writeonly_byte
 - dbregs_dr3_trap_variable_writeonly_byte
 - dbregs_dr0_trap_variable_writeonly_2bytes
 - dbregs_dr1_trap_variable_writeonly_2bytes
 - dbregs_dr2_trap_variable_writeonly_2bytes
 - dbregs_dr3_trap_variable_writeonly_2bytes
 - dbregs_dr0_trap_variable_writeonly_4bytes
 - dbregs_dr1_trap_variable_writeonly_4bytes
 - dbregs_dr2_trap_variable_writeonly_4bytes
 - dbregs_dr3_trap_variable_writeonly_4bytes
 - dbregs_dr0_trap_variable_readwrite_write_byte
 - dbregs_dr1_trap_variable_readwrite_write_byte
 - dbregs_dr2_trap_variable_readwrite_write_byte
 - dbregs_dr3_trap_variable_readwrite_write_byte
 - dbregs_dr0_trap_variable_readwrite_write_2bytes
 - dbregs_dr1_trap_variable_readwrite_write_2bytes
 - dbregs_dr2_trap_variable_readwrite_write_2bytes
 - dbregs_dr3_trap_variable_readwrite_write_2bytes
 - dbregs_dr0_trap_variable_readwrite_write_4bytes
 - dbregs_dr1_trap_variable_readwrite_write_4bytes
 - dbregs_dr2_trap_variable_readwrite_write_4bytes
 - dbregs_dr3_trap_variable_readwrite_write_4bytes
 - dbregs_dr0_trap_variable_readwrite_read_byte
 - dbregs_dr1_trap_variable_readwrite_read_byte
 - dbregs_dr2_trap_variable_readwrite_read_byte
 - dbregs_dr3_trap_variable_readwrite_read_byte
 - dbregs_dr0_trap_variable_readwrite_read_2bytes
 - dbregs_dr1_trap_variable_readwrite_read_2bytes
 - dbregs_dr2_trap_variable_readwrite_read_2bytes
 - dbregs_dr3_trap_variable_readwrite_read_2bytes
 - dbregs_dr0_trap_variable_readwrite_read_4bytes
 - dbregs_dr1_trap_variable_readwrite_read_4bytes
 - dbregs_dr2_trap_variable_readwrite_read_4bytes
 - dbregs_dr3_trap_variable_readwrite_read_4bytes
 - dbregs_dr0_trap_code
 - dbregs_dr1_trap_code
 - dbregs_dr2_trap_code
 - dbregs_dr3_trap_code
 - dbregs_dr0_dont_inherit_lwp
 - dbregs_dr1_dont_inherit_lwp
 - dbregs_dr2_dont_inherit_lwp
 - dbregs_dr3_dont_inherit_lwp
 - dbregs_dr6_dont_inherit_lwp
 - dbregs_dr7_dont_inherit_lwp
 - dbregs_dr0_dont_inherit_execve
 - dbregs_dr1_dont_inherit_execve
 - dbregs_dr2_dont_inherit_execve
 - dbregs_dr3_dont_inherit_execve
 - dbregs_dr6_dont_inherit_execve
 - dbregs_dr7_dont_inherit_execve

Sponsored by <The NetBSD Foundation>
2017-02-22 01:07:13 +00:00
kre 67cef682dd PR bin/50934
Add a test program for the bug described in this PR.
This is the first pkill/pgrep/prenice test (more would be good!)

This test has been confirmed to work once the bug described in the PR
has been fixed, so the test is not marked "expected to fail" even
though initially that is what should happen.

Note: the test cana also fail if the system running the tests happens
to be running processes with names that match the patterns searched for
by the test, other than the test program itself.  This is expected to be
unlikely.
2017-02-21 10:40:30 +00:00
kamil 8b8807ec7c Remove tests/lib/libc/gen/exect paths from mtree and sets
The exect tests have been removed from the distribution.

Requested by Thomas Klausner.
2017-02-20 03:14:42 +00:00
knakahara abf7aa227e add l2tp(4) basic test. 2017-02-16 08:44:47 +00:00
knakahara 7881c6ebb7 l2tp(4) support rump. 2017-02-16 08:39:10 +00:00
knakahara f8f075dfc2 add man for l2tp(4). 2017-02-16 08:32:21 +00:00
knakahara 939a415a7d add l2tp(4) L2TPv3 interface.
originally implemented by IIJ SEIL team.
2017-02-16 08:12:43 +00:00
christos d238194040 Add ${GPT_TIMESTAMP} 2017-02-16 03:47:23 +00:00
christos 23fc7b3c92 there is no -f in install 2017-02-16 02:37:32 +00:00
christos 4dc6c7760f add chrp 2017-02-15 22:47:27 +00:00
christos 7d343bc869 Add postfix .so dir 2017-02-14 01:12:02 +00:00
snj ae59a55318 catch up with 2012 xkeyboard-config and stop generating *.dir 2017-02-13 06:11:01 +00:00
snj c370717c80 prune /usr/X11R7/lib/X11/xkb/torture, a ghost from the days of xkbdata 2017-02-13 04:23:19 +00:00
snj 7259ddf83f update for xkeyboard-config 2.20 2017-02-13 02:34:11 +00:00
christos 9eb2b4b14d fix typo. 2017-02-11 22:57:00 +00:00
nakayama 6d771be8e7 Redo rev.1.718, remove trash in line end. 2017-02-11 18:47:36 +00:00
pgoyette b681d47f3c Clean up another extraneous -f option 2017-02-11 08:14:05 +00:00
pgoyette 5957cab68c Remove leftover "-f" from when this used to be a cp command.
Unbreak the build for install-image target.
2017-02-11 08:08:00 +00:00
christos 346de06e21 remove extra endif 2017-02-11 04:19:25 +00:00
christos 8a78ba48ab more MKREPRO_TIMESTAMP fixes (for pax/tar generated files) 2017-02-11 03:07:06 +00:00
christos c2a172a450 bump libmagic 2017-02-10 18:11:56 +00:00
christos 4c5a1b33b8 MKREPRO_TIMESTAMP fixes for efiboot 2017-02-10 16:53:51 +00:00
christos 0cd29ab5b4 Initial pass to be unaffected by build umask on build artifacts
1. ${MKDIR} -> ${MKDIR} ${MKDIRPERM}
2. ${CP} -> ${INSTALL} ${COPY} -m <perm>
2017-02-10 16:43:59 +00:00
joerg 69a2ab8761 Bump the ram disk and miniroot size slightly for clang. 2017-02-09 18:15:07 +00:00
joerg 5a64c2ee91 Give clang a bit more space on the RAM disk. 2017-02-09 15:24:08 +00:00
christos f953c1fc7b loosen the belt again. 2017-02-09 14:00:06 +00:00
christos e52216c27e put back exect directory; we try to remove it before the files inside it and
we fail.
2017-02-09 13:59:02 +00:00
szptvlfn b9020e6820 fix build (MKUNBOUND=no) 2017-02-09 13:26:56 +00:00
christos 6edabb4d4e remove exect test 2017-02-09 03:29:55 +00:00
rin 879e53004e Cosmetic changes. No functional changes. 2017-02-08 23:26:24 +00:00
rin abeb7dd201 Replace ".PATH ${SRCDIR}" before including Makefile.common to ensure the
correct order of search path.
2017-02-08 23:24:57 +00:00
rin d394916260 Factor out a common part in Makefile's of ifconfig and x_ifconfig. 2017-02-08 23:22:43 +00:00
rin 6323d1adb5 Rename sbin/ifconfig/Makefile.inc to Makefile.common; the former can
potentially conflict with bsd.subdir.mk.
2017-02-08 23:16:41 +00:00
rin cac1f9de52 Fix build with MKDEBUG=yes for sun2:
- libgcc_g.a, libgcov_g.a, libobjc_g.a, libstdc++_g.a, and libsupc++_g.a are
  marked "gcc" instead of "gcccmds".

- libbfd_g.a and libh_helper_*_g.a are moved from debug/mi to debug/shl.mi.
  This seems strange at first sight, but they are built only when shared
  libraries are enabled.
2017-02-08 23:08:27 +00:00
maya d2158a65ab minor bump libc for accept4 2017-02-08 20:26:26 +00:00
rin b765dc9992 Shrink the ramdisk of INSTALL kernel for zaurus in order to fit within 5MB.
Now free spaces of the main kernel and ramdisk are about 62KB and 215KB for
INSTALL, respectively.

OK christos
2017-02-08 20:11:18 +00:00
christos 83eb8ec86d Document sets programmatically instead of keeping a list that constantly is
out of date.
2017-02-08 18:21:23 +00:00
christos 455a2bdc3e nsd is optional 2017-02-08 17:51:21 +00:00
rin 43be14da29 Switch to x_fsck_ffs and x_newfs. Fix floppy image overflow. 2017-02-08 16:12:59 +00:00
rin ccc9d98e52 Add smaller versions of fsck_ffs(8) and newfs(8) for install media, where
support for Endian-Independent FFS and Apple UFS is disabled unless FFS_EI=1
and APPLE_UFS=1 are added to CRUNCHENV, respectively.

This reduces the size of ramdisk image for atari by over 15KB.

Thanks tsutsui and christos for their useful comments.
2017-02-08 16:11:39 +00:00
christos 859ed859bc Don't track /etc/nsd/nsd.conf and /etc/unbound/unbound.conf 2017-02-08 04:18:42 +00:00
kamil 0892a29a1a libpthread_dbg(3) deletion from the base distribution
libpthread_dbg(3) is a remnant library from the M:N thread model
(pre-NetBSD-5.0) API to introspect threads within a process and for use
of debuggers.

Currently in the 1:1 model it's not used in GDB neither in LLDB and it's
not either planned to be used. It's current function to read pthread_t
structures is realizable within a regular debugger capable to
instrospect objects within a tracee (GDB, LLDB...).

Remaining users of this API can still use this library from
pkgsrc/devel/libpthread_dbg.

Sponsored by <The NetBSD Foundation>
2017-02-08 03:44:40 +00:00
christos ecb1597c64 add config files as examples 2017-02-07 22:37:18 +00:00
christos 9e972dfc78 add nsd and unbound example dirs 2017-02-07 22:31:29 +00:00
rin 44fe74158a Define NOMAN before including bsd.own.mk to set MKMAN=no appropriately. 2017-02-07 16:49:40 +00:00
kre cb46eb8bd0 + /usr/bin/nc (someone please check these are correct) 2017-02-06 19:45:17 +00:00
christos 5d91f28a16 add nc 2017-02-06 16:06:38 +00:00