Searched hist:"452 a00d2ee288f2cbc36f676edd06cb14d2878c1" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/s390/char/ |
H A D | fs3270.c | diff 452a00d2ee288f2cbc36f676edd06cb14d2878c1 Mon Oct 13 04:39:13 CDT 2008 Alan Cox <alan@redhat.com> tty: Make get_current_tty use a kref
We now return a kref covered tty reference. That ensures the tty structure doesn't go away when you have a return from get_current_tty. This is not enough to protect you from most of the resources being freed behind your back - yet.
[Updated to include fixes for SELinux problems found by Andrew Morton and an s390 leak found while debugging the former]
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | diff 452a00d2ee288f2cbc36f676edd06cb14d2878c1 Mon Oct 13 04:39:13 CDT 2008 Alan Cox <alan@redhat.com> tty: Make get_current_tty use a kref
We now return a kref covered tty reference. That ensures the tty structure doesn't go away when you have a return from get_current_tty. This is not enough to protect you from most of the resources being freed behind your back - yet.
[Updated to include fixes for SELinux problems found by Andrew Morton and an s390 leak found while debugging the former]
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|