File tree 2 files changed +10
-0
lines changed 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1516,6 +1516,13 @@ pub const P_ALL: idtype_t = 0;
1516
1516
pub const P_PID : idtype_t = 1 ;
1517
1517
pub const P_PGID : idtype_t = 2 ;
1518
1518
1519
+ pub const XATTR_NOFOLLOW : :: c_int = 0x0001 ;
1520
+ pub const XATTR_CREATE : :: c_int = 0x0002 ;
1521
+ pub const XATTR_REPLACE : :: c_int = 0x0004 ;
1522
+ pub const XATTR_NOSECURITY : :: c_int = 0x0008 ;
1523
+ pub const XATTR_NODEFAULT : :: c_int = 0x0010 ;
1524
+ pub const XATTR_SHOWCOMPRESSION : :: c_int = 0x0020 ;
1525
+
1519
1526
f ! {
1520
1527
pub fn WSTOPSIG ( status: :: c_int) -> :: c_int {
1521
1528
status >> 8
Original file line number Diff line number Diff line change @@ -697,6 +697,9 @@ pub const PR_CAP_AMBIENT_RAISE: ::c_int = 2;
697
697
pub const PR_CAP_AMBIENT_LOWER : :: c_int = 3 ;
698
698
pub const PR_CAP_AMBIENT_CLEAR_ALL : :: c_int = 4 ;
699
699
700
+ pub const XATTR_CREATE : :: c_int = 0x1 ;
701
+ pub const XATTR_REPLACE : :: c_int = 0x2 ;
702
+
700
703
f ! {
701
704
pub fn CPU_ZERO ( cpuset: & mut cpu_set_t) -> ( ) {
702
705
for slot in cpuset. bits. iter_mut( ) {
You can’t perform that action at this time.
0 commit comments