summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2010-04-02 18:05:12 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-04-02 19:44:09 -0700
commit6da8d866d0d39e9509ff826660f6a86a6757c966 (patch)
tree1d8637ba7ef67ac3df8a67cc59c79551575e25da /kernel
parent483f64c430ad981188d865ee635f3f7a469f0b12 (diff)
tty: release_one_tty() forgets to put pids
release_one_tty(tty) can be called when tty still has a reference to pgrp/session. In this case we leak the pid. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Reported-by: Catalin Marinas <catalin.marinas@arm.com> Reported-and-tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Acked-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions