aboutsummaryrefslogtreecommitdiff
path: root/modutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* stop using __u32 etc. uint32_t is there for a reasonvda2006-12-311-9/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next bunch of fixes for bugs found by randconfigvda2006-12-301-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* done a dozen of randconfig test. guess what? ALL failed...vda2006-12-301-0/+1
| | | | | | | these are resulting fixes git-svn-id: svn://busybox.net/trunk/busybox@17105 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-12-262-2/+2
| | | | | | | last xcalloc replaced by xzalloc git-svn-id: svn://busybox.net/trunk/busybox@17081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove casts from xmalloc()vda2006-12-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 2vda2006-11-271-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 1vda2006-11-273-10/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* insmod: set STRVERSIONLEN = 64, convert #ifdef CONFIG to #if ENABLE,vda2006-11-211-115/+114
| | | | | | | stop using CONFIG_ prefix for non-config-system variables git-svn-id: svn://busybox.net/trunk/busybox@16607 69ca8d6d-28ef-0310-b511-8ec308f3f277
* insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close().vda2006-11-211-22/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rodata cleanup. "unable to" == "cannot". -300 bytesvda2006-11-181-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16580 69ca8d6d-28ef-0310-b511-8ec308f3f277
* recursive_action: add depth paramvda2006-10-271-3/+3
| | | | | | | chmod: match coreutils versus following links git-svn-id: svn://busybox.net/trunk/busybox@16462 69ca8d6d-28ef-0310-b511-8ec308f3f277
* modprobe: reformat to match bbox stylevda2006-10-271-291/+291
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last nail into error_msg() (de)capitalizationvda2006-10-271-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* silly size savings and capitalization fixesvda2006-10-261-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use skip_whitespace where appropriatevda2006-10-251-8/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16435 69ca8d6d-28ef-0310-b511-8ec308f3f277
* message string changes, mostly for consistency, also -32 bytes in .rodatavda2006-10-202-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16412 69ca8d6d-28ef-0310-b511-8ec308f3f277
* modprobe: fix for 2.4 kernels - byvda2006-10-141-1/+1
| | | | | | | Yann E. MORIN <yann.morin.1998@anciens.enib.fr> git-svn-id: svn://busybox.net/trunk/busybox@16378 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add open_read_close() and similar stuffvda2006-10-143-36/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-10-121-280/+271
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16373 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixes from Vladimir Dronnikov <dronnikov@gmail.ru>vda2006-10-101-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16358 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dnsd fix; option_mask32 added. dnsd needs more love.vda2006-10-061-9/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16316 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-054-86/+42
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-033-4/+4
| | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lsmod: repair indentationvda2006-09-301-31/+31
| | | | | | | httpd: ifdef CONFIG -> if ENABLE (shorted, catched typos) git-svn-id: svn://busybox.net/trunk/busybox@16276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another silly little byte saving. couldn't -> cannotvda2006-09-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* insmod: getopt_ulflags'isationvda2006-09-231-62/+40
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16198 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupvda2006-09-173-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xopen3(O_RDONLY) -> xopen(O_RDONLY).vda2006-09-091-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16082 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed a lot of trailing \n in bb_msg() calls. It is addedvda2006-09-061-1/+1
| | | | | | | | automatically by function itself. git-svn-id: svn://busybox.net/trunk/busybox@16059 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damagelandley2006-08-291-1/+1
| | | | | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit). git-svn-id: svn://busybox.net/trunk/busybox@16015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* No real need for my_query_module() and this eliminates some type-punnedlandley2006-08-282-46/+36
| | | | | | | pointer warning on certain gcc versions (and saves 38 bytes). git-svn-id: svn://busybox.net/trunk/busybox@16003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann Morin so modprobe won't return failure if the module getslandley2006-08-221-2/+11
| | | | | | | loaded while it's running (ala multi-device hotplug). git-svn-id: svn://busybox.net/trunk/busybox@15906 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer pointed out some leftover debris needing cleanup.landley2006-08-151-12/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15801 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another whack at scripts/individual. Now builds 212 applets.landley2006-08-091-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to make a "type-punned pointer" warning go away for somebody on thelandley2006-08-031-3/+2
| | | | | | | buildroot list. git-svn-id: svn://busybox.net/trunk/busybox@15773 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove xcalloc() and convert its callers to xzalloc(). About half of themlandley2006-08-032-3/+3
| | | | | | | | were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack. git-svn-id: svn://busybox.net/trunk/busybox@15771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These should have been part of 15767 too.landley2006-08-031-20/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-032-65/+24
| | | | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somebody on the buildroot list hit:landley2006-07-251-4/+0
| | | | | | | insmod.c:515:10: extra tokens at end of #ident directive git-svn-id: svn://busybox.net/trunk/busybox@15743 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann Morin to fix bug 941, underscores in module aliases.landley2006-07-202-3/+45
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann Morin to look for modules.conf in the right place on 2.6.landley2006-07-191-15/+23
| | | | | | | | Fixes http://bugs.busybox.net/view.php?id=942 git-svn-id: svn://busybox.net/trunk/busybox@15727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jean Wolter writes: modprobe checks, whether a module is already loaded. The ↵vapier2006-06-211-1/+1
| | | | | | function used for this currently always returns 0. git-svn-id: svn://busybox.net/trunk/busybox@15474 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Attempt at fixing bug 836, vaguely based on patch from somebody namedlandley2006-06-141-16/+29
| | | | | | | clausmuus, forwarded to me by Yann E. Morin. git-svn-id: svn://busybox.net/trunk/busybox@15382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Attempt at fixing bug 815 by upgrading bb_spawn() so that builtins are atlandley2006-06-141-21/+2
| | | | | | | | | | | the start of the path. (This should be under the same config option as the standalone shell, but right now that's buried in the shell menu.) Also add the ability to specify CONFIG_BUSYBOX_EXEC_PATH with /proc/self/exe as an overrideable default. git-svn-id: svn://busybox.net/trunk/busybox@15380 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import support for microblaze relocations from uClinux-distvapier2006-06-061-0/+59
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15297 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix from uClinux-dist for proper exit status if reading /proc/modules failedvapier2006-06-061-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15295 69ca8d6d-28ef-0310-b511-8ec308f3f277
* merge blackfin/microblaze from uClinux-distvapier2006-06-061-0/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15294 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-034-35/+9
| | | | | | | | | and eventual platform specific includes in early. - remove two supposedly superfluous newlines from ...error_msg() in modprobe and use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@15272 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Yann E. Morin: makes modprobe understand shell patternsaldot2006-06-031-2/+7
| | | | | | | | | | | | | | (especially '*') in module aliases, such as: "alias usb:v0582p0075d*dc*dsc*dp*ic*isc*ip* snd_usb_audio" Fixes bug #889 842162 10244 645924 1498330 16dcda busybox.old-4.1.20060603-1948 842178 10244 645924 1498346 16dcea busybox.new-4.1.20060603-1948 git-svn-id: svn://busybox.net/trunk/busybox@15271 69ca8d6d-28ef-0310-b511-8ec308f3f277