[Mono-list] Mono.Posix.Syscall.getpwnam patch

Loren Bandiera lorenb@mmgsecurity.com
Tue, 14 Sep 2004 19:39:06 -0400


--=-HrhKWmqI0fMhhlB62/3n
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


Here is my updated getpwnam patch.  Changed from the last version:

* Name changed from passwd() to getpwnam()
* Passwd structure changed:
	* Gecos -> Name
	* HomeDirectory -> Home

* Changed syscall from getpwnam() to getpwnam_r()
* Return a meaningful error code
* Included Changelog

I think that covered all the comments/suggestions.

-- 
Loren Bandiera, CISSP <lorenb@mmgsecurity.com>
MMG Security, Inc.

--=-HrhKWmqI0fMhhlB62/3n
Content-Disposition: attachment; filename=mono-posix-getpwnam.tgz
Content-Type: application/x-compressed-tar; name=mono-posix-getpwnam.tgz
Content-Transfer-Encoding: base64

H4sICI5/R0EAA2ZyLjEyOTQ1LjEubW9uby1wb3NpeC1nZXRwd25hbS50YXIA7VdtT+NGEOar8yum
fKgSHAfbcRISLqdwXAVUgKJGfDqdkLE3iYXf5JcLqOK/d/bF9gYIp+poT612pNie2dnZmdnZnSdR
EidGmuTBg7EiRbqJ3aiXuoW33ns/MpGGjkPf1mhgMt7iPP8cjfYs07Kt4Wg0sAd7pjUcmMM9MN/R
h51U5oWbAeyFSUbiu7f0SJa/YUcEU7//I3QR++RhApHrZUne81rTH6fWH6cLWAYhmcBhhOXFH3mZ
pklWHFYrdb+1MlJkAfkWxCvI8JUHSQxWr9/yg+USjBKMDLnGNcMwakazh3DlPoJtmg4+JmZ/0rfA
oJnXqAld1xtdy4EFSYVuf4Lq/SOu25rNwBgPun3Q6dOG2awFWrCENoHpFK5vLi876FtRZjFjjnFU
sHmR+WWKisZH/xZPDeng4FNLb+lBXMCahCnJbq8w8ts5PV231emCtrfGgjug9USndVu6xiUHrucl
ZVxIktTN802S+VREzR6UQfO94t9C9ZmtdbLF5uhQiGwH/qQuauh96RXA7PuQbrpwkG7S42rCXbn8
4pjj4ddjsRgGfcwm4gdMoQrmNoN2HQj8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