diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-12-23 08:19:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-12-23 08:20:33 +0100 |
commit | 2df44ef167f084559dc3c19eb1660227f9bb564d (patch) | |
tree | 8f55566faae3c9dd1682c775cb65f705d697334c /package/busybox/patches/009-modutils.patch | |
parent | a66d31dbaf25149762431af40592d9e5ef3ee06b (diff) |
busybox: update to 1.26.0
Diffstat (limited to 'package/busybox/patches/009-modutils.patch')
-rw-r--r-- | package/busybox/patches/009-modutils.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/busybox/patches/009-modutils.patch b/package/busybox/patches/009-modutils.patch new file mode 100644 index 000000000..3d0dbf951 --- /dev/null +++ b/package/busybox/patches/009-modutils.patch @@ -0,0 +1,21 @@ +diff -Nur busybox-1.26.0.orig/modutils/modutils.c busybox-1.26.0/modutils/modutils.c +--- busybox-1.26.0.orig/modutils/modutils.c 2016-10-03 23:16:44.000000000 +0200 ++++ busybox-1.26.0/modutils/modutils.c 2016-12-23 06:15:16.694563841 +0100 +@@ -7,17 +7,12 @@ + */ + #include "modutils.h" + +-#ifdef __UCLIBC__ +-extern int init_module(void *module, unsigned long len, const char *options); +-extern int delete_module(const char *module, unsigned int flags); +-#else + # include <sys/syscall.h> + # define init_module(mod, len, opts) syscall(__NR_init_module, mod, len, opts) + # if defined(__NR_finit_module) + # define finit_module(fd, uargs, flags) syscall(__NR_finit_module, fd, uargs, flags) + # endif + # define delete_module(mod, flags) syscall(__NR_delete_module, mod, flags) +-#endif + + static module_entry *helper_get_module(module_db *db, const char *module, int create) + { |