From: Jérémie Galarneau Date: Fri, 28 Jun 2019 21:14:11 +0000 (-0400) Subject: Add rmdirat and renameat to run-as commands X-Git-Tag: v2.12.0-rc1~545 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=93bed9fe8f48c11b7bb1224db36d82404cea080d;hp=93bed9fe8f48c11b7bb1224db36d82404cea080d;p=lttng-tools.git Add rmdirat and renameat to run-as commands Add support for the rmdirat and renameat commands to the run-as infrastructure. These commands use the directory_handle compatibility layer to provide rename and directory deletion relative to a (or multiple) directory file descriptors. The rmdirat name is used even though there are no rmdirat syscall (at least on Linux). The functionality that would be provided by rmdirat() (vs rmdir) is provided through unlinkat(..., AT_REMOVEDIR). Signed-off-by: Jérémie Galarneau ---