e2486379b1
The following functions were replaced with their *at variants or similar: - lstat -> lstat -> fstatat - stat -> stat -> fstatat - fstat -> fstatat - fchmod -> fchmodat - fchown -> fchownat - lchown -> fchownat - mkfifo -> mkfifoat - open -> openat - renameat -> renameat2 - rmdir -> unlinkat - unlink -> unlinkat - symlink-> symlinkat The `open_flags` logic for fstatat was redundant, as this is already handled (and better so) in `openat2`. Additionally, the fstatat test succeeds in os-test, and no longer returns EINVAL. This is because `O_SYMLINK` is no longer unconditionally passed like it was before. This is a problem because redoxfs returns EINVAL if a node isn't a symlink but set `O_SYMLINK`.