Commit Graph

15251 Commits

Author SHA1 Message Date
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
christos
c78ee482d4 add accept4 2017-02-23 15:18:36 +00:00
kamil
988eb7ed71 Introduce PT_GETDBREGS and PT_SETDBREGS in ptrace(2) on i386 and amd64
This interface is modeled after FreeBSD API with the usage.

This replaced previous watchpoint API. The previous one was introduced
recently in NetBSD-current and remove its spurs without any
backward-compatibility.

Design choices for Debug Register accessors:
 - exec() (TRAP_EXEC event) must remove debug registers from LWP
 - debug registers are only per-LWP, not per-process globally
 - debug registers must not be inherited after (v)forking a process
 - debug registers must not be inherited after forking a thread
 - a debugger is responsible to set global watchpoints/breakpoints with the
   debug registers, to achieve this PTRACE_LWP_CREATE/PTRACE_LWP_EXIT event
   monitoring function is designed to be used
 - debug register traps must generate SIGTRAP with si_code TRAP_DBREG
 - debugger is responsible to retrieve debug register state to distinguish
   the exact debug register trap (DR6 is Status Register on x86)
 - kernel must not remove debug register traps after triggering a trap event
   a debugger is responsible to detach this trap with appropriate PT_SETDBREGS
   call (DR7 is Control Register on x86)
 - debug registers must not be exposed in mcontext
 - userland must not be allowed to set a trap on the kernel

Implementation notes on i386 and amd64:
 - the initial state of debug register is retrieved on boot and this value is
   stored in a local copy (initdbregs), this value is used to initialize dbreg
   context after PT_GETDBREGS
 - struct dbregs is stored in pcb as a pointer and by default not initialized
 - reserved registers (DR4-DR5, DR9-DR15) are ignored

Further ideas:
 - restrict this interface with securelevel

Tested on real hardware i386 (Intel Pentium IV) and amd64 (Intel i7).

This commit enables 390 debug register ATF tests in kernel/arch/x86.
All tests are passing.

This commit does not cover netbsd32 compat code. Currently other interface
PT_GET_SIGINFO/PT_SET_SIGINFO is required in netbsd32 compat code in order to
validate reliably PT_GETDBREGS/PT_SETDBREGS.

This implementation does not cover FreeBSD specific defines in their
<x86/reg.h>: DBREG_DR7_LOCAL_ENABLE, DBREG_DR7_GLOBAL_ENABLE, DBREG_DR7_LEN_1
etc. These values tend to be reinvented by each tracer on its own. GNU
Debugger (GDB) works with NetBSD debug registers after adding this patch:

--- gdb/amd64bsd-nat.c.orig	2016-02-10 03:19:39.000000000 +0000
+++ gdb/amd64bsd-nat.c
@@ -167,6 +167,10 @@ amd64bsd_target (void)

 #ifdef HAVE_PT_GETDBREGS

+#ifndef DBREG_DRX
+#define	DBREG_DRX(d,x)	((d)->dr[(x)])
+#endif
+
 static unsigned long
 amd64bsd_dr_get (ptid_t ptid, int regnum)
 {


Another reason to stop introducing unpopular defines covering machine
specific register macros is that these value varies across generations of
the same CPU family.

GDB demo:
  (gdb) c
  Continuing.

  Watchpoint 2: traceme

  Old value = 0
  New value = 16
  main (argc=1, argv=0x7f7fff79fe30) at test.c:8
  8               printf("traceme=%d\n", traceme);

(Currently the GDB interface is not reliable due to NetBSD support bugs)

Sponsored by <The NetBSD Foundation>
2017-02-23 03:34:22 +00:00
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
martin
8bde12d789 Add test program for PR kern/51762 2017-02-02 22:07:33 +00:00
christos
3935cc1c30 Add evbuffer.h.3 2017-02-01 12:33:58 +00:00
christos
a495415781 one more include file 2017-02-01 01:23:17 +00:00
christos
c4ed05c40f add more man pages 2017-01-31 23:55:03 +00:00
christos
5671de8aa1 update for libevent 2017-01-31 23:19:20 +00:00
christos
009f9c23f3 bump heimdal libraries 2017-01-28 21:42:41 +00:00
nat
b6121f8d46 bta2dpd - Bluetooth Advand Audio Distribution (A2DP) Profile Daemon.
bta2dpd allows you to stream audio to and from bluetooth devices.
It features high quality stereo audio and is intended for use with pad(4)
device.

As discussed on current-users@ and tech-userlevel@
2017-01-28 16:55:54 +00:00
rin
ecb5770e7c Fix build with LLVM, which does not support -mthumb-interwork. 2017-01-27 15:20:31 +00:00
hannken
a9f23b81d0 Add test for read/write to readonly update mount. 2017-01-27 10:45:11 +00:00
christos
fe39001e76 Add another pcap header. 2017-01-24 23:27:52 +00:00
christos
9d5177b3b3 bump libpcap. 2017-01-24 22:30:53 +00:00
christos
009f8e31d2 += for MAKEFS_FLAGS 2017-01-24 18:04:01 +00:00
christos
cac2d2699a use the same logic to compute the timestamp like the other files 2017-01-24 18:01:07 +00:00
roy
a2ac1ce48c Implement POSIX Curses Soft Label Key functions. 2017-01-24 17:27:30 +00:00
nonaka
53532ef3a8 amd64: make BIOS and UEFI dual bootable iso image. 2017-01-24 11:27:55 +00:00
nonaka
90f9d081f2 make amd64 EFI install image
XXX merge to installimage?
2017-01-24 11:16:50 +00:00
nonaka
d13f498989 Initial commit of native amd64 EFI boot loader. 2017-01-24 11:09:14 +00:00
jdolecek
f3e49fbede add skeleton manpage for xhci(4) 2017-01-21 20:21:57 +00:00
jklos
2dd9143774 This fixes a bug where mtree would use names & IDs from the host system
instead of from the build.
2017-01-21 19:37:46 +00:00
ozaki-r
cc5766bfdd Rewrite tests for CARP in a shell script instead of C
The new shell script enables us to modify/add tests easily.
2017-01-16 08:18:11 +00:00
christos
0f986ca219 add new test file 2017-01-14 01:44:13 +00:00
nonaka
4480eb3627 iwm(4): 3165 works fine with iwlwifi-7265D-17.ucode firmware.
firmware from http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/tree/?id=be8a6fcba2e48e00674d1f35e6def56e2268039c
2017-01-13 11:21:47 +00:00
christos
16045db705 This is an example how to make a small program using libc. Original size
300K; final size 75K.
2017-01-12 01:58:03 +00:00
joerg
6408d22c9c Update LLVM build glue for pre-4.0.0 r291444. 2017-01-11 12:02:24 +00:00
christos
d8205999e6 adjust to new zlib 2017-01-11 04:04:12 +00:00
joerg
1230251f55 Bump image size a bit for the clang build. 2017-01-10 13:35:44 +00:00
roy
25445577c0 Implement POSIX curses function ripoffline(3). 2017-01-10 10:13:24 +00:00
christos
6bed56a8b5 Fix the build, we don't support installboot for ia64 2017-01-09 13:36:22 +00:00
christos
c5c2e2a4dd fix nsd rc. 2017-01-07 23:05:35 +00:00
christos
b223019c67 more nsd 2017-01-07 20:49:23 +00:00
christos
3309be15f3 add more nsd 2017-01-07 20:46:29 +00:00
christos
4fd6f669fe add path 2017-01-07 20:43:16 +00:00
christos
323aaf9d6c debug for nsd 2017-01-07 20:40:08 +00:00
christos
7fe75036ca more nsd 2017-01-07 20:20:58 +00:00
christos
35cc6ce981 more nsd 2017-01-07 20:17:21 +00:00
christos
09e56bb693 add nsd 2017-01-07 19:55:35 +00:00
christos
95f6ceca86 add npfd 2017-01-07 17:29:24 +00:00
ozaki-r
5ee8b500a7 Add entries of pmap(9) functions 2017-01-07 04:44:12 +00:00
kamil
a415cb97d3 Fix MKCATPAGES=yes build - fix typo in cat3/krb5_checksum_is_keyed.0 2017-01-07 00:47:18 +00:00
roy
506f84ec9a Implement ncurses is_pad(3).
Correct documentation about is_keypad(3).
2017-01-05 23:15:43 +00:00
roy
4550c5287c Implement is_term_resized and resize_term(3) ncurses extensions.
resizeterm(3) is now a wrapper for resize_term(3).
2017-01-05 21:25:17 +00:00
roy
47cc2fc353 Add the set_escdelay(3) and set_tabsize(3) ncurses extensions. 2017-01-05 20:31:37 +00:00
christos
8a5a08cbc5 add npfd 2017-01-05 14:39:59 +00:00
wiz
70acae63ba Tag cleanup: if the last column contains 'obsolete', the one before should too. 2017-01-05 13:45:50 +00:00
christos
54351bdf9a move xtrans.m4 to comp, since it gets installed with the headers. 2017-01-05 02:22:19 +00:00
christos
995b0e714e PR/51773: Yorick Hardy: drvctl module is not part of lvm 2017-01-04 15:45:18 +00:00
christos
1272db2820 PR/51770: Yorick Hardy: Install xtrans.m4 (needed by net/tigervnc) 2017-01-04 15:41:24 +00:00
christos
58298223f1 Add more curses functions (Hi Roy!) 2017-01-03 18:43:13 +00:00
maya
148cc75bdf remove npx(4) and references to it. bump dates for reference removal.
This used to refer to x87 support for x86 machines.

npx isn't really a driver any more. we don't support x86 hardware
without an FPU, and we don't call it by that name in the code or
attach it as npx at something.

brought up on tech-kern. unfortunately the copy to port-i386 disappeared
in a spam filter.
2017-01-03 08:49:04 +00:00
kamil
e72ee6c5bd Fix typo in distribution synckok.0 -> syncok.0 2017-01-03 04:12:18 +00:00
wiz
636e3facfa Fix tag. 2017-01-03 02:13:05 +00:00
martin
f263fe2c63 Add misising mixerctl file 2017-01-02 21:05:06 +00:00
martin
72963afd05 libcurses version bump 2017-01-02 20:45:09 +00:00
cherry
aee9580f27 We don't need sys/uvm/uvm_physseg.h installed, since userland has no
use for it.

Obsolete it in the set list.
2017-01-02 20:17:15 +00:00
christos
9d3fb4472f Add mixerctl tests 2017-01-02 15:41:09 +00:00
roy
c247fb6646 Bump libcurses to 7.1 for prior additions. 2017-01-02 12:38:16 +00:00
hannken
998709c439 Rename vget() to vcache_vget() and vcache_tryvget() respectively and
move the definitions to sys/vnode_impl.h.

No functional change intended.

Welcome to 7.99.54
2017-01-02 10:33:28 +00:00
roy
1369811d4e Implement POSIX Curses functions immedok(3) and syncok(3). 2017-01-02 10:28:34 +00:00
roy
6de5f0d137 Implement ncurses extension has_key. 2017-01-01 03:06:06 +00:00
roy
a663bc11be Implement POSIX Curses typeahead function. 2016-12-31 22:47:01 +00:00
roy
77943ff6ed Implement POSIX curses use_env function. 2016-12-31 17:46:35 +00:00
roy
2ab1e31d80 Implement ncurses extensions is_leaveok and is_keypad.
The former allows the ncurses (and pdcurses) macros getsyx and setsyx
to be implemented, which is needed by a surprising number of applications.

The latter is needed for Python curses support so it doesn't have to dive
into ncurses window structure.
2016-12-31 13:50:16 +00:00
roy
1c3d328353 Add the POSIX filter() function to libcurses. 2016-12-30 22:38:38 +00:00
wiz
7c6ad95732 Add /usr/lib/i386/libiberty_g.a to obsolete list. 2016-12-29 12:13:34 +00:00
rin
d2d9d6886a Add missing "compat" qualifier to fix build with MKCOMPAT=no for mips64-e[bl].
Also, add "softfloat" to /usr/lib/{64,o32}/libc_fp_pic.a.
2016-12-28 08:57:20 +00:00
christos
a54d067ee5 bump libssh 2016-12-25 00:09:20 +00:00
maya
b6407b6ab6 add new header (uvm_physseg.h) to set list. 2016-12-22 16:32:31 +00:00
maya
0805fb3a53 fix release build after the addition of uvm_hotplug man9 page
by adding it to the set lists.
2016-12-22 12:57:18 +00:00
maya
5f32e54f24 adjust set lists for t_fe_round 2016-12-19 17:38:38 +00:00
christos
7d45325d02 give it a bit more room. 2016-12-19 16:23:10 +00:00
christos
00e33719b3 grow so that new intel firmware fits. 2016-12-19 15:50:13 +00:00
christos
d9249b0ab0 mark old firmware obsolete. 2016-12-18 17:58:08 +00:00
nonaka
29c66ef650 iwm(4): Sync with OpenBSD.
7265 works fine.
7260 and 3160 maybe work.
7265D, 3165 and 8260 not work yet.

if_iwm.c: r1.147.
if_iwmreg.h: r1.19 without r1.16.
if_iwmvar.h: r1.24.

firmware is taken from https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
- iwlwifi-7260-ucode-16.242414.0.tgz
- iwlwifi-3160-ucode-16.242414.0.tgz
- iwlwifi-7265-ucode-16.242414.0.tgz
- iwlwifi-8000-ucode-16.242414.0.tgz
2016-12-18 02:18:28 +00:00