summaryrefslogtreecommitdiff
path: root/src/shared/types.h
blob: 626e819c8857d0aec6e412b21e267a3ae1603879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include <stdint.h>

#ifdef __CHECKER__
#  define __user  __attribute__((noderef, address_space(__user)))
#  define __force __attribute__((force))
#else
#  define __user
#  define __force
#endif

typedef void __user * userptr_t;
typedef int handle_t;