Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110027322
D23733.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D23733.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D23733: Teach libsysdecode/kdump/truss about shm_open2
Attached
Detach File
Event Timeline
Log In to Comment