Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g0V0CDY28733 for linux-xfs-outgoing; Wed, 30 Jan 2002 16:12:13 -0800 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g0V0C8d28711 for ; Wed, 30 Jan 2002 16:12:08 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA15814 for ; Wed, 30 Jan 2002 15:07:42 -0800 (PST) mail_from (kaos@sgi.com) Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by nodin.corp.sgi.com (8.11.4/8.11.2/nodin-1.0) with ESMTP id g0UNB2827341730; Wed, 30 Jan 2002 15:11:03 -0800 (PST) Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 0992D3000B8; Thu, 31 Jan 2002 10:11:00 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id EF7898E; Thu, 31 Jan 2002 10:11:00 +1100 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: "David S. Miller" Cc: a.gruenbacher@computer.org, linux-xfs@oss.sgi.com Subject: Re: extended attributes interface In-reply-to: Your message of "Wed, 30 Jan 2002 14:46:47 -0800." <20020130.144647.21928212.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 31 Jan 2002 10:10:55 +1100 Message-ID: <5366.1012432255@kao2.melbourne.sgi.com> Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Status: O Content-Length: 1324 Lines: 27 On Wed, 30 Jan 2002 14:46:47 -0800 (PST), "David S. Miller" wrote: >All the values that go through these syscalls seem to be >opaque and filesystem specific. Therefore can I ask the filesystems >that use these things use fixed sized types such as "u32" "u16" et al. >instead of things such as "long" or "int"? Absolutely agree. >The reason I ask is, unless strict sized types are used it is going >to be a real pain in the ass to translate the types passed to these >system calls in mixed 32-bit/64-bit environments. This is thus going >to be a mess on sparc64, ppc64, mips64, ia64, and probably others I >have forgotten :-) Hopefully not for ia64. The ia32 compatibility mode syscall table is a subset of the i386 table, in particular new syscalls and Linux specific ones tend not to be in arch/ia64/ia32. ia32 mode on ia64 is not a long term compatibility aim, it is intended for running existing binaries that cannot be recompiled for native ia64 mode. I strongly recommend that the ACL syscalls are NOT added to arch/ia64/ia32. We have the source, compile the ACL programs in native ia64 mode. Sparc64 and mips64 are a problem as long as the kernel is 64 bit and userspace is 32 bit. I don't know if the kernel/userspace size mismatch applies to ppc64 as well or if it is more like ia64.