From: Joshua Brindle <method@gentoo.org>
To: petre rodan <kaiowas@gentoo.org>
Cc: selinux@tycho.nsa.gov
Subject: Re: gentoo diff for ntpd
Date: Tue, 05 Oct 2004 09:14:45 -0400 [thread overview]
Message-ID: <41629E45.8050107@gentoo.org> (raw)
In-Reply-To: <41625A62.7080609@gentoo.org>
Since peter forgot to introduce himself :) he just started with gentoo
to give us some badly needed policy help which will hopefully allow us
to start sending more policy upstream. Thanks peter
Also, this diff is to make openntpd work with the current ntp policy, so
a tunable other than distro_gentoo might be appropriate, or none at all.
Joshua Brindle
petre rodan wrote:
> Hi!
>
> This is a very small diff that would make the gentoo community happy :)
>
> reference:
> http://bugs.gentoo.org/show_bug.cgi?id=59633
>
> many thanks,
> peter
>
>
> ------------------------------------------------------------------------
>
> --- /root/public_html/policy/nsa/file_contexts/program/ntpd.fc 2004-06-25 23:02:43.000000000 +0300
> +++ /etc/security/selinux/src/policy/file_contexts/program/ntpd.fc 2004-10-05 10:20:01.034334096 +0300
> @@ -10,3 +10,11 @@
> /var/run/ntpd.pid -- system_u:object_r:ntpd_var_run_t
> /etc/cron\.(daily|weekly)/ntp-simple -- system_u:object_r:ntpd_exec_t
> /etc/cron\.(daily|weekly)/ntp-server -- system_u:object_r:ntpd_exec_t
> +
> +ifdef(`distro_gentoo', `
> +/usr/bin/ntpd -- system_u:object_r:ntpd_exec_t
> +/usr/bin/ntpdate -- system_u:object_r:ntpd_exec_t
> +
> +# for net-misc/openntpd
> +/etc/ntpd\.conf -- system_u:object_r:net_conf_t
> +')
> --- /root/public_html/policy/nsa/domains/program/unused/ntpd.te 2004-10-02 01:38:20.000000000 +0300
> +++ /etc/security/selinux/src/policy/domains/program/ntpd.te 2004-10-05 04:23:53.935260872 +0300
> @@ -69,3 +69,8 @@
> ifdef(`firstboot.te', `
> dontaudit ntpd_t firstboot_t:fd { use };
> ')
> +
> +ifdef(`distro_gentoo', `
> +allow ntpd_t self:capability { sys_chroot kill };
> +')
> +
--
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.
next prev parent reply other threads:[~2004-10-05 13:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-05 8:25 gentoo diff for ntpd petre rodan
2004-10-05 13:14 ` Joshua Brindle [this message]
2004-10-06 10:49 ` petre rodan
2004-10-07 7:02 ` Russell Coker
2004-10-08 15:04 ` petre rodan
2004-10-08 17:59 ` James Carter
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=41629E45.8050107@gentoo.org \
--to=method@gentoo.org \
--cc=kaiowas@gentoo.org \
--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.