ia64/xen-unstable

changeset 4765:aee6d65586c1

bitkeeper revision 1.1389.5.14 (4279091dnpBW4lj9MvVqawaMwCC8pA)

initialize primcmd even in domU in preparation for access control checkin
author smh22@firebug.cl.cam.ac.uk
date Wed May 04 17:40:45 2005 +0000 (2005-05-04)
parents fa155c185fd6
children 86c325c8937a
files linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c	Wed May 04 17:21:13 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c	Wed May 04 17:40:45 2005 +0000
     1.3 @@ -219,9 +219,6 @@ static struct file_operations privcmd_fi
     1.4  
     1.5  static int __init privcmd_init(void)
     1.6  {
     1.7 -    if ( !(xen_start_info.flags & SIF_PRIVILEGED) )
     1.8 -        return 0;
     1.9 -
    1.10      privcmd_intf = create_xen_proc_entry("privcmd", 0400);
    1.11      if ( privcmd_intf != NULL )
    1.12          privcmd_intf->proc_fops = &privcmd_file_ops;