From 728e88fa2cbe7a09e2332206c6c5b96142a60344 Mon Sep 17 00:00:00 2001 From: Ivo Raisr Date: Tue, 1 Mar 2016 12:13:24 +0000 Subject: [PATCH] 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 --- coregrind/m_syswrap/syswrap-solaris.c | 2 ++ 1 file changed, 2 insertions(+) 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: { -- 2.47.2