Skip to content

Commit 886329b

Browse files
authored
Merge pull request #1693 from Freaky/linux-at-eaccess
Add missing AT_ constants
2 parents 69f9844 + 5d8dccc commit 886329b

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/fuchsia/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,6 +1966,7 @@ pub const POSIX_FADV_WILLNEED: ::c_int = 3;
19661966
pub const AT_FDCWD: ::c_int = -100;
19671967
pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x100;
19681968
pub const AT_REMOVEDIR: ::c_int = 0x200;
1969+
pub const AT_EACCESS: ::c_int = 0x200;
19691970
pub const AT_SYMLINK_FOLLOW: ::c_int = 0x400;
19701971
pub const AT_NO_AUTOMOUNT: ::c_int = 0x800;
19711972
pub const AT_EMPTY_PATH: ::c_int = 0x1000;

src/unix/linux_like/linux/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,8 @@ pub const RTLD_DEFAULT: *mut ::c_void = 0i64 as *mut ::c_void;
12051205
pub const RTLD_NODELETE: ::c_int = 0x1000;
12061206
pub const RTLD_NOW: ::c_int = 0x2;
12071207

1208+
pub const AT_EACCESS: ::c_int = 0x200;
1209+
12081210
pub const TCP_MD5SIG: ::c_int = 14;
12091211

12101212
align_const! {

src/unix/solarish/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,10 @@ pub const WNOWAIT: ::c_int = 0x80;
11021102

11031103
pub const AT_FDCWD: ::c_int = 0xffd19553;
11041104
pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x1000;
1105+
pub const AT_SYMLINK_FOLLOW: ::c_int = 0x2000;
1106+
pub const AT_REMOVEDIR: ::c_int = 0x1;
1107+
pub const _AT_TRIGGER: ::c_int = 0x2;
1108+
pub const AT_EACCESS: ::c_int = 0x4;
11051109

11061110
pub const P_PID: idtype_t = 0;
11071111
pub const P_PPID: idtype_t = 1;

src/unix/uclibc/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,7 @@ pub const POSIX_FADV_WILLNEED: ::c_int = 3;
10451045
pub const AT_FDCWD: ::c_int = -100;
10461046
pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x100;
10471047
pub const AT_REMOVEDIR: ::c_int = 0x200;
1048+
pub const AT_EACCESS: ::c_int = 0x200;
10481049
pub const AT_SYMLINK_FOLLOW: ::c_int = 0x400;
10491050

10501051
pub const LOG_CRON: ::c_int = 9 << 3;

0 commit comments

Comments
 (0)