Page MenuHomeFreeBSD

D23733.diff
No OneTemporary

D23733.diff

Index: head/lib/libsysdecode/flags.c
===================================================================
--- head/lib/libsysdecode/flags.c
+++ head/lib/libsysdecode/flags.c
@@ -1277,3 +1277,10 @@
}
}
}
+
+bool
+sysdecode_shmflags(FILE *fp, int flags, int *rem)
+{
+
+ return (print_mask_0(fp, shmflags, flags, rem));
+}
Index: head/lib/libsysdecode/mktables
===================================================================
--- head/lib/libsysdecode/mktables
+++ head/lib/libsysdecode/mktables
@@ -165,6 +165,7 @@
else
gen_table "sysarchnum" "[A-Z_]+[[:space:]]+[0-9]+" "machine/sysarch.h"
fi
+gen_table "shmflags" "SHM_[A-Z_]+[[:space:]]+0x[0-9]+" "sys/mman.h" "SHM_ANON"
# Generate a .depend file for our output file
if [ -n "$output_file" ]; then
Index: head/lib/libsysdecode/sysdecode.h
===================================================================
--- head/lib/libsysdecode/sysdecode.h
+++ head/lib/libsysdecode/sysdecode.h
@@ -128,5 +128,6 @@
bool sysdecode_wait4_options(FILE *_fp, int _options, int *_rem);
bool sysdecode_wait6_options(FILE *_fp, int _options, int *_rem);
const char *sysdecode_whence(int _whence);
+bool sysdecode_shmflags(FILE *_fp, int _flags, int *_rem);
#endif /* !__SYSDECODE_H__ */

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 13, 4:50 PM (21 h, 41 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16630278
Default Alt Text
D23733.diff (1 KB)

Event Timeline