Skip to contentSkip to conversation

Updated ntp policy

refpolicy Daniel J Walsh 2 participants 3 messages Aug 25, 2008 – Sep 11, 2008

lore
Share & tools
lore
#1 lore raw
Quoted 11 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/Policy/services_ntp.patch

Added support for ntpd_key_t for defining crypto information. Prevent other domains from reading.

ntp needs getcap
Uses shm for talking to certain time devices.

Add gpsd support

Talks to ptmx also for time devices

One thing that is weird is this:

+# Necessary to communicate with gpsd devices
+fs_rw_tmpfs_files(ntpd_t)

it sounds like there is a missing filetrans here.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 18 lines · Christopher J. PeBenito
Quoted 11 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/Policy/services_ntp.patch

Added support for ntpd_key_t for defining crypto information. Prevent other domains from reading.

ntp needs getcap
Uses shm for talking to certain time devices.

Add gpsd support

Talks to ptmx also for time devices

One thing that is weird is this:

(quoted diff) +2 -0
+# Necessary to communicate with gpsd devices
+fs_rw_tmpfs_files(ntpd_t)
Quoted 2 lines

it sounds like there is a missing filetrans here.

We can try this, but I am not sure if the gpsd device created the file for communication in the tmpfs first.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjJORkACgkQrlYvE4MpobP3qACgl03CsnZszhrbw1btj3dpnmBj wSEAoOZ7PgaxWA9r2j7FH6pDqMlKGTUK
=/dSp
-----END PGP SIGNATURE-----