patch-2.4.18 linux/kernel/sys.c
Next file: linux/kernel/time.c
Previous file: linux/kernel/ptrace.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Wed Jan 23 20:55:51 2002
- Orig file:
linux.orig/kernel/sys.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/kernel/sys.c linux/kernel/sys.c
@@ -1245,6 +1245,22 @@
#endif
break;
+ case PR_SET_FPEMU:
+#ifdef SET_FPEMU_CTL
+ error = SET_FPEMU_CTL(current, arg2);
+#else
+ error = -EINVAL;
+#endif
+ break;
+
+ case PR_GET_FPEMU:
+#ifdef GET_FPEMU_CTL
+ error = GET_FPEMU_CTL(current, arg2);
+#else
+ error = -EINVAL;
+#endif
+ break;
+
case PR_GET_KEEPCAPS:
if (current->keep_capabilities)
error = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)