>but, if the thread invode setfscreatecon() is a child thread in a >process, then, the /proc/self will point the main thread of the process This may not be the exact answer you want...but pam is not thread safe at all. Not just for this reason, but because it uses functions that are known to be unsafe in threaded apps. -Steve __________________________________________ Yahoo! DSL ? Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com -- fedora-selinux-list mailing list fedora-selinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-selinux-list