summaryrefslogtreecommitdiffhomepage
path: root/modutils/rmmod.c
AgeCommit message (Collapse)Author
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-09-17whitespace cleanupDenis Vlasenko
2006-08-28No real need for my_query_module() and this eliminates some type-punnedRob Landley
pointer warning on certain gcc versions (and saves 38 bytes).
2006-06-03- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early. - remove two supposedly superfluous newlines from ...error_msg() in modprobe and use shorter boilerplate while at it.
2006-05-19- single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer
- rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-01-25just whitespaceTim Riker
2005-12-11Patch from Yann E. Morin to make rmmod report failure properly.Rob Landley
2005-11-28use libbb/get_kernel_revision(), reduce stack usage, add loses -w -f option ↵"Vladimir N. Oleynik"
for getopt, convert to bb_getopt_ulflags(), reduce memory usage - xmalloc to bb_common_bufsiz1, size reduce over 200 bytes
2005-11-27Patch from Cristian Ionescu-Idbohrn to deal with _ vs - better.Rob Landley
2004-07-20Patch from Mike Snitzer <snitzer@gmail.com>:Robert Griebl
Please see the attached patch for the following crash with busybox' 2.6 rmmod support
2004-07-20Deal with the fact that 2.6.x kernels replace any '-'s in theEric Andersen
module name with a '_'. -Erik
2004-07-13Fixup some cases of "QM_MODULES: not implemented" for bothEric Andersen
lsmod and rmmod when using 2.6.x module support -Erik
2004-03-19As noted in a patch from Kendrick Hamilton, rmmod was onlyEric Andersen
half way converted, and still used the old delete_module(), call rather than a syscall, in one spot.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-12-24re-indentEric Andersen
2003-12-11Update modutils with 2.6 module supportEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-14rmmod -a removed modules recursivelyTim Riker
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-03-09Applied patch from Jeff Garzik to getopt-ify rmmod.Mark Whitley
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation forEric Andersen
a release. Update the website with release details. -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-07-28Fix from Arne Bernin for return code -- now reflects whether the rmmodEric Andersen
failed or not. -Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-11Forgot to commit these cleanups it seems.Eric Andersen
-Erik
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-21More Doc updates. cmdedit and more termio fixes.Erik Andersen
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
1999-12-17Minor fixes to rmmod. First pass at insmod (not yet working).Erik Andersen
-Erik
1999-12-17Fixed correctness of comment in rmmod.c - MKWMark Whitley
1999-12-16Wrote rmmod for busybox.Erik Andersen
-Erik