File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
src/unix/bsd/netbsdlike/netbsd Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1038,6 +1038,7 @@ fn test_netbsd(target: &str) {
10381038 "string.h" ,
10391039 "sys/endian.h" ,
10401040 "sys/exec_elf.h" ,
1041+ "sys/xattr.h" ,
10411042 "sys/extattr.h" ,
10421043 "sys/file.h" ,
10431044 "sys/ioctl.h" ,
Original file line number Diff line number Diff line change @@ -1534,4 +1534,7 @@ vm_size_t
15341534wait4
15351535waitid
15361536dirname
1537- basename
1537+ basename
1538+ XATTR_CREATE
1539+ XATTR_REPLACE
1540+ EXTATTR_NAMESPACE_EMPTY
Original file line number Diff line number Diff line change @@ -2315,6 +2315,12 @@ pub const _REG_RFLAGS: ::c_int = 23;
23152315pub const _REG_RSP: :: c_int = 24 ;
23162316pub const _REG_SS: :: c_int = 25 ;
23172317
2318+ // sys/xattr.h
2319+ pub const XATTR_CREATE : :: c_int = 0x01 ;
2320+ pub const XATTR_REPLACE : :: c_int = 0x02 ;
2321+ // sys/extattr.h
2322+ pub const EXTATTR_NAMESPACE_EMPTY : :: c_int = 0 ;
2323+
23182324const_fn ! {
23192325 { const } fn _ALIGN( p: usize ) -> usize {
23202326 ( p + _ALIGNBYTES) & !_ALIGNBYTES
You can’t perform that action at this time.
0 commit comments