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