diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -419,6 +419,8 @@ static int copy_strings(int argc, const char __user *const __user *argv, | |||
419 | while (len > 0) { | 419 | while (len > 0) { |
420 | int offset, bytes_to_copy; | 420 | int offset, bytes_to_copy; |
421 | 421 | ||
422 | cond_resched(); | ||
423 | |||
422 | offset = pos % PAGE_SIZE; | 424 | offset = pos % PAGE_SIZE; |
423 | if (offset == 0) | 425 | if (offset == 0) |
424 | offset = PAGE_SIZE; | 426 | offset = PAGE_SIZE; |