previous: >>108677721
#define __NR_create_module 174
#define __NR_init_module 175
#define __NR_delete_module 176
#define __NR_query_module 178
#define __NR_finit_module 313
https://man7.org/linux/man-pages/man2/init_module.2.html
https://man7.org/linux/man-pages/man2/create_module.2.html
https://man7.org/linux/man-pages/man2/delete_module.2.html
https://man7.org/linux/man-pages/man2/query_module.2.html
tl;dr:
kernel modules!
these are pretty neat. we will more or less ignore the create and query syscalls, since they are ancient and no longer supported
but the rest of it is a basic API for interfacing with kernel modules. and proc and sys tell you lots of information about your loaded modules, effectively replacing the query call
have any anons here ever compiled a kernel module before? it's surprisingly easy. if you haven't, maybe look into doing a hello world. it's pretty cool to see your text in dmesg
relevant resources:
man man
man syscalls
https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/