Bug 6783 - PolicyKit doesn't build on solaris due to different getpwuid_r prototype
Summary: PolicyKit doesn't build on solaris due to different getpwuid_r prototype
Status: RESOLVED INVALID
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: SPARC Solaris
: high normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL: http://jhbuild.bxlug.be/builds/2006-0...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-30 00:21 UTC by James Andrewartha
Modified: 2009-10-21 10:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description James Andrewartha 2006-04-30 00:21:19 UTC
getpwuid_r on Solaris takes one less argument than on linux:

     struct passwd *getpwuid_r(uid_t  uid,  struct  passwd  *pwd, char *buffer,
int  buflen);

http://www.cs.duke.edu/cgi-bin/man2.cgi?getpwnam+3C is the Solaris 10 manpage
for it, it seems all that's different is a pointer to the struct passwd *pwd is
not returned.
Comment 1 David Zeuthen (not reading bugmail) 2009-10-21 10:27:56 UTC
This bug report is for the old version of PolicyKit. Closing as all of the code has been rewritten. Please reopen if the bug report applies to the latest version of PolicyKit. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.