]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Solaris door: Restrict availability of REP_PROTOCOL_ENTITY_FMRI to certain repcache...
authorIvo Raisr <ivosh@ivosh.net>
Tue, 1 Mar 2016 12:13:24 +0000 (12:13 +0000)
committerIvo Raisr <ivosh@ivosh.net>
Tue, 1 Mar 2016 12:13:24 +0000 (12:13 +0000)
Follow-up for r15819.
n-i-bz

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15820

coregrind/m_syswrap/syswrap-solaris.c

index f45d01664feb67ef23575e849af6d565b89a0445..7ac876fe8c8c84024aa93c9b8f0b2673e160e046 100644 (file)
@@ -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:
          {