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

[Xen-devel] Bogus permissions on xenconsoled.pid



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


 


Rackspace

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