Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DoS condition on recursive logging
This patch fixes a denial-of-service condition when exec is denied on a process with a lot of parents. It's caused by the parent_task_walk() being a recursive function. Recursive function in the linux kernel? What was I thinking? I wasn't, actually, as my main goal with the project initially was proof-of-concept. Now that I'm actually using the thing in ad-hoc production environments, it's time I search the code for problems. Well, I found one! This patch also introduces a new sysctl entry: log_max
- Loading branch information
Corey Henderson
committed
Nov 28, 2011
1 parent
319e1e2
commit 4cf1548
Showing
4 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters