commit | 81f31e463bd982a8344ea8681938eb43c9114652 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Feb 18 16:24:02 2016 -0800 |
committer | Rob Landley <rob@landley.net> | Fri Feb 19 17:59:40 2016 -0600 |
tree | 3288839ae781d82a48283f284afd277828688f63 | |
parent | 5ec9f52a39c0f5a631cd60f12560698033eba7dc [diff] |
Implement "insmod -". 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).