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

Tommi Virtanen tv at twistedmatrix.com
Tue Mar 11 08:16:04 MST 2003


On Wed, Mar 12, 2003 at 01:17:55AM +1100, Anthony Baxter wrote:
> Certainly on the operating systems that I can recall, your initgroups()
> is doing the same thing as the C level initgroups. But if the C level
> one is available, it seems more prudent to use it if it's there - gods
> only know what some weirdo systems do (shuddering to recall some of 
> DEC's "enhanced security" cruft in Ultrix and OSF/1...)

	Well, I think the effective point was that the C function
	isn't normally available. The only python-accessible was
	z3p's C module, which was v0.1 according to the Vault, but
	http://www.twistedmatrix.com/users/z3p.twistd/ doesn't seem
	to work.

	I feel the C module is so rare and so unlikely to provide
	extra value, it's very unlikely twisted will ever need it.
	My guess at its reason for existence is that z3p didn't know
	it equals my 6-liner.

-- 
:(){ :|:&};:




More information about the Twisted-Python mailing list