Whamcloud - gitweb
LU-9243 gss: fix GSS struct definition badness
[fs/lustre-release.git] / lustre / include / uapi / linux / lustre / lgss.h
1 /*
2  * GPL HEADER START
3  *
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 only,
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License version 2 for more details (a copy is included
14  * in the LICENSE file that accompanied this code).
15  *
16  * You should have received a copy of the GNU General Public License
17  * version 2 along with this program; If not, see
18  * http://www.gnu.org/licenses/gpl-2.0.html
19  *
20  * GPL HEADER END
21  */
22 /*
23  * Copyright (c) 2022, Whamcloud.
24  */
25 /*
26  * This file is part of Lustre, http://www.lustre.org/
27  */
28
29 #ifndef _LGSS_H
30 #define _LGSS_H
31
32 #include <linux/types.h>
33
34 /*
35  * sparse kernel source annotations
36  */
37 #ifndef __user
38 #define __user
39 #endif
40
41 struct lgssd_ioctl_param {
42         /* in */
43         __u32 version;
44         __u32 secid;
45         char __user *uuid;
46         __u32 lustre_svc;
47         __kernel_uid_t uid;
48         __kernel_gid_t gid;
49         __u64 send_token_size;
50         char __user *send_token;
51         __u64 reply_buf_size;
52         char __user *reply_buf;
53         /* out */
54         __u64 status;
55         __u64 reply_length;
56 };
57
58 #endif