Age | Commit message (Collapse) | Author |
|
GPIO base register we must not replace the iterator variable with the
index of the pin inside the register.
ok kettenis@
|
|
|
|
Switch libc and ld.so to the generic stubs for these calls.
WARNING: reboot to updated kernel before installing libc or ld.so!
Time for a story...
When gcc (back in 1.x days) first implemented long long, it didn't (always)
pass 64bit arguments in 'aligned' registers/stack slots, with the result that
argument offsets didn't match structure offsets. This affected the nine system
calls that pass off_t arguments:
ftruncate lseek mmap mquery pread preadv pwrite pwritev truncate
To avoid having to do custom ASM wrappers for those, BSD put an explicit pad
argument in so that the off_t argument would always start on a even slot and
thus be naturally aligned. Thus those odd wrappers in lib/libc/sys/ that use
__syscall() and pass an extra '0' argument.
The ABIs for different CPUs eventually settled how things should be passed on
each and gcc 2.x followed them. The only arch now where it helps is landisk,
which needs to skip the last argument register if it would be the first half of
a 64bit argument. So: add new syscalls without the pad argument and on landisk
do that skipping directly in the syscall handler in the kernel. Keep compat
support for the existing syscalls long enough for the transition.
ok deraadt@
|
|
|
|
ASN1_item_ex_{d2i,i2d}() instead of ASN1_item_{d2i,i2d}(). Fixes test
failure on sparc64, and hopefully all other architectures.
reported by tobhe
with/ok jsing
|
|
dirty hacks, it is better to protect IPsec input and output with
kernel lock. Not much is lost as crypto needs the kernel lock
anyway. From here we can refine the lock later.
Note that there is no kernel lock in the SPD lockup path. Goal is
to keep that lock free to allow fast forwarding with non IPsec
traffic.
tested by Hrvoje Popovski; OK tobhe@
|
|
|
|
OK anton@
|
|
in vnd ioctl error path.
Reported-by: syzbot+6dde3fda33074a256318@syzkaller.appspotmail.com
OK jsg@ anton@
|
|
if it is supported. Remove it from the global GENERIC config.
OK visa@ claudio@
|
|
ok deraadt@
|
|
ok tobhe@
|
|
missed when unix2dosfn() was changed in the kernel with
msdosfs_conv.c rev 1.15 in 2012
|
|
missed when unix2dosfn() was changed with msdosfs_conv.c rev 1.15 in 2012
|
|
ok claudio@
|
|
conversion specifier to mean 'll'. Found by an ok deraadt@
|
|
allocated memory could be too short for the list of disks. Retry
allocating enough space until it did not change.
The disk list and duid memory are protected by kernel lock. Use
asserts to mark this explicitly.
Reported-by: syzbot+807423f6868bbfb836bc@syzkaller.appspotmail.com
OK anton@ mpi@
|
|
reliability when bwfm is used as an access point.
ok patrick@
|
|
|
|
|
|
|
|
|
|
per packet and improve readability.
ok bluhm@
|
|
From Le Ma
aec5897b277b13acd8f913d777654d4d092a24f1 in linux 5.10.y/5.10.88
f3a8076eb28cae1553958c629aecec479394bbe2 in mainline linux
|
|
From Lang Yu
222cebd995cdf11fe0d502749560f65e64990e55 in linux 5.10.y/5.10.88
aa464957f7e660abd554f2546a588f6533720e21 in mainline linux
|
|
|
|
and for the roa maxlength use unsigned char (like the prefixlen in struct
ip_addr).
With input and OK job@
|
|
- Move the tests from splice to new sosplice directory for consistent naming.
- Split the API tests and the TCP splicing tests into separate directories.
- Create some tests for the upcoming UDP splicing.
- Tests can be run in obj directories now.
- The API tests can run both on a local and on a remote machine now.
- Fix the forking TCP tests which splice and read or write simultaneously.
- Bunch of little fixes for races in the tests.
- Deduplicate code, move checks into common functions.
|
|
prefixlen before looking for the optional maxlength attribute the code
can be simplified and a ternary expression can be removed.
OK tb@ job@
|
|
tweak the -H text;
ok djm
|
|
|
|
Pass the correct entry to uvm_fault_unwire_locked().
Reported-by: syzbot+bb2f63f076618e9ed0d3@syzkaller.appspotmail.com
ok kettenis@, deraadt@
|
|
ok anton@, deraadt@
|
|
OK job@
|
|
ta_lookup(). Implementing the talrepocnt limiter there makes little
sense and gains us nothing.
OK job@
|
|
|
|
|
|
structures, so remove the packed attribute on struct grid_line and
reorder the members to eliminate unnecessary padding. From Jessica
Clarke in GitHub issue 3012.
|
|
|
|
|
|
is enabled by default, this line does not provide much information.
requested by kettenis@ deraadt@; OK mpi@
|
|
fixing an omission pointed out by chrisz@;
OK jmc@ deraadt@ chrisz@
|
|
ok anton@
|
|
kern.shminfo.shmseg is set to something ridiculously large.
ok kettenis@ millert@
Reported-by: syzbot+9f1b201cdbc97b19c7f5@syzkaller.appspotmail.com
|
|
vnode twice in the error path.
Tested in snaps for a couple of days.
|
|
not before as we might end up sleeping while acquiring the lock,
introducing a potential race.
Tested in snaps for a couple of days.
ok mpi@
Reported-by: syzbot+c87cdc2905b441c20d39@syzkaller.appspotmail.com
|
|
already does.
|
|
a regression caused by the recent change to start attaching com at acpi
as it turns out that Libreboot exposes console devices lacking crucial
data in their acpi tables. The same console attaches fine over isa,
therefore restore this behavior.
Problem reported by <cipher-hearts at riseup dot net> on bugs@
ok deraadt@ kettenis@
|
|
down a rare but annoying problem related to remote coverage exposed by
syzkaller.
|
|
by 10 so it works with the numbers in the config, which were previously
multiplied.
ok dlg@
|