|
From: <sv...@va...> - 2016-03-01 12:13:32
|
Author: iraisr
Date: Tue Mar 1 12:13:24 2016
New Revision: 15820
Log:
Solaris door: Restrict availability of REP_PROTOCOL_ENTITY_FMRI to certain repcache versions only
Follow-up for r15819.
n-i-bz
Modified:
trunk/coregrind/m_syswrap/syswrap-solaris.c
Modified: trunk/coregrind/m_syswrap/syswrap-solaris.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-solaris.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-solaris.c Tue Mar 1 12:13:24 2016
@@ -8241,6 +8241,7 @@
"entity_name->rpr_answertype)", r->rpr_answertype);
}
break;
+#if (SOLARIS_REPCACHE_PROTOCOL_VERSION >= 24) && (SOLARIS_REPCACHE_PROTOCOL_VERSION <= 30)
case VKI_REP_PROTOCOL_ENTITY_FMRI:
{
struct vki_rep_protocol_entity_fmri *r =
@@ -8249,6 +8250,7 @@
"entity_fmri->rpr_entityid)", r->rpr_entityid);
}
break;
+#endif /* 24 <= SOLARIS_REPCACHE_PROTOCOL_VERSION =< 30 */
#if (SOLARIS_REPCACHE_PROTOCOL_VERSION >= 25)
case VKI_REP_PROTOCOL_ENTITY_GET_ROOT:
{
|