Skip to content

execve argument-copying fixes

Roland McGrath linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3setup_arg_pages: diagnose excessive argument sizefs/exec.c+5 -017 replies
2/3execve: improve interactivity with large argumentsfs/exec.c+2 -00 replies
3/3execve: make responsive to SIGKILL with large argumentsfs/exec.c+7 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKOSAKI MotohiroOleg Nesterov
SeriesR-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] execve argument-copying fixes

This is my take on parts of the execve large arguments copying issues that Kees posted about, and Brad and others have been discussing. I've only looked at the narrow area of the argument copying code itself. I think these are good and necessary fixes. But I'm not addressing the whole OOM killer/mm accounting issue, which also needs to be fixed (and I have the impression others are already looking into that).

The following changes since commit d56557af19867edb8c0e96f8e26399698a08857f:

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 (2010-09-07 16:00:17 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland.git topic/exec-fixes

Roland McGrath (3):
setup_arg_pages: diagnose excessive argument size
execve: improve interactivity with large arguments
execve: make responsive to SIGKILL with large arguments

 fs/exec.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

Thanks,
Roland