From: Joshua Brindle <method@manicmethod.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: "Clarkson, Mike R (US SSA)" <mike.clarkson@baesystems.com>,
selinux@tycho.nsa.gov
Subject: Re: chcon -l permission
Date: Mon, 24 Sep 2007 09:01:14 -0400 [thread overview]
Message-ID: <46F7B51A.2020706@manicmethod.com> (raw)
In-Reply-To: <1190637842.15178.24.camel@gorn>
Christopher J. PeBenito wrote:
> On Sat, 2007-09-22 at 17:05 -0700, Clarkson, Mike R (US SSA) wrote:
>
>> I have a java process running in a domain named frontgate_t, which reads
>> files and determines the correct classification/compartment level of the
>> file based upon its contents. The java process then relabels the file to
>> the correct level using "chcon -l ...". It can both upgrade or downgrade
>> the level of the file
>>
>> I'm getting file relabelfrom and relabelto denials in the audit log that
>> I can't get past. I've provided the allow rule indicated by audit2allow.
>> At first I thought this was an mls constraint issue. I expect that the
>> following mls privileges would be required:
>> mls_file_upgrade(frontgate_t)
>> mls_file_downgrade(frontgate_t)
>> mls_context_translate_all_levels(frontgate_t) (maybe needed??)
>>
>> I provided all of these, and then progressively added more and more mls
>> privileges until I had provided them all. Next, I gutted the mls file
>> that contains all of the mls constraints to once and for all convince
>> myself that this wasn't an mls constraint issue.
>>
>>
Note: you can use audit2why to convince yourself of whether something is
a TE or constraint issue without granting your application all MLS
privileges.
--
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.
prev parent reply other threads:[~2007-09-24 13:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-23 0:05 chcon -l permission Clarkson, Mike R (US SSA)
2007-09-24 12:44 ` Christopher J. PeBenito
2007-09-24 13:01 ` Joshua Brindle [this message]
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=46F7B51A.2020706@manicmethod.com \
--to=method@manicmethod.com \
--cc=cpebenito@tresys.com \
--cc=mike.clarkson@baesystems.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.