Skip to content

Commit ceaaf9f

Browse files
committed
linux-like: add AT_RECURSIVE constant
This adds the `AT_RECURSIVE` constant on Linux and Android. It is defined as part of the kernel uapi in `fcntl.h`: https://github.com/torvalds/linux/blob/v6.1/include/uapi/linux/fcntl.h#L112
1 parent f4bc851 commit ceaaf9f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ ATF_USETRAILERS
138138
AT_EMPTY_PATH
139139
AT_FDCWD
140140
AT_NO_AUTOMOUNT
141+
AT_RECURSIVE
141142
AT_REMOVEDIR
142143
AT_SYMLINK_FOLLOW
143144
AT_SYMLINK_NOFOLLOW

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ AT_PHENT
176176
AT_PHNUM
177177
AT_PLATFORM
178178
AT_RANDOM
179+
AT_RECURSIVE
179180
AT_REMOVEDIR
180181
AT_SECURE
181182
AT_SYMLINK_FOLLOW

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,7 @@ pub const AT_REMOVEDIR: ::c_int = 0x200;
12011201
pub const AT_SYMLINK_FOLLOW: ::c_int = 0x400;
12021202
pub const AT_NO_AUTOMOUNT: ::c_int = 0x800;
12031203
pub const AT_EMPTY_PATH: ::c_int = 0x1000;
1204+
pub const AT_RECURSIVE: ::c_int = 0x8000;
12041205

12051206
pub const LOG_CRON: ::c_int = 9 << 3;
12061207
pub const LOG_AUTHPRIV: ::c_int = 10 << 3;

0 commit comments

Comments
 (0)