KEYS: Add a keyctl to install a process's session keyring on its parent [try #6]
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / include / linux / sched.h
index 5c7ce13c1696586263fdfc4d3b317a245ef979c3..9304027673b0ac6abb0daf0bc8128dee3db0fcda 100644 (file)
@@ -1292,6 +1292,7 @@ struct task_struct {
        struct mutex cred_guard_mutex;  /* guard against foreign influences on
                                         * credential calculations
                                         * (notably. ptrace) */
+       struct cred *replacement_session_keyring; /* for KEYCTL_SESSION_TO_PARENT */
 
        char comm[TASK_COMM_LEN]; /* executable name excluding path
                                     - access with [gs]et_task_comm (which lock