Skip to content

Commit

Permalink
hurd: Add XATTR_CREATE, XATTR_REPLACE
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul authored and JohnTitor committed Jun 15, 2024
1 parent 9c1a4c3 commit 9d33ec2
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 @@ -2760,6 +2760,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 9d33ec2

Please sign in to comment.