Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:24

0001 
0002 /*--------------------------------------------------------------------*/
0003 /*--- AMD64/Linux-specific kernel interface: posix types.          ---*/
0004 /*---                                 vki-posixtypes-amd64-linux.h ---*/
0005 /*--------------------------------------------------------------------*/
0006 
0007 /*
0008    This file is part of Valgrind, a dynamic binary instrumentation
0009    framework.
0010 
0011    Copyright (C) 2000-2017 Julian Seward 
0012       jseward@acm.org
0013 
0014    This program is free software; you can redistribute it and/or
0015    modify it under the terms of the GNU General Public License as
0016    published by the Free Software Foundation; either version 2 of the
0017    License, or (at your option) any later version.
0018 
0019    This program is distributed in the hope that it will be useful, but
0020    WITHOUT ANY WARRANTY; without even the implied warranty of
0021    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0022    General Public License for more details.
0023 
0024    You should have received a copy of the GNU General Public License
0025    along with this program; if not, see <http://www.gnu.org/licenses/>.
0026 
0027    The GNU General Public License is contained in the file COPYING.
0028 */
0029 
0030 #ifndef __VKI_POSIXTYPES_AMD64_LINUX_H
0031 #define __VKI_POSIXTYPES_AMD64_LINUX_H
0032 
0033 //----------------------------------------------------------------------
0034 // From linux-2.6.9/include/asm-x86_64/posix_types.h
0035 //----------------------------------------------------------------------
0036 
0037 typedef unsigned int    __vki_kernel_mode_t;
0038 typedef long        __vki_kernel_off_t;
0039 typedef int     __vki_kernel_pid_t;
0040 typedef int     __vki_kernel_ipc_pid_t;
0041 typedef unsigned int    __vki_kernel_uid_t;
0042 typedef unsigned int    __vki_kernel_gid_t;
0043 typedef unsigned long   __vki_kernel_size_t;
0044 typedef long        __vki_kernel_time_t;
0045 typedef long        __vki_kernel_suseconds_t;
0046 typedef long        __vki_kernel_clock_t;
0047 typedef int     __vki_kernel_timer_t;
0048 typedef int     __vki_kernel_clockid_t;
0049 typedef char *      __vki_kernel_caddr_t;
0050 
0051 typedef long long   __vki_kernel_loff_t;
0052 
0053 typedef struct {
0054     int val[2];
0055 } __vki_kernel_fsid_t;
0056 
0057 typedef unsigned short __vki_kernel_old_uid_t;
0058 typedef unsigned short __vki_kernel_old_gid_t;
0059 typedef __vki_kernel_uid_t __vki_kernel_uid32_t;
0060 typedef __vki_kernel_gid_t __vki_kernel_gid32_t;
0061 
0062 #endif // __VKI_POSIXTYPES_AMD64_LINUX_H
0063 
0064 /*--------------------------------------------------------------------*/
0065 /*--- end                                                          ---*/
0066 /*--------------------------------------------------------------------*/