All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Simonov <Vladimir.Simonov@acronis.com>
To: SELinux List <SELinux@tycho.nsa.gov>
Subject: initrc_t has no execmod in targeted policy
Date: Mon, 06 Feb 2006 10:33:38 +0300	[thread overview]
Message-ID: <43E6FBD2.5040207@acronis.com> (raw)

Hi all,

Trying to launch my network daemon fron init.d on
Fedora Core 4 I see "avc:  denied  { execmod } ..."
in audit.log. The daemon loads some shared libraries
via dlopen. If I guessed right, code relocation at load
time modifies code segment and violates "no execmod
for initrc_t" rile.

The questions:
1. Is my guess correct?
2. If yes, should it be considered as policy drawback
(FC4 uses policy.19) or I'm missing something?
3. How to add execmod to system_u:system_r:initrc_t
type without full policy rebuild?

Best regards
Vladimir Simonov

--
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:[~2006-02-06  7:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-06  7:33 Vladimir Simonov [this message]
2006-02-06 14:11 ` initrc_t has no execmod in targeted policy Stephen Smalley
2006-02-06 19:35   ` Vladimir Simonov
2006-02-06 20:18     ` Stephen Smalley
2006-02-07  7:53       ` Vladimir Simonov

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=43E6FBD2.5040207@acronis.com \
    --to=vladimir.simonov@acronis.com \
    --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.