FreeBSD Bugzilla – Attachment 210006 Details for
Bug 242620
sysutils/lsof: cannot build on current after r354895
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
sysutils_lsof.diff (text/plain), 1.39 KB, created by
Mikael Urankar
on 2019-12-17 14:21:51 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2019-12-17 14:21:51 UTC
Size:
1.39 KB
patch
obsolete
>Index: sysutils/lsof/files/patch-dialects_freebsd_dproc.c >=================================================================== >--- sysutils/lsof/files/patch-dialects_freebsd_dproc.c (nonexistent) >+++ sysutils/lsof/files/patch-dialects_freebsd_dproc.c (working copy) >@@ -0,0 +1,27 @@ >+--- dialects/freebsd/dproc.c.orig 2019-05-08 09:32:25.000000000 +0200 >++++ dialects/freebsd/dproc.c 2019-12-17 14:59:19.905502000 +0100 >+@@ -655,7 +655,15 @@ kread(addr, buf, len) >+ return((br == len) ? 0 : 1); >+ } >+ >++static int >++procstat_vm_map_reader(void *token, vm_map_entry_t addr, vm_map_entry_t dest) >++{ >++ kvm_t *kd; >+ >++ kd = (kvm_t *)token; >++ return (kvm_read(kd, (unsigned long)addr, dest, sizeof(*dest))); >++} >++ >+ /* >+ * process_text() - process text information >+ */ >+@@ -690,7 +698,7 @@ process_text(vm) >+ if (i == 0) >+ e = &vmsp.vm_map.header; >+ else { >+- if (!(ka = (KA_T)e->next)) >++ if (!(ka = (KA_T)vm_map_entry_read_succ(Kd, e, procstat_vm_map_reader))) >+ return; >+ e = &vmme; >+ if (kread(ka, (char *)e, sizeof(vmme))) > >Property changes on: sysutils/lsof/files/patch-dialects_freebsd_dproc.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242620
:
209929
|
209931
| 210006