rin
9a6dacb422
ews4800mips/floppies: Fix ramdisk overflow by dropping IEEE 802.11
...
support from x_ifconfig
2023-07-29 17:33:50 +00:00
gutteridge
747783b1c3
CHANGES: remove entry that has been pulled up to netbsd-10
2023-07-29 16:47:28 +00:00
rin
123e052909
t_memfd_create: Fix printf-like format by using %zu for size_t, and
...
%jd for off_t with cast to intmax_t, respectively.
2023-07-29 16:24:35 +00:00
tsutsui
623aad5983
No need to ask whether to use the TCP option on NFS mount.
...
TCP mount has been default since NetBSD 9.0.
2023-07-29 15:46:45 +00:00
rin
42e8d40ecb
rump: Regen again to fix missing __kevent100 symbol.
...
makerumpsyscalls.sh requires rebuilt rump libraries installed in
/usr/lib or directory specified by its first argument.
Now, new failures observed for ATF after __kevent100 addition are
fixed at least for aarch64.
2023-07-29 15:11:04 +00:00
christos
ccd370d9ef
regen
2023-07-29 15:05:45 +00:00
christos
bfadc5a9ed
typo
2023-07-29 15:05:31 +00:00
christos
a0a4eb1d2e
Add/fix statx, readahead, close_range. From GSoC 2023 by Theodore Preduta
2023-07-29 15:04:28 +00:00
riastradh
38109725ac
sys/memfd.h: Fix include guards after rename.
2023-07-29 14:54:02 +00:00
pgoyette
f1bc8e77ac
Don't skip compat_netbsd32_90 in the dependency chain.
2023-07-29 13:57:28 +00:00
rin
c465786a97
COMPAT_NETBSD32: Reorganize the previous; Make compat_netbsd32_50 recursively
...
depended on compat_netbsd32_100, rather than directly depended on it.
Thanks pgoyette@ again for useful comments!
2023-07-29 13:40:51 +00:00
rin
e2e651a891
Now, netbsd32_compat_50 module requires netbsd32_compat_100.
...
Thanks pgoyette@ for hints.
2023-07-29 13:13:50 +00:00
rin
fb5e41dcc3
Add comment on packed attribution for struct linux_epoll_event on amd64.
...
NFC.
2023-07-29 12:58:51 +00:00
rin
4b0dfcb973
COMPAT_NETBSD32: No need to have compat_100_netbsd32_kevent_fetch_timeout.
...
NFCI.
2023-07-29 12:48:15 +00:00
rin
86fd45f5d8
COMPAT_NETBSD32: Regen for syscalls.master,v 1.142
2023-07-29 12:39:20 +00:00
rin
1bcfe12091
COMPAT_NETBSD32: Catch up with sys___kevent100() addition.
...
XXX
Add epoll_* and memfd_create.
2023-07-29 12:38:25 +00:00
christos
d3ba7ba3a2
Add tests for t_memfd_create and fix bug found by tests
2023-07-29 12:16:34 +00:00
rin
6a611fe9f4
Sprinkle __inline to compat_100___kevent50_{fetch_changes,put_events}
2023-07-29 11:58:53 +00:00
rillig
25ab71ca5d
lint: eliminate redundant code
...
No functional change.
2023-07-29 11:03:18 +00:00
rillig
3f66b2d22d
lint1: remove option -m
...
The list of lint messages is only needed for generating the manual page
lint.7. Since 2022-07-06, that list is extracted from the source code
instead of compiling and then running lint1.
2023-07-29 10:45:00 +00:00
rillig
3ee824ccf4
lint: only generate err-msgs.h in debug mode
2023-07-29 10:34:24 +00:00
rillig
d9ed82fb00
lint: fix use-after-free in memory debug mode
...
A node may be allocated before its type. Since the objects are freed in
reverse allocation order, the type cannot be accessed anymore when the
node is freed.
2023-07-29 10:22:50 +00:00
rin
437217c4cf
libc: Warn of __kevent50 when itself (not kevent) is referenced
2023-07-29 10:01:24 +00:00
riastradh
37720ac973
sys/memfd.h: Tidy.
...
- Sort includes.
- #include <sys/types.h> for size_t.
2023-07-29 08:46:58 +00:00
riastradh
ff3504bd37
sys: Rename sys/miscfd.h -> sys/memfd.h.
...
Let's not create new dumping grounds for miscellaneous stuff; one
header file for one purpose.
2023-07-29 08:46:47 +00:00
riastradh
1a841079ee
memfd(2): Convert KASSERT to CTASSERT.
...
Move it closer to where it's relevant too.
2023-07-29 08:46:27 +00:00
rillig
ed9a7a8560
lint: condense code for ending a function
...
No functional change.
2023-07-29 07:49:14 +00:00
rillig
3e26fc881e
lint: constify
2023-07-29 07:26:53 +00:00
rillig
abaa82c084
lint: remove forward declarations for functions
...
No functional change.
2023-07-29 07:03:19 +00:00
rin
15575ebdf6
compat/linux: aarch64 does not have epoll_create(2) nor epoll_wait(2)
...
Note that for Linux, new architectures like arm64 use MI system call
table in include/uapi/asm-generic/unistd.h, instead of MD syscall.tbl.
XXX
Too many ifdef's like this. We should be smarter...
2023-07-29 07:00:00 +00:00
skrll
5d0d79bf01
Slight reformatting. NFCI.
2023-07-29 06:59:47 +00:00
rin
d59a86b335
linux/aarch64: Regen for syscalls.master,v 1.8
2023-07-29 06:50:47 +00:00
rin
8f33ad361a
linux/aarch64/syscalls.master: Dedup and sort headers. NFC.
2023-07-29 06:47:26 +00:00
rin
f7c3606d54
linux/aarch64/syscalls.master: Include linux_misc.h.
2023-07-29 06:45:49 +00:00
rillig
1b372e0b3d
lint: use standard function attribute for noreturn functions
2023-07-29 06:44:44 +00:00
pgoyette
2e3b428875
remove extra `_' to fix debug build
2023-07-29 04:06:32 +00:00
wiz
6805bcc8e7
Fix some macro( usage)s
2023-07-28 23:41:16 +00:00
wiz
f9cde7647a
Remove Pp that have no effect.
2023-07-28 23:41:02 +00:00
rillig
6383202121
tests/lint: test declarations in C11 and C23
2023-07-28 22:05:44 +00:00
rillig
2f32ebb476
lint: extract 'vararg' and 'prototype' flags from global 'dcs'
...
These flags are only relevant for parameter lists, so add a separate
type for it.
No functional change.
2023-07-28 21:50:03 +00:00
christos
f3c4f60f53
regen
2023-07-28 19:01:44 +00:00
christos
24f217d975
add epoll syscalls
2023-07-28 19:01:10 +00:00
christos
63ea783feb
regen
2023-07-28 18:20:28 +00:00
christos
d11110f473
Add epoll(2) from Theodore Preduta as part of GSoC 2023
2023-07-28 18:18:59 +00:00
wiz
00f0c4df28
ostat: use standard option order (AaBb...)
...
Fix macro usage while here
2023-07-28 12:03:33 +00:00
rin
af16b93898
vax/csu: __start: Use 0x0000 as entry mask instead of 0x0101 (two NOPs)
...
This was a quite common trick to able to load executables with a.out
headers stripped. Now, the system boots successfully into multi-user
mode without this trick.
Thanks ragge@ for kind explanation:
https://mail-index.netbsd.org/port-vax/2023/07/28/msg004397.html
2023-07-28 11:22:43 +00:00
riastradh
39c871a06b
xen_clock(4): New hardclock dtrace probes.
...
sdt:xen:hardclock:tick(last, now)
fires on every hardclock tick
sdt:xen:hardclock:jump(last, now, nticks)
fires on every hardclock tick when (now - last) >= 2*NS_PER_TICK,
i.e., this call to the timer interrupt handler requires multiple
hardclock ticks
2023-07-28 10:39:14 +00:00
riastradh
d40cf01dd4
xen_clock(4): Compute NS_PER_TICK only once per call.
...
This involves a division by an unknown number, so let's cache it.
XXX Could do better by precomputing it in xen_resumeclocks, with some
effort to ensure concurrent calls don't stomp on each other.
2023-07-28 10:39:01 +00:00
riastradh
bae6fa18fa
xen_clock(4): Fix whitespace and sprinkle comments.
...
No functional change intended.
2023-07-28 10:38:44 +00:00
riastradh
002ee648a8
timecounter(9): Link to phk's timecounter paper for reference.
...
No functional change intended.
2023-07-28 10:37:28 +00:00