From owner-freebsd-current Wed Oct 16 23: 8:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96B4D37B401; Wed, 16 Oct 2002 23:08:25 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F10443E8A; Wed, 16 Oct 2002 23:08:25 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0045.cvx22-bradley.dialup.earthlink.net ([209.179.198.45] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1823pW-0005qI-00; Wed, 16 Oct 2002 23:08:23 -0700 Message-ID: <3DAE538D.848550B9@mindspring.com> Date: Wed, 16 Oct 2002 23:07:09 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Danny J. Zerkel" Cc: Robert Watson , Maxim Sobolev , "Vladimir B. Grebenschikov,Moscow,408-7227,123-4567,Some-info" , freebsd-arch@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: short uid/gid References: <200210162344.22969.dzerkel@columbus.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Danny J. Zerkel" wrote: > To quote the POSIX standard: > > The ipc_perm structure shall contain the following members: > > uid_t uid Owner's user ID. > gid_t gid Owner's group ID. > uid_t cuid Creator's user ID. > gid_t cgid Creator's group ID. > mode_t mode Read/write permission. > > I don't think size is an issue. At least not within a given machine. > I think OpenBSD and NetBSD have already taken the correct path. > We just need to have a compatibility interface (automatic extra > flag: pretty cheap; or alternate syscalls: probably a waste). If our only goal were POSIX compliance, you are correct. Since we also want to maintain binary compatability with third party software, that's not enough. You also have to look at interfaces published in FreeBSD documentation, or by reference in FreeBSD or POSIX documentation. Such as the contents of the ipc_perm structure, as declared, rather than by way of an enumeration of required fields. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message