1/*
2 * BK Id: SCCS/s.ipcbuf.h 1.5 05/17/01 18:14:24 cort
3 */
4#ifndef __PPC_IPCBUF_H__
5#define __PPC_IPCBUF_H__
6
7/*
8 * The ipc64_perm structure for PPC architecture.
9 * Note extra padding because this structure is passed back and forth
10 * between kernel and user space.
11 *
12 * Pad space is left for:
13 * - 1 32-bit value to fill up for 8-byte alignment
14 * - 2 miscellaneous 64-bit values (so that this structure matches
15 *                                  PPC64 ipc64_perm)
16 */
17
18struct ipc64_perm
19{
20	__kernel_key_t		key;
21	__kernel_uid_t		uid;
22	__kernel_gid_t		gid;
23	__kernel_uid_t		cuid;
24	__kernel_gid_t		cgid;
25	__kernel_mode_t		mode;
26	unsigned long		seq;
27	unsigned int		__pad2;
28	unsigned long long	__unused1;
29	unsigned long long	__unused2;
30};
31
32#endif /* __PPC_IPCBUF_H__ */
33