patch-2.4.22 linux-2.4.22/kernel/ptrace.c

Next file: linux-2.4.22/kernel/sched.c
Previous file: linux-2.4.22/kernel/printk.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/kernel/ptrace.c linux-2.4.22/kernel/ptrace.c
@@ -166,6 +166,7 @@
 			memcpy(maddr + offset, buf, bytes);
 			flush_page_to_ram(page);
 			flush_icache_user_range(vma, page, addr, len);
+			set_page_dirty(page);
 		} else {
 			memcpy(buf, maddr + offset, bytes);
 			flush_page_to_ram(page);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)