[PATCH] su code clean up and new config option V.2

Rob Landley rob at landley.net
Mon Jul 10 03:06:12 UTC 2006


On Sunday 09 July 2006 1:28 pm, Tito wrote:
> On Sunday 9 July 2006 15:51, Tito wrote:
>  Hi,
>
>  this is an improved version of the previous patch:
> >1) removes an a lot of #ifdef's from su.c
> >2) adds a new config option to enable/disable syslogging in su
> >	(it now loggs successes and failures!!!)
>
> 3)  size is about the same as before with syslogging enabled.
> 4) fixes a potential issue with struct passwd *pw making old_user =
> opt_username  (new_user)

Applied, with further cleanups.

What's the issue with #4?

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list