chiark / gitweb /
copy: put a depth limit on copying file system trees recursively
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Jun 2018 11:24:03 +0000 (13:24 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit71a053fff0eb3057822d4dec809f7078c3c9a95b
tree72b05b764e334136ce6ae3b9cdfbd3b3ad491b12
parent46d4c3a36a98c9f3add60e1d4e25b4fed1d304da
copy: put a depth limit on copying file system trees recursively

This is a safety net against bind mount cycles, as such pick it
relatively high at 2048 for now.

As suggested by @filbranden on #9213
src/basic/copy.c