valgrind-monitor.py regular expressions should use raw strings
[valgrind.git] / include / vki / vki-posixtypes-amd64-linux.h
blob60bcd080f34bd26337327c1853db695df6ce41af
2 /*--------------------------------------------------------------------*/
3 /*--- AMD64/Linux-specific kernel interface: posix types. ---*/
4 /*--- vki-posixtypes-amd64-linux.h ---*/
5 /*--------------------------------------------------------------------*/
7 /*
8 This file is part of Valgrind, a dynamic binary instrumentation
9 framework.
11 Copyright (C) 2000-2017 Julian Seward
12 jseward@acm.org
14 This program is free software; you can redistribute it and/or
15 modify it under the terms of the GNU General Public License as
16 published by the Free Software Foundation; either version 2 of the
17 License, or (at your option) any later version.
19 This program is distributed in the hope that it will be useful, but
20 WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 General Public License for more details.
24 You should have received a copy of the GNU General Public License
25 along with this program; if not, see <http://www.gnu.org/licenses/>.
27 The GNU General Public License is contained in the file COPYING.
30 #ifndef __VKI_POSIXTYPES_AMD64_LINUX_H
31 #define __VKI_POSIXTYPES_AMD64_LINUX_H
33 //----------------------------------------------------------------------
34 // From linux-2.6.9/include/asm-x86_64/posix_types.h
35 //----------------------------------------------------------------------
37 typedef unsigned int __vki_kernel_mode_t;
38 typedef long __vki_kernel_off_t;
39 typedef int __vki_kernel_pid_t;
40 typedef int __vki_kernel_ipc_pid_t;
41 typedef unsigned int __vki_kernel_uid_t;
42 typedef unsigned int __vki_kernel_gid_t;
43 typedef unsigned long __vki_kernel_size_t;
44 typedef long __vki_kernel_time_t;
45 typedef long __vki_kernel_suseconds_t;
46 typedef long __vki_kernel_clock_t;
47 typedef int __vki_kernel_timer_t;
48 typedef int __vki_kernel_clockid_t;
49 typedef char * __vki_kernel_caddr_t;
51 typedef long long __vki_kernel_loff_t;
53 typedef struct {
54 int val[2];
55 } __vki_kernel_fsid_t;
57 typedef unsigned short __vki_kernel_old_uid_t;
58 typedef unsigned short __vki_kernel_old_gid_t;
59 typedef __vki_kernel_uid_t __vki_kernel_uid32_t;
60 typedef __vki_kernel_gid_t __vki_kernel_gid32_t;
62 #endif // __VKI_POSIXTYPES_AMD64_LINUX_H
64 /*--------------------------------------------------------------------*/
65 /*--- end ---*/
66 /*--------------------------------------------------------------------*/