2017-02-05 09:14:40

by Jason Zaman

[permalink] [raw]
Subject: [refpolicy] [PATCH] usrmerge: Add missed /usr fcontexts

---
dphysswapfile.fc | 2 +-
fakehwclock.fc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dphysswapfile.fc b/dphysswapfile.fc
index 1b2bfcc..3cf1968 100644
--- a/dphysswapfile.fc
+++ b/dphysswapfile.fc
@@ -1,5 +1,5 @@
/etc/dphys-swapfile -- gen_context(system_u:object_r:dphysswapfile_conf_t,s0)

-/sbin/dphys-swapfile -- gen_context(system_u:object_r:dphysswapfile_exec_t,s0)
+/usr/sbin/dphys-swapfile -- gen_context(system_u:object_r:dphysswapfile_exec_t,s0)

/var/swap -- gen_context(system_u:object_r:dphysswapfile_swap_t,s0)
diff --git a/fakehwclock.fc b/fakehwclock.fc
index d83c628..b0a55f6 100644
--- a/fakehwclock.fc
+++ b/fakehwclock.fc
@@ -1,5 +1,5 @@
/etc/fake-hwclock\.data -- gen_context(system_u:object_r:fakehwclock_backup_t,s0)

-/sbin/fake-hwclock -- gen_context(system_u:object_r:fakehwclock_exec_t,s0)
+/usr/sbin/fake-hwclock -- gen_context(system_u:object_r:fakehwclock_exec_t,s0)

/usr/lib/systemd/system/fake-hwclock\.service -- gen_context(system_u:object_r:fakehwclock_unit_t,s0)
--
2.10.2


2017-02-07 23:34:40

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] usrmerge: Add missed /usr fcontexts

On 02/05/17 04:14, Jason Zaman wrote:
> ---
> dphysswapfile.fc | 2 +-
> fakehwclock.fc | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dphysswapfile.fc b/dphysswapfile.fc
> index 1b2bfcc..3cf1968 100644
> --- a/dphysswapfile.fc
> +++ b/dphysswapfile.fc
> @@ -1,5 +1,5 @@
> /etc/dphys-swapfile -- gen_context(system_u:object_r:dphysswapfile_conf_t,s0)
>
> -/sbin/dphys-swapfile -- gen_context(system_u:object_r:dphysswapfile_exec_t,s0)
> +/usr/sbin/dphys-swapfile -- gen_context(system_u:object_r:dphysswapfile_exec_t,s0)
>
> /var/swap -- gen_context(system_u:object_r:dphysswapfile_swap_t,s0)
> diff --git a/fakehwclock.fc b/fakehwclock.fc
> index d83c628..b0a55f6 100644
> --- a/fakehwclock.fc
> +++ b/fakehwclock.fc
> @@ -1,5 +1,5 @@
> /etc/fake-hwclock\.data -- gen_context(system_u:object_r:fakehwclock_backup_t,s0)
>
> -/sbin/fake-hwclock -- gen_context(system_u:object_r:fakehwclock_exec_t,s0)
> +/usr/sbin/fake-hwclock -- gen_context(system_u:object_r:fakehwclock_exec_t,s0)
>
> /usr/lib/systemd/system/fake-hwclock\.service -- gen_context(system_u:object_r:fakehwclock_unit_t,s0)

Merged.

--
Chris PeBenito