Date: Wed, 20 Sep 2023 18:42:28 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273956] KERN_PROC_VMMAP does not read all mapped files Message-ID: <bug-273956-227-0NBg6cHFzm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273956-227@https.bugs.freebsd.org/bugzilla/> References: <bug-273956-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273956 --- 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= =20 1120 0x2a5fe86e6000 0x2a60086c6000 --- 0 0 0 0 ----- gd= =20 ... 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 t= hat 13.2 has four PT_LOAD segments (R, RX, RW, RW) and we see 3 in procstat whi= le 14.0 has three segments (R, RX, RW) and we see 2. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273956-227-0NBg6cHFzm>