Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Kernel v2.3.48 /kernel/sys.c

Filename:/kernel/sys.c
Lines Added:17
Lines Deleted:2
Also changed in: (Previous) 2.3.43  2.3.41  2.3.39  2.3.25  2.3.20  2.3.17 
(Following) 2.3.51  2.3.99-pre2  2.3.99-pre6  2.5.48  2.5.49-ac1  2.5.49-ac2 

Location
[  2.3.48
  [  kernel
     o  sys.c

Patch

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;


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.