[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Tiny patch: xen and vserver


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • From: "Kristian F. Høgh" <kfh@xxxxxx>
  • Date: Tue, 22 Feb 2005 17:12:26 +0100
  • Delivery-date: Tue, 22 Feb 2005 17:14:27 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

Hi,


This patch makes it possible to run vservers in xen (i386).
There might be security, meltdown and KillAndEatMyDog problems.

It compiles (for me) and I can run vserver start ...

Description:
Add syscall 273: sys_vserver
Include vserver Kconfig

Regards,
Kristian.


Begin xen-vserver.patch

diff -NurpP --minimal arch/xen/i386/kernel/entry.S arch/xen/i386/kernel/entry.S
--- arch/xen/i386/kernel/entry.S        2004-11-17 23:51:47.000000000 +0100
+++ arch/xen/i386/kernel/entry.S        2004-11-20 16:46:07.000000000 +0100
@@ -1004,7 +1004,7 @@ ENTRY(sys_call_table)
       .long sys_tgkill        /* 270 */
       .long sys_utimes
       .long sys_fadvise64_64
-       .long sys_ni_syscall    /* sys_vserver */
+       .long sys_vserver
       .long sys_mbind
       .long sys_get_mempolicy
       .long sys_set_mempolicy
diff -NurpP --minimal arch/xen/Kconfig arch/xen/Kconfig
--- arch/xen/Kconfig    2004-11-17 23:51:41.000000000 +0100
+++ arch/xen/Kconfig    2004-11-20 16:43:24.000000000 +0100
@@ -159,6 +159,8 @@ source "arch/xen/Kconfig.drivers"

source "fs/Kconfig"

+source "kernel/vserver/Kconfig"
+
source "security/Kconfig"

source "crypto/Kconfig"




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.