diff options
author | Bill Zissimooulos <billziss@navimatics.com> | 2018-05-12 18:51:44 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2018-05-18 12:52:10 +0100 |
commit | d105fafabbd01d39dd98d4e7d24e41da5cb2680e (patch) | |
tree | dfd561c3891d3a90856d6a7ec360ea922fe545f1 /example | |
parent | 88da32d665eb3372f590675a5642c52f11c3ca03 (diff) |
rename: perform user mode dir loop check when not done in kernel
Linux performs the dir loop check (rename(a, a/b/c)
or rename(a/b/c, a), etc.) in kernel. Unfortunately
other systems do not perform this check (e.g. FreeBSD).
This results in a deadlock in get_path2, because libfuse
did not expect to handle such cases.
We add a check_dir_loop function that performs the dir
loop check in user mode and enable it on systems that
need it.
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions