<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/loginutils, 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>Only write to shadow file is shadow passwords are enabled. Patch by magicfox modified by myself to retain check for shadow file access.</title>
<updated>2004-09-15T02:39:09+00:00</updated>
<author>
<name>Glenn L McGrath</name>
<email>bug1@ihug.co.nz</email>
</author>
<published>2004-09-15T02:39:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=995d96a99d5f2d546d5e15b2614ae7408da27631'/>
<id>urn:sha1:995d96a99d5f2d546d5e15b2614ae7408da27631</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch from tito to add argument checking.</title>
<updated>2004-09-14T16:08:02+00:00</updated>
<author>
<name>Glenn L McGrath</name>
<email>bug1@ihug.co.nz</email>
</author>
<published>2004-09-14T16:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d2bd7d8dd5e277e7852c76003aeea592399e164b'/>
<id>urn:sha1:d2bd7d8dd5e277e7852c76003aeea592399e164b</id>
<content type='text'>
</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>Tito writes:</title>
<updated>2004-09-02T22:21:41+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-09-02T22:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7eb79fff10915afc4d561a65e54851efa869db89'/>
<id>urn:sha1:7eb79fff10915afc4d561a65e54851efa869db89</id>
<content type='text'>
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 &gt; 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 &lt; 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 &gt; 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 &lt; 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.......).
</content>
</entry>
<entry>
<title>Improve the setuid situation a bit, and make it more apparent</title>
<updated>2004-08-26T23:13:00+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-08-26T23:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=138791050d36d221d718568094892245d7c6f6ec'/>
<id>urn:sha1:138791050d36d221d718568094892245d7c6f6ec</id>
<content type='text'>
when people really ought to make busybox setuid root.
 -Erik
</content>
</entry>
<entry>
<title>Save a line or two</title>
<updated>2004-08-26T22:26:26+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-08-26T22:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=713d6e3dd3473e72fe72d42f3f7b8c07b5ed2616'/>
<id>urn:sha1:713d6e3dd3473e72fe72d42f3f7b8c07b5ed2616</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch from Manousaridis Angelos to cleanup stale file descriptors, it was preventing unmounting an initial filesystem.</title>
<updated>2004-08-25T02:02:19+00:00</updated>
<author>
<name>Glenn L McGrath</name>
<email>bug1@ihug.co.nz</email>
</author>
<published>2004-08-25T02:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b61941996224f3b9314973ef52b413dcc916f74d'/>
<id>urn:sha1:b61941996224f3b9314973ef52b413dcc916f74d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bertrand Baudet writes:</title>
<updated>2004-08-16T09:07:39+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-08-16T09:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=88e38ca2fba03379ef386aff287d871c062a2ae7'/>
<id>urn:sha1:88e38ca2fba03379ef386aff287d871c062a2ae7</id>
<content type='text'>
Looks like the -D and -H options of the adduser applet aren't handle
properly in BusyBox.

This patch fixes the masks definition for those options according to
there position in the optstring.

Patch against RC2 but should also apply cleanly against CVS.

Bertrand
</content>
</entry>
<entry>
<title>Umm.  Not guilty by reason of insanity.</title>
<updated>2004-07-30T17:39:08+00:00</updated>
<author>
<name>Eric Andersen</name>
<email>andersen@codepoet.org</email>
</author>
<published>2004-07-30T17:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b737b1a68bf8ab002bb314375ff33c651ee9cdaa'/>
<id>urn:sha1:b737b1a68bf8ab002bb314375ff33c651ee9cdaa</id>
<content type='text'>
 -Erik
</content>
</entry>
</feed>
