Searched hist:"45525 b26a46cd593cb72070304c4cd7c8391bd37" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/ |
H A D | coredump.c | diff 45525b26a46cd593cb72070304c4cd7c8391bd37 Tue Oct 16 12:30:07 CDT 2012 Al Viro <viro@zeniv.linux.org.uk> fix a leak in replace_fd() users
replace_fd() began with "eats a reference, tries to insert into descriptor table" semantics; at some point I'd switched it to much saner current behaviour ("try to insert into descriptor table, grabbing a new reference if inserted; caller should do fput() in any case"), but forgot to update the callers. Mea culpa...
[Spotted by Pavel Roskin, who has really weird system with pipe-fed coredumps as part of what he considers a normal boot ;-)]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | diff 45525b26a46cd593cb72070304c4cd7c8391bd37 Tue Oct 16 12:30:07 CDT 2012 Al Viro <viro@zeniv.linux.org.uk> fix a leak in replace_fd() users
replace_fd() began with "eats a reference, tries to insert into descriptor table" semantics; at some point I'd switched it to much saner current behaviour ("try to insert into descriptor table, grabbing a new reference if inserted; caller should do fput() in any case"), but forgot to update the callers. Mea culpa...
[Spotted by Pavel Roskin, who has really weird system with pipe-fed coredumps as part of what he considers a normal boot ;-)]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|