]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/tracehook.h
tracehook: asm/syscall.h
[linux-2.6-omap-h63xx.git] / include / linux / tracehook.h
index 32867ab86c7030502ea88675a1011748db92c090..589f429619c917ded1d60b07d99fcb3c20659fce 100644 (file)
@@ -103,7 +103,8 @@ static inline void ptrace_report_syscall(struct pt_regs *regs)
  * the system call.  That must prevent normal entry so no system call is
  * made.  If @task ever returns to user mode after this, its register state
  * is unspecified, but should be something harmless like an %ENOSYS error
- * return.
+ * return.  It should preserve enough information so that syscall_rollback()
+ * can work (see asm-generic/syscall.h).
  *
  * Called without locks, just after entering kernel mode.
  */