From 61aec2c1954a9aa0007683f1b4546686dd4f81e5 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 12 Sep 2025 16:23:19 +0200 Subject: [PATCH] uucore/safe_traversal: adapt file header --- src/uucore/src/lib/features/safe_traversal.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/uucore/src/lib/features/safe_traversal.rs b/src/uucore/src/lib/features/safe_traversal.rs index 8c333c1fb..8ae51f563 100644 --- a/src/uucore/src/lib/features/safe_traversal.rs +++ b/src/uucore/src/lib/features/safe_traversal.rs @@ -1,8 +1,15 @@ +// This file is part of the uutils coreutils package. +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. +// // Safe directory traversal using openat() and related syscalls // This module provides TOCTOU-safe filesystem operations for recursive traversal +// // Only available on Linux +// // spell-checker:ignore CLOEXEC RDONLY TOCTOU closedir dirp fdopendir fstatat openat REMOVEDIR unlinkat smallfile -// spell-checker:ignore RAII dirfd +// spell-checker:ignore RAII dirfd #![cfg(target_os = "linux")]