Skip to contentSkip to conversation

Might be a bug in crond_system_entry

refpolicy Daniel J Walsh 2 participants 2 messages May 13, 2010

lore
Share & tools
lore
#0 lore raw

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

interface(cron_system_entry',
gen_require(`
type crond_t, system_cronjob_t;
')

domtrans_pattern(system_cronjob_t, $2, $1) domtrans_pattern(crond_t, $2, $1)
This line is questionable. Might have even been added by me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkvsImsACgkQrlYvE4MpobOtAQCguKNCtt1uDMPFpEdn+GlJpXD4 GeYAn1TEClBt8m6dJGbPR99NyA20dhsD
=dwd0
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 11 lines · Daniel J Walsh

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

interface(cron_system_entry',
gen_require(`
type crond_t, system_cronjob_t;
')

domtrans_pattern(system_cronjob_t, $2, $1) domtrans_pattern(crond_t, $2, $1)
This line is questionable. Might have even been added by me.

I believe the intention is to handle the case where someone puts the command directly into the /etc/crontab, rather than in /etc/cron.*/

eg, in /etc/crontab:

0 * * * * root /usr/bin/my_entrypoint

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com