projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add init_module/delete_module syscall wrappers
[musl]
/
src
/
linux
/
module.c
diff --git a/src/linux/module.c
b/src/linux/module.c
new file mode 100644
(file)
index 0000000..
33f69a0
--- /dev/null
+++ b/
src/linux/module.c
@@ -0,0
+1,11
@@
+#include "syscall.h"
+
+int init_module(void *a, unsigned long b, const char *c)
+{
+ return syscall(SYS_init_module, a, b, c);
+}
+
+int delete_module(const char *a, unsigned b)
+{
+ return syscall(SYS_delete_module, a, b);
+}