unix package patch to add support for setting effective uid/gid

Eric Mertens emertens at galois.com
Mon May 17 12:50:12 EDT 2010


Hello,

I believe that it would be useful for the unix package to support
setting the effective user-id and group-id of a process. By setting the
effective id instead of the real id you can toggle between real and
set-user-id. It seems like a simple oversight that these functions have
been left out of the unix package.

I have attached the darcs patch for these function. This patch does not
explicitly bump the version number as I thought it might be integrated
with other patches before a new release (That could be wrong).

-- 
Eric Mertens <emertens at galois.com>
Galois, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: effective.patch
Type: text/x-patch
Size: 7724 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/libraries/attachments/20100517/a91cbd33/effective.bin


More information about the Libraries mailing list