pid namespaces: round up the API
[deliverable/linux.git] / kernel / signal.c
index e4f059cd9867df74d44949cf7d16be947ee7c9e8..15c6940ab046129e9b96c3e336cdd1165b936a69 100644 (file)
@@ -536,7 +536,7 @@ static int check_kill_permission(int sig, struct siginfo *info,
                        return error;
                error = -EPERM;
                if (((sig != SIGCONT) ||
-                       (process_session(current) != process_session(t)))
+                       (task_session_nr(current) != task_session_nr(t)))
                    && (current->euid ^ t->suid) && (current->euid ^ t->uid)
                    && (current->uid ^ t->suid) && (current->uid ^ t->uid)
                    && !capable(CAP_KILL))
This page took 0.025963 seconds and 5 git commands to generate.