File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -962,6 +962,7 @@ iso_args
962962kevent
963963key_t
964964killpg
965+ kinfo_vmentry
965966kqueue
966967labs
967968lastlog
Original file line number Diff line number Diff line change @@ -384,6 +384,23 @@ s! {
384384 pub dlpi_phdr: * const Elf_Phdr ,
385385 pub dlpi_phnum: Elf_Half ,
386386 }
387+
388+ // sys/sysctl.h
389+ pub struct kinfo_vmentry {
390+ pub kve_start: :: c_ulong,
391+ pub kve_end: :: c_ulong,
392+ pub kve_guard: :: c_ulong,
393+ pub kve_fspace: :: c_ulong,
394+ pub kve_fspace_augment: :: c_ulong,
395+ pub kve_offset: u64 ,
396+ pub kve_wired_count: :: c_int,
397+ pub kve_etype: :: c_int,
398+ pub kve_protection: :: c_int,
399+ pub kve_max_protection: :: c_int,
400+ pub kve_advice: :: c_int,
401+ pub kve_inheritance: :: c_int,
402+ pub kve_flags: u8 ,
403+ }
387404}
388405
389406impl siginfo_t {
You can’t perform that action at this time.
0 commit comments