Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210551
b: refs/heads/master
c: 7993bc1
h: refs/heads/master
i:
  210549: 5ead537
  210547: a9ab08f
  210543: c2f1580
v: v3
  • Loading branch information
Roland McGrath authored and Linus Torvalds committed Sep 10, 2010
1 parent 2bcd5c3 commit 0d57d2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b528181b2ffa14721fb28ad1bd539fe1732c583
refs/heads/master: 7993bc1f4663c0db67bb8f0d98e6678145b387cd
2 changes: 2 additions & 0 deletions trunk/fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ static int copy_strings(int argc, const char __user *const __user *argv,
while (len > 0) {
int offset, bytes_to_copy;

cond_resched();

offset = pos % PAGE_SIZE;
if (offset == 0)
offset = PAGE_SIZE;
Expand Down

0 comments on commit 0d57d2a

Please sign in to comment.