aboutsummaryrefslogtreecommitdiffstats
path: root/toys/pending/modprobe.c
Commit message (Collapse)AuthorAgeFilesLines
* Redefining basename_r to mean something random seems popular (bionic and freebsdRob Landley2016-04-081-1/+1
| | | | both did it) so use getbasename instead.
* Replace toys.exithelp with help_exit() in lib.Rob Landley2015-09-111-2/+1
|
* modprobe: use -q to silenceIsaac Dunham2015-08-081-2/+3
|
* modprobe: use basename_r()Isaac Dunham2015-08-081-4/+2
|
* modprobe: delete perror_exit() that makes no senseIsaac Dunham2015-08-081-1/+0
| | | | | | Given modprobe -a, it's important to not exit early for a failure to load a module; additionally, the rest of the code presumes that this can fail without exiting.
* More static analysis fixes from Ashwini Sharma.Rob Landley2014-10-201-3/+9
|
* Patches to commands for issues reported from static analysis tool.Ashwini Sharma2014-08-121-1/+2
| | | | | | | portability.h.patch - it is for O_CLOEXEC, as compiler complained of it. Makefile.patch - for cleaning generated/*.o files and libopts.dat file [Fixup to uniq.c from Rob.]
* minor cleanup: move a global variable into GLOBALS(), inline strchr_null(), ↵Rob Landley2014-07-061-39/+30
| | | | some whitespace and bracket cleanups.
* modprobe: cleanup, incorporate Ashwini's fix for alias loadingIsaac Dunham2014-04-091-14/+9
| | | | | | | Move <fnmatch.h> to toys.h, since it's POSIX. Avoid duplicating code in an if/else block. Terser error messages, spelling. Don't always print the state.
* Modprobe from Madhur Verma and Kyungwan Han.Rob Landley2014-04-091-0/+575