HackerTrans
TopNewTrendsCommentsPastAskShowJobs

t-8ch

no profile record

comments

t-8ch
·9 ay önce·discuss
SMP has been implemented recently and is queued for the next release.
t-8ch
·2 yıl önce·discuss
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)
t-8ch
·2 yıl önce·discuss
The kernel also provides a minimal vdso elf parser:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
t-8ch
·3 yıl önce·discuss
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 ```