Skip to contentSkip to conversation

Minor fixes to first boot policy

DISCUSSION Daniel J Walsh 2 participants 2 messages Aug 14, 2008 – Aug 20, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

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

http://people.fedoraproject.org/~dwalsh/SELinux/F10/admin_firstboot.patch

firstboot tends to leak file descritors and since it it thousands of lines of code not likely to be fixed. So dontaudit leaked descriptors to unix_stream_socket

Move unconfined_domain to optional block.

- -files_etc_filetrans_etc_runtime(firstboot_t, { file dir }) We dont want to do this. Firstboot should just edit etc files rather then mislabeling them

Remove ancient cruft
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkikd5EACgkQrlYvE4MpobMTJgCg35zLOzqNGNL3Ca2MUxDlhHRl ElwAoKwqvZIX5PmK9BXNe1hFepfMAsTK
=8DHt
-----END PGP SIGNATURE-----

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F10/admin_firstboot.patch

firstboot tends to leak file descritors and since it it thousands of lines of code not likely to be fixed. So dontaudit leaked descriptors to unix_stream_socket

Quoted 7 lines

Move unconfined_domain to optional block.

- -files_etc_filetrans_etc_runtime(firstboot_t, { file dir }) We dont want to do this. Firstboot should just edit etc files rather then mislabeling them

Remove ancient cruft

I moved the stream socket part into its own interface and updated the one caller. I dropped the xserver part since that interface doesn't exist. The remainder is merged.

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