From owner-freebsd-arch Mon Oct 14 0:34: 9 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F2CC37B401; Mon, 14 Oct 2002 00:34:08 -0700 (PDT) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F51743EB2; Mon, 14 Oct 2002 00:34:08 -0700 (PDT) (envelope-from vova@express.ru) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 180zjq-000OrL-00; Mon, 14 Oct 2002 11:34:06 +0400 To: freebsd-arch@freebsd.org, freebsd-current@freebsd.org Subject: short uid/gid Message-Id: From: "Vladimir B. Grebenschikov,Moscow,408-7227,123-4567,Some-info" Date: Mon, 14 Oct 2002 11:34:06 +0400 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I have found that SysVIPC functions uses structure with short uid/gid types. What is valid solution ? Change types to uid_t/gid_t (but this will broke binary compatibility) Change syscalls to old_* and add new with "right" structures, or something else ? struct ipc_perm { ushort cuid; /* creator user id */ ushort cgid; /* creator group id */ ushort uid; /* user id */ ushort gid; /* group id */ ushort mode; /* r/w permission */ ushort seq; /* sequence # (to generate unique msg/sem/shm id) */ key_t key; /* user specified msg/sem/shm key */ }; -- Vladimir B. Grebenschikov vova@sw.ru, SWsoft, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message