WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Tiny patch: xen and vserver

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Tiny patch: xen and vserver
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
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0 (X11/20050116)
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

<Prev in Thread] Current Thread [Next in Thread>