Hi all,
I am trying to figure out how to add a syscall to openbsd 6.8.
I am following "OpenBSD Kernel Internals - The Hitchhiker's Guide"
by Vladimir Kirillov.
(https://atmnis.com/~proger/openkyiv/openkyiv2009_proger_sys.pdf).

I could successfully add my syscall and call it by using syscall(CALL_NR)
from a basic C program.

However, in that document it says that I should also rebuild libc.
How do I do that?

I tried by doing cd /usr/src/lib/libc and make but when I do make install I
get an error:

ran lib: /usr/lib/libc.a: no archive map to update.

libc.a seems to be updated with the newest version, however libc.so.96.0 is
still old.

Thanks :-)
Alessandro

Reply via email to