hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/sched/user.h
....@@ -8,8 +8,6 @@
88 #include <linux/ratelimit.h>
99 #include <linux/android_kabi.h>
1010
11
-struct key;
12
-
1311 /*
1412 * Some day this will be a full-fledged user tracking system..
1513 */
....@@ -31,18 +29,16 @@
3129 unsigned long unix_inflight; /* How many files in flight in unix sockets */
3230 atomic_long_t pipe_bufs; /* how many pages are allocated in pipe buffers */
3331
34
-#ifdef CONFIG_KEYS
35
- struct key *uid_keyring; /* UID specific keyring */
36
- struct key *session_keyring; /* UID's default session keyring */
37
-#endif
38
-
3932 /* Hash table maintenance information */
4033 struct hlist_node uidhash_node;
4134 kuid_t uid;
4235
4336 #if defined(CONFIG_PERF_EVENTS) || defined(CONFIG_BPF_SYSCALL) || \
44
- defined(CONFIG_NET)
37
+ defined(CONFIG_NET) || defined(CONFIG_IO_URING)
4538 atomic_long_t locked_vm;
39
+#endif
40
+#ifdef CONFIG_WATCH_QUEUE
41
+ atomic_t nr_watches; /* The number of watches this user currently has */
4642 #endif
4743
4844 /* Miscellaneous per-user rate limit */
....@@ -50,6 +46,7 @@
5046
5147 ANDROID_KABI_RESERVE(1);
5248 ANDROID_KABI_RESERVE(2);
49
+ ANDROID_OEM_DATA_ARRAY(1, 2);
5350 };
5451
5552 extern int uids_sysfs_init(void);