[Twisted-Python] t.i.process uid/gid suckiness

Glyph Lefkowitz glyph at twistedmatrix.com
Wed Mar 12 02:39:42 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tuesday, March 11, 2003, at 07:25 AM, Tommi Virtanen wrote:

> 	The handling of uid/gid changes and SIGCHLD all around twisted
> 	are in an appalling state. I've tried to bitch at the right
> 	people, but that hasn't helped, so I'm taking the more
> 	heavyhanded approach of just fixing stuff. Let the code talk.

Thanks for taking a commanding lead on this :-).

The appropriate people are all pretty busy right now, and I would guess 
that their unix-fu is weaker than yours.  (I'd certainly guess *mine* 
is.)  The 'generic' process-running code in twisted currently doesn't 
work at all on Windows, except under cygwin, which should behave more 
or less like Linux, so just don't make any other code depend on 
unix-only imports.  win32eventreactor should not be affected to any 
changes here :-).

Your list of proposed changes looks good, and I have been bothered by 
the lack of formal correctness of this code for a while.  When you're 
done, please let us know if there are any further changes that you 
think need to be made; I'd like Twisted to be as safe as possible to be 
left suid.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+buRCvVGR4uSOE2wRAuXMAKCv88CH3ZUSXUzqmYZ1Zhu4DUqaOwCdFeR0
J6PYUrzoqtIlD242KnZFG28=
=l5xQ
-----END PGP SIGNATURE-----





More information about the Twisted-Python mailing list