File tree Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 37
37
#include <linux/kcsan.h>
38
38
#include <linux/rv.h>
39
39
#include <linux/livepatch_sched.h>
40
+ #include <linux/uidgid_types.h>
40
41
#include <asm/kmap_size.h>
41
42
42
43
/* task_struct member predeclarations (sorted alphabetically): */
Original file line number Diff line number Diff line change 12
12
* to detect when we overlook these differences.
13
13
*
14
14
*/
15
- #include <linux/types .h>
15
+ #include <linux/uidgid_types .h>
16
16
#include <linux/highuid.h>
17
17
18
18
struct user_namespace ;
19
19
extern struct user_namespace init_user_ns ;
20
20
21
- typedef struct {
22
- uid_t val ;
23
- } kuid_t ;
24
-
25
-
26
- typedef struct {
27
- gid_t val ;
28
- } kgid_t ;
29
-
30
21
#define KUIDT_INIT (value ) (kuid_t){ value }
31
22
#define KGIDT_INIT (value ) (kgid_t){ value }
32
23
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0 */
2
+ #ifndef _LINUX_UIDGID_TYPES_H
3
+ #define _LINUX_UIDGID_TYPES_H
4
+
5
+ #include <linux/types.h>
6
+
7
+ typedef struct {
8
+ uid_t val ;
9
+ } kuid_t ;
10
+
11
+ typedef struct {
12
+ gid_t val ;
13
+ } kgid_t ;
14
+
15
+ #endif /* _LINUX_UIDGID_TYPES_H */
You can’t perform that action at this time.
0 commit comments