home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-sh64 / ipcbuf.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  904 b   |  41 lines

  1. #ifndef __ASM_SH64_IPCBUF_H__
  2. #define __ASM_SH64_IPCBUF_H__
  3.  
  4. /*
  5.  * This file is subject to the terms and conditions of the GNU General Public
  6.  * License.  See the file "COPYING" in the main directory of this archive
  7.  * for more details.
  8.  *
  9.  * include/asm-sh64/ipcbuf.h
  10.  *
  11.  * Copyright (C) 2000, 2001  Paolo Alberelli
  12.  *
  13.  */
  14.  
  15. /*
  16.  * The ipc64_perm structure for i386 architecture.
  17.  * Note extra padding because this structure is passed back and forth
  18.  * between kernel and user space.
  19.  *
  20.  * Pad space is left for:
  21.  * - 32-bit mode_t and seq
  22.  * - 2 miscellaneous 32-bit values
  23.  */
  24.  
  25. struct ipc64_perm
  26. {
  27.     __kernel_key_t        key;
  28.     __kernel_uid32_t    uid;
  29.     __kernel_gid32_t    gid;
  30.     __kernel_uid32_t    cuid;
  31.     __kernel_gid32_t    cgid;
  32.     __kernel_mode_t        mode;
  33.     unsigned short        __pad1;
  34.     unsigned short        seq;
  35.     unsigned short        __pad2;
  36.     unsigned long        __unused1;
  37.     unsigned long        __unused2;
  38. };
  39.  
  40. #endif /* __ASM_SH64_IPCBUF_H__ */
  41.