Module Name: src
Committed By: christos
Date: Mon Oct 5 17:47:37 UTC 2015
Modified Files:
src/external/cddl/osnet/dist/lib/libdtrace/common: dt_open.c
Log Message:
Add definitions for uid_t and gid_t for NetBSD because we are screwing up
with the names in the kernel and the ctf sections end up having only __uid_t
and __gid_t.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c
diff -u src/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c:1.6 src/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c:1.7
--- src/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c:1.6 Thu Sep 24 10:25:29 2015
+++ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c Mon Oct 5 13:47:37 2015
@@ -640,6 +640,10 @@ static const dt_typedef_t _dtrace_typede
{ "unsigned", "size_t" },
{ "long", "id_t" },
{ "long", "pid_t" },
+#ifdef __NetBSD__
+{ "unsigned int", "uid_t" },
+{ "unsigned int", "gid_t" },
+#endif
{ NULL, NULL }
};
@@ -668,6 +672,10 @@ static const dt_typedef_t _dtrace_typede
{ "unsigned long", "size_t" },
{ "int", "id_t" },
{ "int", "pid_t" },
+#ifdef __NetBSD__
+{ "unsigned int", "uid_t" },
+{ "unsigned int", "gid_t" },
+#endif
{ NULL, NULL }
};