Skip to content

Commit db0bd82

Browse files
authored
Merge pull request #3739 from sthibaul/hurd2
hurd: Add XATTR_CREATE, XATTR_REPLACE
2 parents cbbeb14 + 9d33ec2 commit db0bd82

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
@@ -2759,6 +2759,10 @@ pub const MREMAP_FIXED: ::c_int = 2;
27592759
pub const MCL_CURRENT: ::c_int = 0x0001;
27602760
pub const MCL_FUTURE: ::c_int = 0x0002;
27612761

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

0 commit comments

Comments
 (0)