1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00
Stefan Metzmacher 10fc65b74d s3:util_sec: add a cache to set_thread_credentials()
Calling set_thread_credentials() with the same values,
skips syscalls the 2nd time.

We only do this if '__thread' is supported to provide
thread local storage.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jul 24 20:35:17 CEST 2018 on sn-devel-144
2018-07-24 20:35:17 +02:00
..
2018-05-12 02:09:26 +02:00
2017-10-20 20:03:12 +02:00
2016-07-28 05:00:18 +02:00
2017-05-10 15:53:20 +02:00
2017-02-15 02:28:16 +01:00
2017-01-22 18:30:11 +01:00
2017-11-29 16:59:16 +01:00
2015-11-06 13:43:45 +01:00
2015-10-13 01:23:07 +02:00
2017-12-05 04:58:26 +01:00
2018-06-19 08:59:11 +02:00
2016-02-23 22:03:16 +01:00
2016-02-23 22:03:16 +01:00
2015-02-13 23:32:07 +01:00
2016-02-23 22:03:16 +01:00
2015-03-17 11:30:52 +01:00
2017-01-22 18:30:11 +01:00
2018-02-20 21:55:13 +01:00
2016-12-28 20:17:12 +01:00
2016-01-10 22:24:17 +01:00
2016-01-10 22:24:17 +01:00
2016-12-28 20:17:13 +01:00