File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
src/unix/linux_like/linux/musl Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,34 @@ MPOL_DEFAULT
1010MPOL_INTERLEAVE
1111MPOL_LOCAL
1212MPOL_PREFERRED
13+ BOOT_TIME
14+ DEAD_PROCESS
1315Elf32_Chdr
1416Elf64_Chdr
17+ EMPTY
18+ INIT_PROCESS
1519LIO_NOP
1620LIO_NOWAIT
1721LIO_READ
1822LIO_WAIT
1923LIO_WRITE
24+ LOGIN_PROCESS
25+ NEW_TIME
26+ OLD_TIME
2027PF_IB
2128PF_MPLS
2229PF_XDP
2330PIDFD_NONBLOCK
2431PR_SET_VMA
2532PR_SET_VMA_ANON_NAME
33+ RUN_LVL
2634RWF_APPEND
2735RWF_DSYNC
2836RWF_HIPRI
2937RWF_NOWAIT
3038RWF_SYNC
3139SOL_XDP
40+ USER_PROCESS
3241XDP_SHARED_UMEM
3342XDP_COPY
3443XDP_ZEROCOPY
Original file line number Diff line number Diff line change @@ -632,6 +632,18 @@ pub const MAP_HUGE_16GB: ::c_int = 34 << MAP_HUGE_SHIFT;
632632
633633pub const MS_RMT_MASK : :: c_ulong = 0x02800051 ;
634634
635+ // include/utmpx.h
636+ pub const EMPTY : :: c_short = 0 ;
637+ pub const RUN_LVL : :: c_short = 1 ;
638+ pub const BOOT_TIME : :: c_short = 2 ;
639+ pub const NEW_TIME : :: c_short = 3 ;
640+ pub const OLD_TIME : :: c_short = 4 ;
641+ pub const INIT_PROCESS : :: c_short = 5 ;
642+ pub const LOGIN_PROCESS : :: c_short = 6 ;
643+ pub const USER_PROCESS : :: c_short = 7 ;
644+ pub const DEAD_PROCESS : :: c_short = 8 ;
645+ // musl does not define ACCOUNTING
646+
635647pub const SFD_CLOEXEC : :: c_int = 0x080000 ;
636648
637649pub const NCCS : usize = 32 ;
You can’t perform that action at this time.
0 commit comments