/* Old SysV permission definition for Linux.  x86_64 version.
   Copyright (C) 2016-2018 Free Software Foundation, Inc.
   This file is part of the GNU C Library.

   The GNU C Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.

   The GNU C Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, see
   <http://www.gnu.org/licenses/>.  */

#include <sys/ipc.h>  /* For __key_t  */

#define __IPC_64	0x0

struct __old_ipc_perm
{
  __key_t __key;		/* Key.  */
  unsigned short uid;		/* Owner's user ID.  */
  unsigned short gid;		/* Owner's group ID.  */
  unsigned short cuid;		/* Creator's user ID.  */
  unsigned short cgid;		/* Creator's group ID.  */
  unsigned short mode;		/* Read/write permission.  */
  unsigned short int __seq;	/* Sequence number.  */
};
