summaryrefslogtreecommitdiff
path: root/cookie.h
blob: 14f18017fc1e9ad7561cb9c7cf4b0e056f0dd27c (plain)
1
2
3
4
5
6
#ifndef COOKIE_H
#define COOKIE_H

extern void to_std_log(FILE **fp);

#endif /* COOKIE_H */
>includemode:
authorAndy Lutomirski <luto@kernel.org>2016-10-31 08:11:43 -0700
committerIngo Molnar <mingo@kernel.org>2016-11-01 07:39:17 +0100
commit405c0759712f57b680f66aee9c55cd06ad1cbdef (patch)
tree3a93cb428043131fd231b348dbe469be9dfadc30
parent0c183d92b20b5c84ca655b45ef57b3318b83eb9e (diff)
fork: Add task stack refcounting sanity check and prevent premature task stack freeing
If something goes wrong with task stack refcounting and a stack refcount hits zero too early, warn and leak it rather than potentially freeing it early (and silently). Signed-off-by: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/f29119c783a9680a4b4656e751b6123917ace94b.1477926663.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat