From 9d33ec2fbf270940f9f5549b386ee4e39fadb147 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 7 Jun 2024 02:57:34 +0200 Subject: [PATCH] hurd: Add XATTR_CREATE, XATTR_REPLACE --- src/unix/hurd/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unix/hurd/mod.rs b/src/unix/hurd/mod.rs index 847b47843c19d..ea3a9e9660ac8 100644 --- a/src/unix/hurd/mod.rs +++ b/src/unix/hurd/mod.rs @@ -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;