From: Jordan Russell <jr-list-2006@quo.to>
To: xen-devel@lists.xensource.com
Subject: Bogus permissions on xenconsoled.pid
Date: Thu, 31 Aug 2006 11:13:06 -0500 [thread overview]
Message-ID: <ed71qi$seu$1@sea.gmane.org> (raw)
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
reply other threads:[~2006-08-31 16:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ed71qi$seu$1@sea.gmane.org' \
--to=jr-list-2006@quo.to \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.