diff options
author | Ralph Boehme <slow@samba.org> | 2018-03-13 16:58:49 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-07-24 17:38:27 +0200 |
commit | 7cb27238fe4e6dfc45cf3128ccd4a392aaf4e877 (patch) | |
tree | 835532e8cc38bf480c5ada98aba014e7d6000921 /lib/pthreadpool/pthreadpool_pipe.h | |
parent | 40d15260d24d0071732f47873f395fce29b8a6f4 (diff) | |
download | samba-7cb27238fe4e6dfc45cf3128ccd4a392aaf4e877.tar.gz |
configure: check for Linux specific unshare() with CLONE_FS
Note we still need some kind of runtime detection as
it can fail in some constraint container setups, which
reject the whole unshare() syscall instead of just the
once used for container features.
In case unshare(CLONE_FS) works, we can have a per thread
current working directory and use [f]chdir() safely in
worker threads.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'lib/pthreadpool/pthreadpool_pipe.h')
0 files changed, 0 insertions, 0 deletions