[Toybox] [PATCH] Implement "insmod -".
enh
enh at google.com
Thu Feb 18 16:30:03 PST 2016
Also use finit_module if available. Given that "insmod -" requires
init_module, maybe this isn't a worthwhile optimization. Given that
"insmod /actual/file.ko" is the common use case, maybe it is.
Fix a bug in readfileat where *plen would be corrupted if you didn't supply
your own buffer (because ibuf is 0 in that case, not a pointer to the start
of the allocated space).
---
lib/lib.c | 4 ++--
toys/other/insmod.c | 32 ++++++++++++++++++--------------
2 files changed, 20 insertions(+), 16 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-insmod.patch
Type: text/x-patch
Size: 2848 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160218/75233915/attachment.bin>
More information about the Toybox
mailing list