Skip to content

Commit 18210ca

Browse files
sthibaultgross35
authored andcommitted
hurd: Add XATTR_CREATE, XATTR_REPLACE
(backport <rust-lang#3739>) (cherry picked from commit 9d33ec2)
1 parent ca7e96a commit 18210ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/hurd/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2760,6 +2760,10 @@ pub const MREMAP_FIXED: ::c_int = 2;
27602760
pub const MCL_CURRENT: ::c_int = 0x0001;
27612761
pub const MCL_FUTURE: ::c_int = 0x0002;
27622762

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

0 commit comments

Comments
 (0)