All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junji Kanemaru <linux@linuon.com>
To: Daniel J Walsh <dwalsh@redhat.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: cvs and mta
Date: Wed, 20 Jul 2005 23:03:52 +0900	[thread overview]
Message-ID: <42DE59C8.20208@linuon.com> (raw)
In-Reply-To: <42D6456F.6040001@redhat.com>

Following worked. I still need cvs_t to have access to bin:dir
bin:lnk_file and sbin:lnk_file though.

#DESC cvs - Concurrent Versions System
#
# Author:  Dan Walsh <dwalsh@redhat.com>
#
# Depends: inetd.te

#################################
#
# Rules for the cvs_t domain.
#
# cvs_exec_t is the type of the cvs executable.
#

inetd_child_domain(cvs, tcp)
typeattribute cvs_t privmail;
typeattribute cvs_t auth_chkpwd;

type cvs_data_t, file_type, sysadmfile;
create_dir_file(cvs_t, cvs_data_t)
can_exec(cvs_t, { bin_t sbin_t shell_exec_t })
allow cvs_t etc_runtime_t:file { getattr read };
allow system_mail_t cvs_data_t:file { getattr read };
dontaudit cvs_t devtty_t:chr_file { read write };
allow cvs_t bin_t:dir search;
allow cvs_t bin_t:lnk_file read;
allow cvs_t sbin_t:lnk_file read;

Thank you for your help.

-- Junji

--
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.

      parent reply	other threads:[~2005-07-20 14:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13  8:45 cvs and mta Junji Kanemaru
2005-07-13 10:23 ` Daniel J Walsh
2005-07-14  2:55   ` Junji Kanemaru
2005-07-14 10:48     ` Daniel J Walsh
2005-07-14 10:58     ` Daniel J Walsh
2005-07-15 12:39       ` Junji Kanemaru
2005-07-20 14:03       ` Junji Kanemaru [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=42DE59C8.20208@linuon.com \
    --to=linux@linuon.com \
    --cc=dwalsh@redhat.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.