Here is a complete list of entries for /etc/magic related to SE Linux.
# SE Linux policy database for Fedora versions less than 5, RHEL 4, and Debian before Etch
# http://doc.coker.com.au/computers/selinux-magic
0 lelong 0xf97cff8c SE Linux policy
>16 lelong x v%d
>20 lelong 1 MLS
>24 lelong x %d symbols
>28 lelong x %d ocons
# SE Linux policy modules *.pp reference policy for Fedora 5 to 9,
# RHEL5, and Debian Etch and Lenny.
# http://doc.coker.com.au/computers/selinux-magic
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
# for SE Linux policy source for reference policy
# http://doc.coker.com.au/computers/selinux-magic
0 string policy_module( SE Linux policy module source
1 string policy_module( SE Linux policy module source
2 string policy_module( SE Linux policy module source
0 string ##\ <summary> SE Linux policy interface source
0 search gen_context( SE Linux policy file contexts
0 search gen_sens( SE Linux policy MLS constraints source
Leave a Reply
You must be logged in to post a comment.