All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: Alex Ackerman <alex@darkhonor.com>, selinux@tycho.nsa.gov
Subject: Re: MySQL Policy Patch
Date: Thu, 28 Oct 2004 23:01:28 +1000	[thread overview]
Message-ID: <200410282301.28107.russell@coker.com.au> (raw)
In-Reply-To: <1098117292.27895.125.camel@moss-spartans.epoch.ncsc.mil>

On Tue, 19 Oct 2004 02:34, Stephen Smalley <sds@epoch.ncsc.mil> wrote:
> Think about the security implications:  Do you want a compromised mysqld
> to be able to read arbitrary admin temporary files?  Not likely.  So

 allow mysqld_t sysadm_home_dir_t:dir search;
 allow mysqld_t sysadm_home_t:file { read getattr };

The above rules which are already in the policy are worse.

The mysql situation needs improvement.  Firstly I think that the temporary 
file should be created under /var/lib/mysql to remove the need for /tmp 
access.  Then we need to do something about /root/.my.conf, maybe move it to 
some place under /etc.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2004-10-28 13:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18 15:49 MySQL Policy Patch Alex Ackerman
2004-10-18 16:34 ` Stephen Smalley
2004-10-28 13:01   ` Russell Coker [this message]
2004-10-19 16:56 ` Jiann-Ming Su
2004-10-19 17:02   ` Stephen Smalley
2004-11-05 19:53     ` Jiann-Ming Su
2004-11-23  5:09       ` Russell Coker

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=200410282301.28107.russell@coker.com.au \
    --to=russell@coker.com.au \
    --cc=alex@darkhonor.com \
    --cc=sds@epoch.ncsc.mil \
    --cc=selinux@tycho.nsa.gov \
    /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.