Better HN
topnewbestaskshowjobs
Log inSign up

t-8ch

10 karma · joined Aug 31, 2023 (3y ago) · 4 submissions

Submissions

comment 1y ago · link · parent

SMP has been implemented recently and is queued for the next release.

comment 2y ago · link · parent

It doesn't strive to be a complete implementation.

If users send patches support for them, new syscalls can be added. Or downstream users can keep those definitions in their own program. More complex features like threads are out of scope.

(Disclaimer: I'm one of the maintainers)

comment 2y ago · link · parent

The kernel also provides a minimal vdso elf parser:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

comment 3y ago · link · parent

The latest version of that patch is here: https://lore.kernel.org/lkml/20230820094118.20521-2-julius@z...

Also it should be trivial to run this as an out-of-tree module until it's merged. With DKMS or put hid_bl.c into an empty directory and add the following makefile:

``` ifneq ($(KERNELRELEASE),) # kbuild part of makefile obj-m := hid_bl.o

else # normal makefile KDIR ?= /lib/modules/`uname -r`/build

modules:

%: $(MAKE) -C $(KDIR) M=$$PWD $@

endif ```