From: Ivo Raisr Date: Tue, 1 Mar 2016 12:13:24 +0000 (+0000) Subject: Solaris door: Restrict availability of REP_PROTOCOL_ENTITY_FMRI to certain repcache... X-Git-Tag: svn/VALGRIND_3_12_0~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728e88fa2cbe7a09e2332206c6c5b96142a60344;p=thirdparty%2Fvalgrind.git Solaris door: Restrict availability of REP_PROTOCOL_ENTITY_FMRI to certain repcache versions only Follow-up for r15819. n-i-bz git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15820 --- diff --git a/coregrind/m_syswrap/syswrap-solaris.c b/coregrind/m_syswrap/syswrap-solaris.c index f45d01664f..7ac876fe8c 100644 --- a/coregrind/m_syswrap/syswrap-solaris.c +++ b/coregrind/m_syswrap/syswrap-solaris.c @@ -8241,6 +8241,7 @@ static void repository_door_pre_mem_door_call_hook(ThreadId tid, Int fd, "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 @@ static void repository_door_pre_mem_door_call_hook(ThreadId tid, Int fd, "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: {