We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74ba508 commit 7e6bd8fCopy full SHA for 7e6bd8f
include/linux/cred.h
@@ -357,11 +357,11 @@ static inline void put_cred(const struct cred *_cred)
357
#define current_user() (current_cred_xxx(user))
358
#define current_security() (current_cred_xxx(security))
359
360
+extern struct user_namespace init_user_ns;
361
#ifdef CONFIG_USER_NS
362
#define current_user_ns() (current_cred_xxx(user_ns))
363
#define task_user_ns(task) (task_cred_xxx((task), user_ns))
364
#else
-extern struct user_namespace init_user_ns;
365
#define current_user_ns() (&init_user_ns)
366
#define task_user_ns(task) (&init_user_ns)
367
#endif
0 commit comments