Skip to content

Commit 9d33ec2

Browse files
sthibaulJohnTitor
authored andcommitted
hurd: Add XATTR_CREATE, XATTR_REPLACE
1 parent 9c1a4c3 commit 9d33ec2

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_short = 64;
27652769
pub const POSIX_SPAWN_SETSID: ::c_short = 128;

0 commit comments

Comments
 (0)