patch-2.4.25 linux-2.4.25/arch/x86_64/ia32/ptrace32.c

Next file: linux-2.4.25/arch/x86_64/ia32/sys_ia32.c
Previous file: linux-2.4.25/arch/x86_64/ia32/ia32entry.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/x86_64/ia32/ptrace32.c linux-2.4.25/arch/x86_64/ia32/ptrace32.c
@@ -8,7 +8,7 @@
  * This allows to access 64bit processes too; but there is no way to see the extended 
  * register contents.
  *
- * $Id: ptrace32.c,v 1.17 2003/03/24 09:25:15 ak Exp $
+ * $Id: ptrace32.c,v 1.18 2004/01/29 00:50:29 ak Exp $
  */ 
 
 #include <linux/kernel.h>
@@ -25,6 +25,10 @@
 #include <asm/fpu32.h>
 #include <linux/mm.h>
 
+/* determines which flags the user has access to. */
+/* 1 = access 0 = no access */
+#define FLAG_MASK 0x44dd5UL
+
 #define R32(l,q) \
 	case offsetof(struct user32, regs.l): stack[offsetof(struct pt_regs, q)/8] = val; break
 

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