Move set_thread_credentials_permanently() to set_thread_credentials()
authorJeremy Allison <jra@samba.org>
Tue, 10 Jul 2012 23:56:20 +0000 (16:56 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 11 Jul 2012 01:54:00 +0000 (03:54 +0200)
commitd81e20653baa53c678b2c421d90b6351a7388a37
treea41729643874d4da5e8e59f8f12a970b8fd86393
parentb25619175f9ed3a62210b5b9f9cda7c4cde4f0db
Move set_thread_credentials_permanently() to set_thread_credentials()
as we need to keep the saved set uid/gid otherwise there is an
interaction with open[at]() and NO_ATIME returning EPERM. As this
is meant for threaded code inside the process we don't need
to do an irreverisble change anyway.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jul 11 03:54:00 CEST 2012 on sn-devel-104
source3/include/proto.h
source3/lib/util_sec.c