]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Solaris door: Add support for REP_PROTOCOL_ENTITY_FMRI
authorIvo Raisr <ivosh@ivosh.net>
Mon, 29 Feb 2016 20:20:36 +0000 (20:20 +0000)
committerIvo Raisr <ivosh@ivosh.net>
Mon, 29 Feb 2016 20:20:36 +0000 (20:20 +0000)
n-i-bz

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

coregrind/m_syswrap/syswrap-solaris.c
include/vki/vki-solaris-repcache.h

index 3d0a5226ba2ab082b2214b60653ac3b5a56cd97f..f45d01664feb67ef23575e849af6d565b89a0445 100644 (file)
@@ -8241,6 +8241,14 @@ static void repository_door_pre_mem_door_call_hook(ThreadId tid, Int fd,
                            "entity_name->rpr_answertype)", r->rpr_answertype);
          }
          break;
+      case VKI_REP_PROTOCOL_ENTITY_FMRI:
+         {
+            struct vki_rep_protocol_entity_fmri *r =
+               (struct vki_rep_protocol_entity_fmri *) p;
+            PRE_FIELD_READ("door_call(\"" VKI_REPOSITORY_DOOR_NAME "\", "
+                           "entity_fmri->rpr_entityid)", r->rpr_entityid);
+         }
+         break;
 #if (SOLARIS_REPCACHE_PROTOCOL_VERSION >= 25)
       case VKI_REP_PROTOCOL_ENTITY_GET_ROOT:
          {
@@ -8360,7 +8368,7 @@ static void repository_door_pre_mem_door_call_hook(ThreadId tid, Int fd,
          break;
       default:
          VG_(unimplemented)("Door wrapper of " VKI_REPOSITORY_DOOR_NAME
-                            " where rpr_request=%u.", p->rpr_request);
+                            " where rpr_request=%#x.", p->rpr_request);
          /* NOTREACHED */
          break;
       }        
index 96d76975c8551357d440f3979e23b3b5b83788ff..4ef6808d9d256d52141ffb38fa3dc9331373fe1e 100644 (file)
@@ -328,6 +328,10 @@ struct vki_rep_protocol_entity_name {
    vki_uint32_t rpr_entityid;
    vki_uint32_t rpr_answertype;
 };
+struct vki_rep_protocol_entity_fmri {
+   enum vki_rep_protocol_requestid rpr_request;
+   vki_uint32_t rpr_entityid;
+};
 struct vki_rep_protocol_entity_get {
    enum vki_rep_protocol_requestid rpr_request;
    vki_uint32_t rpr_entityid;