I was developing some software on my targeted policy laptop, I use a /scratch partition which is just labeled as file_t. This works for nearly everything except for shared libraries which require execmod. I've attached a patch which allows execmod of file_type in the targeted policy when allow_execmod is true.
Created attachment 114966 [details] completely allow execmod in targeted
Since this is a te file that is only used in targeted if (allow_execmod) { allow unconfined_t file_type:file execmod; } is all that is needed. Modified in selinux-policy-targeted-1.23.18-2