Date: Mon, 14 Oct 2002 11:34:06 +0400 From: "Vladimir B. Grebenschikov,Moscow,408-7227,123-4567,Some-info" <vova@express.ru> To: freebsd-arch@freebsd.org, freebsd-current@freebsd.org Subject: short uid/gid Message-ID: <E180zjq-000OrL-00@vbook.express.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E180zjq-000OrL-00>