[Bug 273956] KERN_PROC_VMMAP does not read all mapped files
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 273956] KERN_PROC_VMMAP does not read all mapped files"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Sep 2023 18:42:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273956 --- Comment #6 from Ed Maste <emaste@freebsd.org> --- On 13.2 for /bin/sleep I see: PID START END PRT RES PRES REF SHD FLAG TP PATH 1120 0x2a57e7f66000 0x2a57e7f67000 r-- 1 2 3 1 CN--- vn /bin/sleep 1120 0x2a57e7f67000 0x2a57e7f69000 r-x 2 2 3 1 CN--- vn /bin/sleep 1120 0x2a57e7f69000 0x2a57e7f6a000 rw- 1 0 1 0 C---- vn /bin/sleep 1120 0x2a57e7f6a000 0x2a57e7f6b000 rw- 1 1 1 0 ----- df 1120 0x2a5fe86e6000 0x2a60086c6000 --- 0 0 0 0 ----- gd ... phdrs: LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000bac 0x0000000000000bac R 0x1000 LOAD 0x0000000000000bb0 0x0000000000001bb0 0x0000000000001bb0 0x0000000000000820 0x0000000000000820 R E 0x1000 LOAD 0x00000000000013d0 0x00000000000033d0 0x00000000000033d0 0x00000000000001f8 0x00000000000001f8 RW 0x1000 LOAD 0x00000000000015c8 0x00000000000045c8 0x00000000000045c8 0x00000000000000c0 0x00000000000000d0 RW 0x1000 So it seems that we have all but the last PT_LOAD in each case, it's just that 13.2 has four PT_LOAD segments (R, RX, RW, RW) and we see 3 in procstat while 14.0 has three segments (R, RX, RW) and we see 2. -- You are receiving this mail because: You are the assignee for the bug.