SELinux-Refpolicy Archive on lore.kernel.org
 help / color / Atom feed
From: "Sugar, David" <dsugar@tresys.com>
To: "selinux-refpolicy@vger.kernel.org"  <selinux-refpolicy@vger.kernel.org>
Subject: [PATCH 0/4] Resolve issues using /usr/bin/timedatectl
Date: Wed, 20 Mar 2019 00:20:33 +0000
Message-ID: <20190320002012.21220-1-dsugar@tresys.com> (raw)

I'm seeing some issues using timedatectl to alter the system
date, time and timezone.  The following set of patches is to
resolve issues seen during these interactions.  I setup as
several patches to keep the set of denials clear for each
patch.

Dave Sugar (4):
  Add interface ntp_dbus_chat
  Allow ntpd to alter chronyd service
  Allow ntpd to update timezone
  Allow ntpd to read unit files

 policy/modules/services/ntp.if | 21 +++++++++++++++++++++
 policy/modules/services/ntp.te |  9 +++++++++
 policy/modules/system/init.if  | 10 ++++++++++
 3 files changed, 40 insertions(+)

-- 
2.20.1


             reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20  0:20 Sugar, David [this message]
2019-03-20  0:20 ` [PATCH 1/4] Add interface ntp_dbus_chat Sugar, David
2019-03-24 18:36   ` Chris PeBenito
2019-03-20  0:20 ` [PATCH 2/4] Allow ntpd to update chronyd service Sugar, David
2019-03-24 18:36   ` Chris PeBenito
2019-03-20  0:20 ` [PATCH 3/4] Allow ntpd to update timezone symlink Sugar, David
2019-03-24 18:36   ` Chris PeBenito
2019-03-20  0:20 ` [PATCH 4/4] Allow ntpd to read unit files Sugar, David
2019-03-24 18:36   ` Chris PeBenito

Reply instructions:

You may reply publically 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=20190320002012.21220-1-dsugar@tresys.com \
    --to=dsugar@tresys.com \
    --cc=selinux-refpolicy@vger.kernel.org \
    /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

SELinux-Refpolicy Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/selinux-refpolicy/0 selinux-refpolicy/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux-refpolicy selinux-refpolicy/ https://lore.kernel.org/selinux-refpolicy \
		selinux-refpolicy@vger.kernel.org selinux-refpolicy@archiver.kernel.org
	public-inbox-index selinux-refpolicy


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.selinux-refpolicy


AGPL code for this site: git clone https://public-inbox.org/ public-inbox