1b819cea2SGordon Ross /*
2b819cea2SGordon Ross  * This file and its contents are supplied under the terms of the
3b819cea2SGordon Ross  * Common Development and Distribution License ("CDDL"), version 1.0.
4b819cea2SGordon Ross  * You may only use this file in accordance with the terms of version
5b819cea2SGordon Ross  * 1.0 of the CDDL.
6b819cea2SGordon Ross  *
7b819cea2SGordon Ross  * A full copy of the text of the CDDL should have accompanied this
8b819cea2SGordon Ross  * source.  A copy of the CDDL is also available via the Internet at
9b819cea2SGordon Ross  * http://www.illumos.org/license/CDDL.
10b819cea2SGordon Ross  */
11b819cea2SGordon Ross 
12b819cea2SGordon Ross /*
13b819cea2SGordon Ross  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
14b819cea2SGordon Ross  */
15b819cea2SGordon Ross 
16b819cea2SGordon Ross #ifndef _SYS_USER_H
17b819cea2SGordon Ross #define	_SYS_USER_H
18b819cea2SGordon Ross 
19b819cea2SGordon Ross /*
20b819cea2SGordon Ross  * libfakekernel version of sys/user.h
21b819cea2SGordon Ross  * typically pulled in by sys/file.h
22b819cea2SGordon Ross  */
23b819cea2SGordon Ross 
24b819cea2SGordon Ross #include <sys/types.h>
25b819cea2SGordon Ross #include <sys/signal.h>
26b819cea2SGordon Ross 
27b819cea2SGordon Ross #ifdef __cplusplus
28b819cea2SGordon Ross extern "C" {
29b819cea2SGordon Ross #endif
30b819cea2SGordon Ross 
31b819cea2SGordon Ross struct exdata;
32b819cea2SGordon Ross #if defined(_KERNEL) || defined(_FAKE_KERNEL) || defined(_KMEMUSER)
33b819cea2SGordon Ross typedef struct uf_info uf_info_t;
34*086d9687SPatrick Mooney typedef uint_t uf_entry_gen_t;
35b819cea2SGordon Ross #endif
36b819cea2SGordon Ross typedef struct user user_t;
37b819cea2SGordon Ross 
38b819cea2SGordon Ross #ifdef __cplusplus
39b819cea2SGordon Ross }
40b819cea2SGordon Ross #endif
41b819cea2SGordon Ross 
42b819cea2SGordon Ross #endif	/* _SYS_USER_H */
43