In working with the seandroid policy, I found that if you are missing an initial sid labeling statement, e.g. sid devnull u:object_r:null_device:s0 the compiler will segfault during expand in context_copy(). This patch set moves the context_copy() to after the switch block in ocontext_copy_*(), and then adds a check in the initial sid case of the switch. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.