On Fri, Dec 03, 2010 at 02:59:29AM +0300, Dmitry V. Levin wrote:
> On Wed, Dec 01, 2010 at 02:42:37PM +0100, Arkadiusz Miśkiewicz wrote:
> > Decode struct ucred (pid, uid, gid) for getsockopt() with SO_PEERCRED.
> [...]
> > +                                   tprintf("{pid=%lu, uid=%lu, gid=%lu}, "
> > +                                           "[%d]",
> > +                                           ucred.pid,
> > +                                           ucred.uid,
> > +                                           ucred.gid,
> > +                                           len);
> 
> I think all these integers are rather signed than unsigned.
> There is a code in this file already that decodes struct ucred,
> it treats all these struct fields as signed integers.

I've applied my edition of the patch to address this issue.


-- 
ldv

Attachment: pgp1EC74lk0vu.pgp
Description: PGP signature

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to