christos
f9f791fd0d
stampst.st_ion consistent treatment (non-zero vs zero instead of testing == 1)
2017-02-08 21:27:26 +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
kre
0dcb58b5ac
Analagous fix to that just committed to the equiv amd64 sources.
...
Note: this one has yet to be compile tested, so anything is possible...
2017-02-08 18:53:01 +00:00
kre
4f1bfb58c6
All bow down before the Great Code Compiler.
...
Specifically, it has been commanded that unused-functions is a warning,
and, as all should know, all warnings be errors.
Hence, since XEN kernels do not call set_sys_gdt(), that function
may not be included (and the XEN kernel saves a few tens of bytes.)
An alternate fix would be to just remove "static" - but that would be
the equivalent to just giving the compiler the finger ... hmm, maybe
that would have been a better fix...
2017-02-08 18:50:51 +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
rin
ce7fa6f1d3
__empty -> __nothing
2017-02-08 18:05:25 +00:00
maya
248eba16c5
oops, do not write the same file twice -- accidentally ran patch twice
2017-02-08 18:03:57 +00:00
maya
e89d2a589b
Document accept4 in accept(2)
2017-02-08 18:01:24 +00:00
christos
d9093907a5
__empty -> __nothing
2017-02-08 18:01:12 +00:00
christos
ea89c7259a
empty to nothing
2017-02-08 18:00:37 +00:00
christos
0976e75ba5
use __nothing instead since __empty is taken in stl_deque.h
2017-02-08 17:59:35 +00:00
maya
708af0751d
Add accept4, a tiny wrapper around paccept.
...
accept4 is a syscall in Linux, FreeBSD and OpenBSD. It is used in
LLVM, zeromq, and probably others. paccept is a superset of it.
adding it to libc ensures it is used by programs and prevents the
need to define the same wrapper in every program.
2017-02-08 17:58:41 +00:00
christos
455a2bdc3e
nsd is optional
2017-02-08 17:51:21 +00:00
christos
e78ea23712
Use strncpy here because we need to be portable, and we have the +1 byte
...
to save us :-)
2017-02-08 17:47:36 +00:00
maya
fefc5fa8d9
Make paccept a weak symbol in preparation for using it in another function
2017-02-08 17:30:27 +00:00
rin
47e6c13bb2
switch to __empty
2017-02-08 16:56:56 +00:00
christos
f0dfa8e226
remove comment in comment
2017-02-08 16:26:19 +00:00
christos
58acfeb884
use __empty
2017-02-08 16:23:24 +00:00
christos
023e088128
need FILESBUILD_
2017-02-08 16:21:24 +00:00
christos
e3abb3c383
don't define __empty.
2017-02-08 16:14:08 +00:00
christos
9aa43b8677
__empty is defined in <sys/cdefs.h>
2017-02-08 16:13:40 +00:00
christos
da41caee7e
add __empty
2017-02-08 16:13:04 +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
b4ccad3ff2
gut const for now.
2017-02-08 16:00:30 +00:00
kamil
cf07270509
Add new entry in TODO.ptrace
...
Added:
add PT_SET_SIGMASK and PT_GET_SIGMASK - used by checkpointing software
Example software: gdb, criu
2017-02-08 14:53:50 +00:00
kre
2f69950939
Time waro (thanks Kamil)
2017-02-08 14:47:55 +00:00
kre
c2bea2ceaa
Ammend previous, mention compat/amd64/i386/lib/libc as well.
2017-02-08 13:54:39 +00:00
riastradh
adfa6ca875
Omit duplicate text.
2017-02-08 13:31:36 +00:00
kre
d51e3abf8d
Note libc update build issue after change from arch/exect.S to exect.c
...
(The build system really should be able to cope with changes like this
one without obj dir fiddling or clean builds)
2017-02-08 10:56:12 +00:00
maxv
6d5f205475
Remove gdt_reload_cpu. GDTR takes a VA as base, and in our x86
...
implementation this VA is per-cpu and does not change; there is therefore
no need to remotely reload GDTR.
2017-02-08 10:08:26 +00:00
msaitoh
9b00ab122f
ixv(4): Add Intel 10G Ethernet virtual function driver.
2017-02-08 09:58:42 +00:00
maxv
e6ed7762a4
Localify, add a comment and merge some others.
2017-02-08 09:39:32 +00:00
msaitoh
8e8e0ed94f
Print CPU number correctly.
2017-02-08 09:00:37 +00:00
msaitoh
f7261b64b9
- Fix aprint_*()s in ixv_allocate_msix().
...
- Style fix. Reduce diff against ixgbe.c. No functional change.
2017-02-08 08:30:16 +00:00
msaitoh
752517e5d3
Call IFQ_SET_MAXLEN() even if TX multiqueue is used. ALTQ uses it.
2017-02-08 08:13:53 +00:00
msaitoh
a1cede5a70
Enable TX multiqueue by default on both ixg(4) and ixv(4).
2017-02-08 04:32:43 +00:00
msaitoh
09ccad5238
Enable multiqueue.
2017-02-08 04:28:53 +00:00
msaitoh
8d2035c595
Use dmat64 if available. Same as ixgbe.c rev. 1.60.
2017-02-08 04:24:44 +00:00
msaitoh
5bb96b04e2
Fix a bug that 1Gbps is printed even if the phyiscal media is at 100Mbps.
2017-02-08 04:20:29 +00:00
christos
859ed859bc
Don't track /etc/nsd/nsd.conf and /etc/unbound/unbound.conf
2017-02-08 04:18:42 +00:00
msaitoh
b878b1dab4
Fix detach path:
...
- Call softint_disestablish() and pci_intr_disestablish() for all queues
correctly.
- Add missing sysctl_teardown() to delete sysctl entries.
- Call pci_intr_release(). Now NETBSD_MSI_OR_MSIX is completely deleted.
2017-02-08 04:14:05 +00:00
christos
db38a065ef
Don't store random (from ASLR) pointers into the superblock. Should be the
...
last (famous last words) problem with reproducible builds!
2017-02-08 04:08:53 +00:00
msaitoh
3ad5d456c5
Add queue number into interrupt name.
2017-02-08 04:05:13 +00:00
kamil
393a1d913c
pthread_dbg(3): Removed from the base distribution.
2017-02-08 04:01:44 +00:00
msaitoh
3f9b0f98e1
Set ifm_active to IFM_NONE when the physical interface's link is down.
...
Now ifconfig shows "media: Ethernet autoselect '(none)'".
2017-02-08 03:59:12 +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
7450df85ed
no, this is wrong.
2017-02-08 02:23:45 +00:00
christos
86c77ab60f
zero out the superblock so that it does not contain random stuff in the
...
spare fields.
2017-02-08 02:20:35 +00:00