created | 2024-04-12T05:37:30Z |
---|---|
begin | 2024-04-05T00:00:00Z |
end | 2024-04-06T00:00:00Z |
path | src/sys |
commits | 7 |
date | 2024-04-05T12:51:15Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/uvm/uvm_mmap.c | log | diff | annotate |
message |
Esure the base,len range provided by ld.so is definately in the map. Being outside the map doesn't seem like it can do anything bad. Discussed with kettenis |
date | 2024-04-05T12:58:49Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/uvm/uvm_mmap.c | log | diff | annotate |
message |
On machines lacking xonly support hardware, we emulate xonly in the copyin(9) layer below system calls, using a 4-entry lookup; the 4th entry is libc.so text. We were assuming, or rather insisting, that on all our architectures libc.so text is treated as xonly, even if the linker was behind in it's game. Since msyscall(2) is gone, kernel no longer has information about the start,len of libc.so text segment. But we can instead use the (same) start,len range of pinsyscalls() instead for this purpose. ld.so is passing the same text-range to the kernel in this position. regression tests run by anton discovered that libc.so text had become copyin-readable. ok kettenis |
date | 2024-04-05T13:55:26Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/kern/kern_pledge.c | log | diff | annotate |
message | noone calls msyscall() anymore. |
date | 2024-04-05T14:15:13Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/kern/syscalls.master | log | diff | annotate |
message | msyscall(2) goes away |
date | 2024-04-05T14:15:37Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/kern/init_sysent.c | log | diff | annotate |
src/sys/kern/syscalls.c | log | diff | annotate | |
src/sys/sys/syscall.h | log | diff | annotate | |
src/sys/sys/syscallargs.h | log | diff | annotate | |
message | sync |
date | 2024-04-05T14:16:05Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/uvm/uvm_mmap.c | log | diff | annotate |
message | delete msyscall stub |
date | 2024-04-05T14:31:57Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/drm_fb_helper.c | log | diff | annotate |
src/sys/dev/pci/drm/include/linux/device.h | log | diff | annotate | |
message |
use inline functions instead of do while(0) for dev_* avoids unused variable warning on gcc archs with ttm_tt.c rev 1.21 reported by deraadt@ |