Page MenuHomeFreeBSD

D21706.id62276.diff
No OneTemporary

D21706.id62276.diff

Index: lib/libsysdecode/flags.c
===================================================================
--- lib/libsysdecode/flags.c
+++ lib/libsysdecode/flags.c
@@ -657,7 +657,16 @@
bool
sysdecode_mmap_prot(FILE *fp, int prot, int *rem)
{
+ int protm;
+ bool ret;
+ protm = PROT_MAX_EXTRACT(prot);
+ if (protm != 0) {
+ fputs("PROT_MAX(", fp);
+ ret = print_mask_int(fp, mmapprot, protm, rem);
+ fputs(")", fp);
+ return (ret);
+ }
return (print_mask_int(fp, mmapprot, prot, rem));
}

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 17, 2:26 PM (7 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40952736
Default Alt Text
D21706.id62276.diff (495 B)

Event Timeline