Skip to content

Commit

Permalink
Merge pull request #3739 from sthibaul/hurd2
Browse files Browse the repository at this point in the history
hurd: Add XATTR_CREATE, XATTR_REPLACE
  • Loading branch information
JohnTitor authored Jun 15, 2024
2 parents cbbeb14 + 9d33ec2 commit db0bd82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/hurd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2759,6 +2759,10 @@ pub const MREMAP_FIXED: ::c_int = 2;
pub const MCL_CURRENT: ::c_int = 0x0001;
pub const MCL_FUTURE: ::c_int = 0x0002;

// sys/xattr.h
pub const XATTR_CREATE: ::c_int = 0x1;
pub const XATTR_REPLACE: ::c_int = 0x2;

// spawn.h
pub const POSIX_SPAWN_USEVFORK: ::c_short = 64;
pub const POSIX_SPAWN_SETSID: ::c_short = 128;
Expand Down

0 comments on commit db0bd82

Please sign in to comment.