⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

SYMLINK_MAX_DEPTH

Constant SYMLINK_MAX_DEPTH 

Source
pub const SYMLINK_MAX_DEPTH: usize = 40;
Expand description

Maximum number of symbolic link traversals before returning ELOOP.

POSIX recommends at least SYMLOOP_MAX (typically 8-40). We use 40 to be generous while still detecting infinite cycles.