All of lore.kernel.org
 help / color / mirror / Atom feed
* Bogus permissions on xenconsoled.pid
@ 2006-08-31 16:13 Jordan Russell
  0 siblings, 0 replies; only message in thread
From: Jordan Russell @ 2006-08-31 16:13 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-31 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31 16:13 Bogus permissions on xenconsoled.pid Jordan Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.