On Tue, Jul 10, 2007 at 03:14:11PM -0400, Jeff Johnson wrote:
> This ancient bug
>     https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=83006
> keeps resurfacing.
> 
> It's trivial to add to main()
>     mode_t mask = 002;

Uh, not 002 please, 022 is the standard. Make it configurable if you
really need to do something like that.

And while you're at it, don't forget to reset the environment and the
process limits (setrlimit). ;-)

Cheers,
  Michael.

-- 
Michael Schroeder                                   [EMAIL PROTECTED]
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to