|
|
Sponsor |
Re: User authentication to services: msg#00005freedesktop.dbus
On Wed, Jun 02, 2004 at 06:59:32AM +0100, Rob Taylor wrote: > Ok. started implenting this and am pretty far in, but i have a problem > with uids in that dbus represents them internally as unsigned longs, and > if i expose these on dbus we'll have problems on mixed 32/64 > archictectures. I'm pretty certain that uid_t should be a 32 bit entitiy > on both IAP32 and LP64, and if anyone knows this for certain i'll patch > it up. If not, i've just subscribed to testdrive.hp.com so i'll just test > it myself. if uid_t is really 64 bits on LP64, i'll just cast up, but i > think this set of affairs would be pretty strange.. Indeed, on merkel.debian.org (an IA64): daniels-sbOth6YQF1c@xxxxxxxxxxxxxxxx:~% cat foo.c #include <stdio.h> #include <pwd.h> int main(int argc, char *argv[]) { printf("uid_t: %d, unsigned long: %d\n", sizeof(uid_t), sizeof(unsigned long)); return 0; } daniels-sbOth6YQF1c@xxxxxxxxxxxxxxxx:~% gcc -D_XOPEN_SOURCE -o foo foo.c daniels-sbOth6YQF1c@xxxxxxxxxxxxxxxx:~% ./foo uid_t: 4, unsigned long: 8 -- Daniel Stone <daniel-CC+yJ3UmIYoUP7JLjWt5Lw@xxxxxxxxxxxxxxxxxxxx> freedesktop.org: powering your desktop http://www.freedesktop.org
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: User authentication to services, Rob Taylor |
|---|---|
| Next by Date: | dbus-cvs failing on pyrex., Pat Suwalski |
| Previous by Thread: | Re: User authentication to services, Rob Taylor |
| Next by Thread: | Re: User authentication to services, Havoc Pennington |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|