I googled-out this document for writing selinux-aware software application, but can’t find any of a link from RedHat.

Does this document exist? Besides, is there any tutorial for writing selinux-aware programs?

I have read “Red Hat SELinux Guide”, NSA “Implementing SELinux as a Linux Security Module,” … and some other documents about writing selinux policy.

But still don’t get it how to write such a program. Please give me some directions. Thx.