On Wed, Jan 9, 2013 at 7:03 AM, Ondrej Oprala <ooprala@xxxxxxxxxx> wrote: > Thank you for the pointers, it helped me out a lot. I tested the patched > libselinux with > $cp -a dir1 dir2 > and got an approx. 20% save in instruction count. The patch is attached. > Thanks, Thanks! I'm working on it right now. You did the: __selinux_once(once, init_procattr); init_thread_destructor(); Before variable declaration and you do not handle context==NULL, which is how you clear the value. I'll fix both of those up and apply to the devel tree. Thanks so much! -- 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.