<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/sysklogd, branch 1_00</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=1_00</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=1_00'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2004-10-08T07:46:08+00:00</updated>
<entry>
<title>egor duda writes:</title>
<updated>2004-10-08T07:46:08+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-10-08T07:46:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7daa076d3e24e84ce1f4e9b6133783816575c4c8'/>
<id>urn:sha1:7daa076d3e24e84ce1f4e9b6133783816575c4c8</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Patch by Felipe Kellermann, fix a bug introduced in the last patch by adding a condition around the remote logging, also adds some comments.</title>
<updated>2004-09-14T18:12:13+00:00</updated>
<author>
<name>Glenn L McGrath</name>
<email>bug1@ihug.co.nz</email>
</author>
<published>2004-09-14T18:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=73ebb889daf30980bddc3d3065ff10844c4624dc'/>
<id>urn:sha1:73ebb889daf30980bddc3d3065ff10844c4624dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Felipe Kellermann writes:</title>
<updated>2004-09-08T10:56:06+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-09-08T10:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f91b9282a3290c6e46d0ab532d7003f58d755cc5'/>
<id>urn:sha1:f91b9282a3290c6e46d0ab532d7003f58d755cc5</id>
<content type='text'>
The Togg's sysklogd patch to use sendto() on remote logging is formatting
strangely (using `&lt;' and '&gt;' 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 &lt;&lt;= 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.
</content>
</entry>
<entry>
<title>Tito writes:</title>
<updated>2004-09-02T22:22:17+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-09-02T22:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=192c35f6eb2bb85e28c697a45c7d80a43ec6e743'/>
<id>urn:sha1:192c35f6eb2bb85e28c697a45c7d80a43ec6e743</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Togg writes:</title>
<updated>2004-08-26T23:15:29+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-08-26T23:15:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=75813eea230ccf60ac8623ffb161c890c6f063c5'/>
<id>urn:sha1:75813eea230ccf60ac8623ffb161c890c6f063c5</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Tito writes:</title>
<updated>2004-08-26T22:18:59+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-08-26T22:18:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=52499cb9ae01a67187c65ea43a48140b147968cf'/>
<id>urn:sha1:52499cb9ae01a67187c65ea43a48140b147968cf</id>
<content type='text'>
Hi,
I've spent the half night staring at the devilish  my_getpwuid and my_getgrgid functions
trying to find out a way to avoid actual and future potential buffer overflow problems
without breaking existing code.
Finally I've  found a not intrusive way to do this that surely doesn't break existing code
and fixes a couple of problems too.
The attached patch:
1) changes the behaviour of my_getpwuid and my_getgrgid to avoid potetntial buffer overflows
2) fixes all occurences of this function calls in tar.c , id.c , ls.c, whoami.c, logger.c, libbb.h.
3) The behaviour of tar, ls and  logger is unchanged.
4) The behavior of ps with somewhat longer usernames messing up output is fixed.
5) The only bigger change was the increasing of size of the buffers in id.c to avoid
     false negatives (unknown user: xxxxxx) with usernames longer than 8 chars.
     The value i used ( 32 chars ) was taken from the tar header ( see gname and uname).
     Maybe this buffers can be reduced a bit  ( to 16 or whatever ), this is up to you.
6) The increase of size of the binary is not so dramatic:
     size busybox
       text    data     bss     dec     hex filename
     239568    2300   36816  278684   4409c busybox
    size busybox_fixed
       text    data     bss     dec     hex filename
     239616    2300   36816  278732   440cc busybox
7) The behaviour of whoami changed:
    actually it  prints out an username cut down to the size of the buffer.
    This could be fixed by increasing the size of the buffer as in id.c or
    avoid the use of my_getpwuid and use getpwuid directly instead.
    Maybe this colud be also remain unchanged......

Please apply if you think it is ok to do so.
The diff applies on today's cvs tarball (2004-08-25).
Thanks in advance,
Ciao,
Tito
</content>
</entry>
<entry>
<title>Part of patch from William Barsse, fixes a problem with unescaped %.</title>
<updated>2004-08-06T00:58:53+00:00</updated>
<author>
<name>Glenn L McGrath</name>
<email>bug1@ihug.co.nz</email>
</author>
<published>2004-08-06T00:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=12ed333714db59dacf056cda91f5d697e73949ba'/>
<id>urn:sha1:12ed333714db59dacf056cda91f5d697e73949ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reverse my previous change, "::" is a GNU getopt extension that allows</title>
<updated>2004-07-22T04:23:18+00:00</updated>
<author>
<name>Glenn L McGrath</name>
<email>bug1@ihug.co.nz</email>
</author>
<published>2004-07-22T04:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5529b7bb874396af53552cf12e3e354693350ba2'/>
<id>urn:sha1:5529b7bb874396af53552cf12e3e354693350ba2</id>
<content type='text'>
an optional argument.
Looks like a glibc bug to me
</content>
</entry>
<entry>
<title>Fix bug in accepting buffer size argument</title>
<updated>2004-07-21T13:06:30+00:00</updated>
<author>
<name>Glenn L McGrath</name>
<email>bug1@ihug.co.nz</email>
</author>
<published>2004-07-21T13:06:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e8f46515cb9626ad723ba7bf9809476047510804'/>
<id>urn:sha1:e8f46515cb9626ad723ba7bf9809476047510804</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not mess with the console logging level unless</title>
<updated>2004-06-25T11:23:03+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-06-25T11:23:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0373cf1396ad3c6906c7c4a12b90fb2685eda851'/>
<id>urn:sha1:0373cf1396ad3c6906c7c4a12b90fb2685eda851</id>
<content type='text'>
asked to do so.
 -Erik
</content>
</entry>
</feed>
