s3:lib: add per_thread_cwd_{check,supported,disable,activate}() helper functions
authorStefan Metzmacher <metze@samba.org>
Fri, 11 Jan 2019 11:47:40 +0000 (12:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 11 Jan 2019 22:11:11 +0000 (23:11 +0100)
commit92c2ed4db29c8fa4e5989b5f6d611752bdaa523d
treebc59591bbf75ca69cbc68819165a3d8c773c68c8
parentad04a6ce49fc3811a62a3c736305cc06fb2611b9
s3:lib: add per_thread_cwd_{check,supported,disable,activate}() helper functions

Only Linux it's possible to have a per thread current working directory
using unshare(CLONE_FS).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/include/proto.h
source3/lib/per_thread_cwd.c [new file with mode: 0644]
source3/wscript_build