ia64/xen-unstable

changeset 592:be5a056550e9

bitkeeper revision 1.329.1.1 (3f0d4057f1pusde9YiNnc29jyP2ESg)

Make /proc/dom0/vhd readable only to root.
author sos22@labyrinth.cl.cam.ac.uk
date Thu Jul 10 10:30:47 2003 +0000 (2003-07-10)
parents 3e071d151e22
children 74a0503a5f5a
files xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment_proc.c
line diff
     1.1 --- a/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment_proc.c	Thu Jul 10 09:24:39 2003 +0000
     1.2 +++ b/xenolinux-2.4.21-sparse/arch/xeno/drivers/block/xl_segment_proc.c	Thu Jul 10 10:30:47 2003 +0000
     1.3 @@ -310,7 +310,7 @@ static struct file_operations proc_vhd_o
     1.4  
     1.5  int __init xlseg_proc_init(void)
     1.6  {
     1.7 -    vhd = create_proc_entry("xeno/dom0/vhd", 0644, NULL);
     1.8 +    vhd = create_proc_entry("xeno/dom0/vhd", 0600, NULL);
     1.9      if (vhd == NULL)
    1.10      {
    1.11          panic ("xlseg_init: unable to create vhd proc entry\n");