Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
hurd: Add XATTR_CREATE, XATTR_REPLACE
  • Loading branch information
sthibaul authored and JohnTitor committed Jun 15, 2024
commit 9d33ec2fbf270940f9f5549b386ee4e39fadb147
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