[31] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: with_krbafs broken

daemon@ATHENA.MIT.EDU (Mark W. Eichin)
Tue Jun 23 16:20:44 1998

From arla-drinkers-request@sundance.stacken.kth.se Tue Jun 23 20:20:43 1998
Return-Path: <arla-drinkers-request@sundance.stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 22932 invoked from network); 23 Jun 1998 20:20:40 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 23 Jun 1998 20:20:40 -0000
Received: from kitten.gen.ma.us (paycheck.thok.org [199.103.225.1])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with SMTP id WAA21894
	for <arla-drinkers@stacken.kth.se>; Tue, 23 Jun 1998 22:14:58 +0200 (MET DST)
Received: (qmail 21742 invoked by uid 3382); 23 Jun 1998 20:14:53 -0000
To: Magnus Ahltorp <map@stacken.kth.se>
Cc: Assar Westerlund <assar@sics.se>, arla-drinkers@stacken.kth.se
Subject: Re: with_krbafs broken
References: <E0yn3ba-0004cN-00@swat.thok.org> 	<5llnqqh8xf.fsf@dhcp219.conference.usenix.org> 	<xe1lnqoalzw.fsf@paycheck.thok.org> <lv1u35cxryi.fsf@yakko.stacken.kth.se>
From: eichin@kitten.gen.ma.us (Mark W. Eichin)
Date: 23 Jun 1998 16:14:52 -0400
In-Reply-To: Magnus Ahltorp's message of "23 Jun 1998 13:44:53 +0200"
Message-ID: <xe17m27ub7n.fsf@paycheck.thok.org>
Lines: 44
X-Mailer: Gnus v5.4.56/Emacs 19.34



> What platform are you using? On linux with glibc2, there is a
> problem. uid_t is 2 bytes in the kernel, and 4 bytes in userland.

This is a glibc 2.0.7 system (debian.)  Ohh, I see - you mean that
*arlad* is possibly inconsistent with *xfs*, rather than *xfs* being
inconsistent with the rest of the *kernel*.  Mmmmm, I'll take a look
at that...

Bingo.  % gdb messages.o
(gdb) ptype struct xfs_attr
type = struct xfs_attr {
    unsigned int valid;
    unsigned int xa_mode;  /* OOPS */
    unsigned int xa_nlink;  /* OOPS */
    long int xa_size;
    unsigned int xa_uid;  /* OOPS */
    unsigned int xa_gid;   /* OOPS */
    long int xa_atime;
    long int xa_mtime;
    long int xa_ctime;
    unsigned int xa_fileid;
    enum xfs_file_type xa_type;
}

vs % gdb xfs.o
(gdb) ptype struct xfs_attr
type = struct xfs_attr {
    unsigned int valid;
    short unsigned int xa_mode;
    short unsigned int xa_nlink;
    long int xa_size;
    short unsigned int xa_uid;
    short unsigned int xa_gid;
    long int xa_atime;
    long int xa_mtime;
    long int xa_ctime;
    unsigned int xa_fileid;
    enum xfs_file_type xa_type;
}

Ok, I'll try rebuilding *arlad* with those definitions nailed to the
right width and see how it goes.  Thanks for the clarification...

home help back first fref pref prev next nref lref last post