Author: Russell Coker Description: Adds new magics for SE Linux (Closes: #485886). diff -Naurp file.orig/magic/Magdir/selinux file/magic/Magdir/selinux --- file.orig/magic/Magdir/selinux 1970-01-01 01:00:00.000000000 +0100 +++ file/magic/Magdir/selinux 2008-06-13 09:07:24.000000000 +0200 @@ -0,0 +1,24 @@ +# Type: SE Linux policy modules *.pp reference policy +# for Fedora 5 to 9, RHEL5, and Debian Etch and Lenny. +# URL: http://doc.coker.com.au/computers/selinux-magic +# From: Russell Coker + +0 lelong 0xf97cff8f SE Linux modular policy +>4 lelong x version %d, +>8 lelong x %d sections, +>>(12.l) lelong 0xf97cff8d +>>>(12.l+27) lelong x mod version %d, +>>>(12.l+31) lelong 0 Not MLS, +>>>(12.l+31) lelong 1 MLS, +>>>(12.l+23) lelong 2 +>>>>(12.l+47) string >\0 module name %s +>>>(12.l+23) lelong 1 base + +1 string policy_module( SE Linux policy module source +2 string policy_module( SE Linux policy module source + +0 string ##\ SE Linux policy interface source + +#0 search gen_context( SE Linux policy file contexts + +#0 search gen_sens( SE Linux policy MLS constraints source diff -Naurp file.orig/magic/Makefile.am file/magic/Makefile.am --- file.orig/magic/Makefile.am 2008-06-13 09:07:45.000000000 +0200 +++ file/magic/Makefile.am 2008-06-13 09:08:16.000000000 +0200 @@ -164,6 +164,7 @@ $(MAGIC_FRAGMENT_DIR)/sc \ $(MAGIC_FRAGMENT_DIR)/sccs \ $(MAGIC_FRAGMENT_DIR)/scientific \ $(MAGIC_FRAGMENT_DIR)/securitycerts \ +$(MAGIC_FRAGMENT_DIR)/selinux \ $(MAGIC_FRAGMENT_DIR)/sendmail \ $(MAGIC_FRAGMENT_DIR)/sequent \ $(MAGIC_FRAGMENT_DIR)/sgi \ diff -Naurp file.orig/magic/Makefile.in file/magic/Makefile.in --- file.orig/magic/Makefile.in 2008-06-13 09:07:45.000000000 +0200 +++ file/magic/Makefile.in 2008-06-13 09:08:23.000000000 +0200 @@ -324,6 +324,7 @@ $(MAGIC_FRAGMENT_DIR)/sc \ $(MAGIC_FRAGMENT_DIR)/sccs \ $(MAGIC_FRAGMENT_DIR)/scientific \ $(MAGIC_FRAGMENT_DIR)/securitycerts \ +$(MAGIC_FRAGMENT_DIR)/selinux \ $(MAGIC_FRAGMENT_DIR)/sendmail \ $(MAGIC_FRAGMENT_DIR)/sequent \ $(MAGIC_FRAGMENT_DIR)/sgi \