aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* unmerged fixandersen2004-10-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bump versionandersen2004-10-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9335 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the supported architectures sectionandersen2004-10-081-7/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9334 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add an initial FAQandersen2004-10-082-0/+303
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix CONFIG_ASH_MATH_SUPPORT_64 so it actually worksandersen2004-10-081-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9331 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Claus Klein to increase, and make more apparentandersen2004-10-081-2/+4
| | | | | | | the hard coded limit on the number of mounts git-svn-id: svn://busybox.net/trunk/busybox@9330 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Wade Berrier writes:andersen2004-10-089-5/+260
| | | | | | | | | | | | | | | | | | | | | | Hello, Here's a patch for a first attempt at static leases for udhcpd. Included in the tarball are 2 files (static_leases.c, static_leases.h) and a patch against the latest cvs. In the config file you can configure static leases with the following format: static_lease 00:60:08:11:CE:4E 192.168.0.54 static_lease 00:60:08:11:CE:3E 192.168.0.44 Comments/suggestions/improvements are welcome. Wade git-svn-id: svn://busybox.net/trunk/busybox@9329 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko to fix a problem whereandersen2004-10-081-4/+8
| | | | | | | wget http://1.2.3.4/abc/ loses last '/' git-svn-id: svn://busybox.net/trunk/busybox@9328 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Hiroshi Ito writes:andersen2004-10-081-5/+31
| | | | | | | | | | | | | | | | | | | | | | | Hello, all. Busybox init does not handle removed inittab entry correctly. # I'm sorry about my poor english, but you can find # what I would like to say from patch, isn't it? even if you apply this path, when yoy try to change a command line option in inittab, you have to do following steps. 1. remove old line from initrd 2. send HUP signal to init 3. kill old proces which is invoked from init. 4. append new line to inittab 5. send HUP signal to init, again patch is against current CVS + last patch witch I send it last. git-svn-id: svn://busybox.net/trunk/busybox@9327 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Hiroshi Ito writes:andersen2004-10-081-4/+5
| | | | | | | | | | "kill -HUP 1" reloads inittab, and when I append one line to inittab and send HUP signal two times, It will starts 2 process. patch against current CVS is attached. git-svn-id: svn://busybox.net/trunk/busybox@9326 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Hiroshi Ito writes:andersen2004-10-081-0/+1
| | | | | | | | | | | ash "unset OLDPWD; cd -" causes segmentation fault. ( OLDPWD is not set when sh is invoked from getty. ) patch against current CVS is attached. git-svn-id: svn://busybox.net/trunk/busybox@9325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Hiroshi Ito writes:andersen2004-10-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Hello I'm using busy box on mipsel machine. "grep -f file" will cause segmentation fault. Vladimir N. Oleynik writes: Hiroshi, Thank for bug report, but your patch is full broken. Worked patch attached. (really changes is zero initialize, and indent correcting). --w vodz git-svn-id: svn://busybox.net/trunk/busybox@9324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito writes:andersen2004-10-082-14/+14
| | | | | | | | | | | | | | | | Hi to all, This patch contains just some fixes for some misleading comments in my_getpwuid.c and my_getug.c. The code is untouched so this patch will not cause troubles. Please apply. Thanks in advance and Ciao, Tito git-svn-id: svn://busybox.net/trunk/busybox@9323 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch139.gz from Vladimir N. Oleynik:andersen2004-10-081-31/+83
| | | | | | | | | | | | | | | | | >I also don't mean to disagree about leaving 30x status codes until after >1.0. In fact, although redirecting http://host/dir to http://host/dir/ >with a 301 is common practice (e.g. Apache, IIS), AFAIK it isn't >actually required (or mentioned) by the HTTP specs. Ok. Attached patch have 302 and 408 implemented features. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@9322 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As noticed by egor duda, current_menu is declared as 'extern struct menuandersen2004-10-081-1/+1
| | | | | | | | *current_menu;' in scripts/config/lkc.h line 63, and this conflicts with static definition in mconf.c. git-svn-id: svn://busybox.net/trunk/busybox@9321 69ca8d6d-28ef-0310-b511-8ec308f3f277
* egor duda writes:andersen2004-10-0866-241/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Michael Tokarev:andersen2004-10-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scenario: touch x -- creates plain file name `x' mkdir x -- exits successefully libbb/make_directory.c, bb_make_directory(), contains the following code: if (mkdir(path, 0777) < 0) { /* If we failed for any other reason than the directory * already exists, output a diagnostic and return -1.*/ if (errno != EEXIST) { fail_msg = "create"; umask(mask); break; } /* Since the directory exists, don't attempt to change * permissions if it was the full target. Note that * this is not an error conditon. */ if (!c) { umask(mask); return 0; } } The assumption that EEXIST error is due to that the *directory* already exists is wrong: any file type with that name will cause this error to be returned. Proper way IMHO will be is to stat() the path and check whenever this is really a directory. Below (attached) is a patch to fix this issue. git-svn-id: svn://busybox.net/trunk/busybox@9319 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make it more apparent that archive creation is not supportedandersen2004-10-071-6/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9309 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from William Barsse to fix a segfault when multiple files are specified.bug12004-09-301-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9287 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Dmitry Zakharov to fix a bug triggered by freeswan's scripts.bug12004-09-241-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9277 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Egor Dudabug12004-09-241-0/+5
| | | | | | | | | | | | | | | | Attached patch prevents modprobe from trying to call 'insmod (null)' whenever nonexistent module is either passed to modprobe via command line or mentioned in modules.dep this replaces cryptic error sh: Syntax error: word unexpected (expecting ")") with modprobe: module some-module not found. egor. git-svn-id: svn://busybox.net/trunk/busybox@9276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a typobug12004-09-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove this error message at Vodz request, it was misleading.bug12004-09-241-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9274 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from David Daney to make the -i option work with -l.bug12004-09-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9273 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A bit of extra explanation regarding STANDALONEandersen2004-09-241-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9272 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add some notes on how to make telnetd actually workandersen2004-09-231-2/+36
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9271 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a missing brace, patch by Hideki IWAMOTObug12004-09-151-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito writes,bug12004-09-156-108/+126
| | | | | | | | "This patch fixes all the bugs in id previously spotted by vodz and me. The binary size increased a bit, but now it should work as expected." git-svn-id: svn://busybox.net/trunk/busybox@9256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Only write to shadow file is shadow passwords are enabled. Patch by magicfox ↵bug12004-09-151-5/+4
| | | | | | modified by myself to retain check for shadow file access. git-svn-id: svn://busybox.net/trunk/busybox@9255 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Felipe Kellermann, use the common escape handling function and ↵bug12004-09-151-133/+21
| | | | | | remove some unused code. git-svn-id: svn://busybox.net/trunk/busybox@9254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove a cut/paste mistake, i better get some sleep.bug12004-09-141-20/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply patch from Felipe Kellermann to simlify logic of sort functions.bug12004-09-141-26/+24
| | | | | | | I reversed the result of the sort functions to make the big numbers go to the top. git-svn-id: svn://busybox.net/trunk/busybox@9252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Felipe Kellermann, fix a bug introduced in the last patch by adding ↵bug12004-09-141-15/+21
| | | | | | a condition around the remote logging, also adds some comments. git-svn-id: svn://busybox.net/trunk/busybox@9251 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵bug12004-09-145-19/+18
| | | | | | extra const's also. git-svn-id: svn://busybox.net/trunk/busybox@9250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Felipe Kellermann, adds missing applet usage options, removes usagebug12004-09-141-31/+51
| | | | | | | for options that are currently not implemented and fixes typos. git-svn-id: svn://busybox.net/trunk/busybox@9249 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from tito to add argument checking.bug12004-09-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9248 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I have to assume both Avaks and LSILogic are deliberatly ignoring me.bug12004-09-141-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9247 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup URLandersen2004-09-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9230 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Felipe Kellermann writes:andersen2004-09-081-29/+26
| | | | | | | | | | | | | | | | | | | | The Togg's sysklogd patch to use sendto() on remote logging is formatting strangely (using `<' and '>' surrounding the `msg' string message). This is OK, but this is not the standard way of formatting this message. So this patch does the following: o Fix the formatting to the standard way. o Uses `MAXLINE' when needed; o Don't loop sending messages without a "sleeping time", I'm now doing `now = 1', `now <<= 1'; o Don't die on `init_RemoteLog' when starting up (feature!) We're now trying to connect every time we have an invalid fd; o Removes one static uneeded variable. o Removes two automatic uneeded variables. git-svn-id: svn://busybox.net/trunk/busybox@9227 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patrick Huesmann noticed BusyBox would not link whenandersen2004-09-081-0/+2
| | | | | | | | | | | | | | | | | CONFIG_FEATURE_COMMAND_EDITING was defined *and* CONFIG_FEATURE_COMMAND_TAB_COMPLETION was undefined. Vladimir N. Oleynik writes: Its declare always, also if CONFIG_FEATURE_COMMAND_TAB_COMPLETION undefined. Patch to CVS version attached. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@9226 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jonas Holmberg from axis dot com writes:andersen2004-09-021-22/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes msh handle variable expansion within backticks more correctly. Current behaviour (wrong): -------------------------- BusyBox v1.00-rc3 (2004.08.26-11:51+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. $ A='`echo hello`' $ echo $A `echo hello` $ echo `echo $A` hello $ New behaviour (correct): ------------------------ BusyBox v1.00-rc3 (2004.08.26-11:51+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. $ A='`echo hello`' $ echo $A `echo hello` $ echo `echo $A` `echo hello` $ The current behaviour (wrong according to standards) was actually my fault. msh handles backticks by executing a subshell (which makes it work on MMU-less systems). Executing a subshell makes it hard to only expand variables once in the parent. Therefore I export all variables that will be expanded within the backticks and let the subshell handle the expansion instead. The bug was found while searching for security leaks in CGI-scripts. Current behaviour of msh makes it easy to expand backticks by mistake in $QUERY_STRING. I recommend appling the patch before release of bb 1.00. /Jonas git-svn-id: svn://busybox.net/trunk/busybox@9199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* No longer neededandersen2004-09-022-369/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9198 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Based on patches from Mike Frysinger, add insmod support forandersen2004-09-022-82/+91
| | | | | | | | | | | | sparc and ia64 (itanium). Also, reorganize the insmod architecture support code to be alphasorted and less messy. Update the readme to list current insmod arch support. git-svn-id: svn://busybox.net/trunk/busybox@9197 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito writes:andersen2004-09-023-9/+6
| | | | | | | | | | | | | The second patch contains: 1) a size optimization for adduser.c 2) removes a warning about an unused variable in syslogd.c if CONFIG_FEATURE_REMOTE_LOG is not set 3)cosmetic fixes for addgroup_full_usage and adduser_full_usage Ciao, Tito git-svn-id: svn://busybox.net/trunk/busybox@9195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito writes:andersen2004-09-027-80/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi Erik, Hi to all, This is part five of the my_get*id story. I've tweaked a bit this two functions to make them more flexible, but this changes will not affect existing code. Now they work so: 1) my_getpwuid( char *user, uid_t uid, int bufsize) if bufsize is > 0 char *user cannot be set to NULL on success username is written on static allocated buffer on failure uid as string is written to buffer and NULL is returned if bufsize is = 0 char *user can be set to NULL on success username is returned on failure NULL is returned if bufsize is < 0 char *user can be set to NULL on success username is returned on failure an error message is printed and the program exits 2) 1) my_getgrgid( char *group, uid_t uid, int bufsize) if bufsize is > 0 char *group cannot be set to NULL on success groupname is written on static allocated buffer on failure gid as string is written to buffer and NULL is returned if bufsize is = 0 char *group can be set to NULL on success groupname is returned on failure NULL is returned if bufsize is < 0 char *group can be set to nULL on success groupname is returned on failure an error message is printed and the program exits This changes were needed mainly for my new id applet. It is somewhat bigger then the previous but matches the behaviour of GNU id and is capable to handle usernames of whatever length. BTW: at a first look it seems to me that it will integrate well (with just a few changes) with the pending patch in patches/id_groups_alias.patch. The increase in size is balanced by the removal of my_getpwnamegid.c from libbb as this was used only in previous id applet and by size optimizations made possible in whoami.c and in passwd.c. I know that we are in feature freeze but I think that i've tested it enough (at least I hope so.......). git-svn-id: svn://busybox.net/trunk/busybox@9194 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup some warningsandersen2004-08-286-22/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9180 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Quiet a few warningsandersen2004-08-272-20/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9179 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Togg writes:andersen2004-08-261-28/+14
| | | | | | | | | | | | | | | | | Syslogd wont start if remote-logging is enabled and the connection to the remote-log server is not possible on syslogd startup. I found a patch somewhere which works like a charm. It uses sendto() which seems more reliable for this issue. Please see attached patch. Many people will be more happy with this included I think. Regards, Togg git-svn-id: svn://busybox.net/trunk/busybox@9171 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Improve the setuid situation a bit, and make it more apparentandersen2004-08-263-0/+29
| | | | | | | | when people really ought to make busybox setuid root. -Erik git-svn-id: svn://busybox.net/trunk/busybox@9170 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The login applet should always be setuid rootandersen2004-08-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9169 69ca8d6d-28ef-0310-b511-8ec308f3f277