| Kernel v2.3.48 /kernel/sys.c |
|---|
 2.3.48
 kernel
 sys.c
diff -u --recursive --new-file v2.3.47/linux/kernel/sys.c linux/kernel/sys.c
--- v2.3.47/linux/kernel/sys.c Thu Feb 10 17:11:23 2000
+++ linux/kernel/sys.c Thu Feb 24 10:14:29 2000
@@ -226,8 +226,7 @@
default:
unlock_kernel();
return -EINVAL;
- break;
- };
+ }
unlock_kernel();
return 0;
}
@@ -1042,6 +1041,22 @@
}
current->dumpable = arg2;
break;
+ case PR_SET_UNALIGN:
+#ifdef SET_UNALIGN_CTL
+ error = SET_UNALIGN_CTL(current, arg2);
+#else
+ error = -EINVAL;
+#endif
+ break;
+
+ case PR_GET_UNALIGN:
+#ifdef GET_UNALIGN_CTL
+ error = GET_UNALIGN_CTL(current, arg2);
+#else
+ error = -EINVAL;
+#endif
+ break;
+
default:
error = -EINVAL;
break;
|