According to http://linux.die.net/man/3/context_new, "On success, zero is returned" but none of the functions mentioned return 0. They are all returning const char * or void. Can someone please clarify in which case 0 will be returned? In other words, how can I find out if call to context_new succeeded? Thanks, Gaurav -- 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.