1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef __UAPI_VBOX_ERR_H__
20 #define __UAPI_VBOX_ERR_H__
21 #define VINF_SUCCESS 0
22 #define VERR_GENERAL_FAILURE (- 1)
23 #define VERR_INVALID_PARAMETER (- 2)
24 #define VERR_INVALID_MAGIC (- 3)
25 #define VERR_INVALID_HANDLE (- 4)
26 #define VERR_LOCK_FAILED (- 5)
27 #define VERR_INVALID_POINTER (- 6)
28 #define VERR_IDT_FAILED (- 7)
29 #define VERR_NO_MEMORY (- 8)
30 #define VERR_ALREADY_LOADED (- 9)
31 #define VERR_PERMISSION_DENIED (- 10)
32 #define VERR_VERSION_MISMATCH (- 11)
33 #define VERR_NOT_IMPLEMENTED (- 12)
34 #define VERR_INVALID_FLAGS (- 13)
35 #define VERR_NOT_EQUAL (- 18)
36 #define VERR_NOT_SYMLINK (- 19)
37 #define VERR_NO_TMP_MEMORY (- 20)
38 #define VERR_INVALID_FMODE (- 21)
39 #define VERR_WRONG_ORDER (- 22)
40 #define VERR_NO_TLS_FOR_SELF (- 23)
41 #define VERR_FAILED_TO_SET_SELF_TLS (- 24)
42 #define VERR_NO_CONT_MEMORY (- 26)
43 #define VERR_NO_PAGE_MEMORY (- 27)
44 #define VERR_THREAD_IS_DEAD (- 29)
45 #define VERR_THREAD_NOT_WAITABLE (- 30)
46 #define VERR_PAGE_TABLE_NOT_PRESENT (- 31)
47 #define VERR_INVALID_CONTEXT (- 32)
48 #define VERR_TIMER_BUSY (- 33)
49 #define VERR_ADDRESS_CONFLICT (- 34)
50 #define VERR_UNRESOLVED_ERROR (- 35)
51 #define VERR_INVALID_FUNCTION (- 36)
52 #define VERR_NOT_SUPPORTED (- 37)
53 #define VERR_ACCESS_DENIED (- 38)
54 #define VERR_INTERRUPTED (- 39)
55 #define VERR_TIMEOUT (- 40)
56 #define VERR_BUFFER_OVERFLOW (- 41)
57 #define VERR_TOO_MUCH_DATA (- 42)
58 #define VERR_MAX_THRDS_REACHED (- 43)
59 #define VERR_MAX_PROCS_REACHED (- 44)
60 #define VERR_SIGNAL_REFUSED (- 45)
61 #define VERR_SIGNAL_PENDING (- 46)
62 #define VERR_SIGNAL_INVALID (- 47)
63 #define VERR_STATE_CHANGED (- 48)
64 #define VERR_INVALID_UUID_FORMAT (- 49)
65 #define VERR_PROCESS_NOT_FOUND (- 50)
66 #define VERR_PROCESS_RUNNING (- 51)
67 #define VERR_TRY_AGAIN (- 52)
68 #define VERR_PARSE_ERROR (- 53)
69 #define VERR_OUT_OF_RANGE (- 54)
70 #define VERR_NUMBER_TOO_BIG (- 55)
71 #define VERR_NO_DIGITS (- 56)
72 #define VERR_NEGATIVE_UNSIGNED (- 57)
73 #define VERR_NO_TRANSLATION (- 58)
74 #define VERR_NOT_FOUND (- 78)
75 #define VERR_INVALID_STATE (- 79)
76 #define VERR_OUT_OF_RESOURCES (- 80)
77 #define VERR_FILE_NOT_FOUND (- 102)
78 #define VERR_PATH_NOT_FOUND (- 103)
79 #define VERR_INVALID_NAME (- 104)
80 #define VERR_ALREADY_EXISTS (- 105)
81 #define VERR_TOO_MANY_OPEN_FILES (- 106)
82 #define VERR_SEEK (- 107)
83 #define VERR_NEGATIVE_SEEK (- 108)
84 #define VERR_SEEK_ON_DEVICE (- 109)
85 #define VERR_EOF (- 110)
86 #define VERR_READ_ERROR (- 111)
87 #define VERR_WRITE_ERROR (- 112)
88 #define VERR_WRITE_PROTECT (- 113)
89 #define VERR_SHARING_VIOLATION (- 114)
90 #define VERR_FILE_LOCK_FAILED (- 115)
91 #define VERR_FILE_LOCK_VIOLATION (- 116)
92 #define VERR_CANT_CREATE (- 117)
93 #define VERR_CANT_DELETE_DIRECTORY (- 118)
94 #define VERR_NOT_SAME_DEVICE (- 119)
95 #define VERR_FILENAME_TOO_LONG (- 120)
96 #define VERR_MEDIA_NOT_PRESENT (- 121)
97 #define VERR_MEDIA_NOT_RECOGNIZED (- 122)
98 #define VERR_FILE_NOT_LOCKED (- 123)
99 #define VERR_FILE_LOCK_LOST (- 124)
100 #define VERR_DIR_NOT_EMPTY (- 125)
101 #define VERR_NOT_A_DIRECTORY (- 126)
102 #define VERR_IS_A_DIRECTORY (- 127)
103 #define VERR_FILE_TOO_BIG (- 128)
104 #define VERR_NET_IO_ERROR (- 400)
105 #define VERR_NET_OUT_OF_RESOURCES (- 401)
106 #define VERR_NET_HOST_NOT_FOUND (- 402)
107 #define VERR_NET_PATH_NOT_FOUND (- 403)
108 #define VERR_NET_PRINT_ERROR (- 404)
109 #define VERR_NET_NO_NETWORK (- 405)
110 #define VERR_NET_NOT_UNIQUE_NAME (- 406)
111 #define VERR_NET_IN_PROGRESS (- 436)
112 #define VERR_NET_ALREADY_IN_PROGRESS (- 437)
113 #define VERR_NET_NOT_SOCKET (- 438)
114 #define VERR_NET_DEST_ADDRESS_REQUIRED (- 439)
115 #define VERR_NET_MSG_SIZE (- 440)
116 #define VERR_NET_PROTOCOL_TYPE (- 441)
117 #define VERR_NET_PROTOCOL_NOT_AVAILABLE (- 442)
118 #define VERR_NET_PROTOCOL_NOT_SUPPORTED (- 443)
119 #define VERR_NET_SOCKET_TYPE_NOT_SUPPORTED (- 444)
120 #define VERR_NET_OPERATION_NOT_SUPPORTED (- 445)
121 #define VERR_NET_PROTOCOL_FAMILY_NOT_SUPPORTED (- 446)
122 #define VERR_NET_ADDRESS_FAMILY_NOT_SUPPORTED (- 447)
123 #define VERR_NET_ADDRESS_IN_USE (- 448)
124 #define VERR_NET_ADDRESS_NOT_AVAILABLE (- 449)
125 #define VERR_NET_DOWN (- 450)
126 #define VERR_NET_UNREACHABLE (- 451)
127 #define VERR_NET_CONNECTION_RESET (- 452)
128 #define VERR_NET_CONNECTION_ABORTED (- 453)
129 #define VERR_NET_CONNECTION_RESET_BY_PEER (- 454)
130 #define VERR_NET_NO_BUFFER_SPACE (- 455)
131 #define VERR_NET_ALREADY_CONNECTED (- 456)
132 #define VERR_NET_NOT_CONNECTED (- 457)
133 #define VERR_NET_SHUTDOWN (- 458)
134 #define VERR_NET_TOO_MANY_REFERENCES (- 459)
135 #define VERR_NET_CONNECTION_TIMED_OUT (- 460)
136 #define VERR_NET_CONNECTION_REFUSED (- 461)
137 #define VERR_NET_HOST_DOWN (- 464)
138 #define VERR_NET_HOST_UNREACHABLE (- 465)
139 #define VERR_NET_PROTOCOL_ERROR (- 466)
140 #define VERR_NET_INCOMPLETE_TX_PACKET (- 467)
141 #define VERR_RESOURCE_BUSY (- 138)
142 #define VERR_DISK_FULL (- 152)
143 #define VERR_TOO_MANY_SYMLINKS (- 156)
144 #define VERR_NO_MORE_FILES (- 201)
145 #define VERR_INTERNAL_ERROR (- 225)
146 #define VERR_INTERNAL_ERROR_2 (- 226)
147 #define VERR_INTERNAL_ERROR_3 (- 227)
148 #define VERR_INTERNAL_ERROR_4 (- 228)
149 #define VERR_DEV_IO_ERROR (- 250)
150 #define VERR_IO_BAD_LENGTH (- 255)
151 #define VERR_BROKEN_PIPE (- 301)
152 #define VERR_NO_DATA (- 304)
153 #define VERR_SEM_DESTROYED (- 363)
154 #define VERR_DEADLOCK (- 365)
155 #define VERR_BAD_EXE_FORMAT (- 608)
156 #define VINF_HGCM_ASYNC_EXECUTE (2903)
157 #endif
158