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] Bogus permissions on xenconsoled.pid

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Bogus permissions on xenconsoled.pid
From: Jordan Russell <jr-list-2006@xxxxxx>
Date: Thu, 31 Aug 2006 11:13:06 -0500
Delivery-date: Thu, 31 Aug 2006 09:21:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)
Came across this issue in 3.0.2; looks to also be present in the latest
unstable sources:

# ls -l /var/run/xenconsoled.pid
-rwS--x--T 1 root root 5 Aug 31 00:29 /var/run/xenconsoled.pid

setuid, group-execute, and sticky...?

This happens because daemonize() in tools/console/daemon/utils.c isn't
specifying a "mode" parameter when creating the file:

   fd = open(pidfile, O_RDWR | O_CREAT);

-- 
Jordan Russell


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Bogus permissions on xenconsoled.pid, Jordan Russell <=