Skip to content

Commit c021be9

Browse files
sthibaulAkhilTThomas
authored andcommitted
hurd: Add XATTR_CREATE, XATTR_REPLACE
(backport <rust-lang#3739>) (cherry picked from commit 9d33ec2)
1 parent 9515dcb commit c021be9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/hurd/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2761,6 +2761,10 @@ pub const MCL_FUTURE: c_int = 0x0002;
27612761
pub const XATTR_CREATE: c_int = 0x1;
27622762
pub const XATTR_REPLACE: c_int = 0x2;
27632763

2764+
// sys/xattr.h
2765+
pub const XATTR_CREATE: ::c_int = 0x1;
2766+
pub const XATTR_REPLACE: ::c_int = 0x2;
2767+
27642768
// spawn.h
27652769
pub const POSIX_SPAWN_USEVFORK: c_short = 64;
27662770
pub const POSIX_SPAWN_SETSID: c_short = 128;

0 commit comments

Comments
 (0)