|
From: <sv...@va...> - 2016-02-29 20:20:45
|
Author: iraisr
Date: Mon Feb 29 20:20:36 2016
New Revision: 15819
Log:
Solaris door: Add support for REP_PROTOCOL_ENTITY_FMRI
n-i-bz
Modified:
trunk/coregrind/m_syswrap/syswrap-solaris.c
trunk/include/vki/vki-solaris-repcache.h
Modified: trunk/coregrind/m_syswrap/syswrap-solaris.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-solaris.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-solaris.c Mon Feb 29 20:20:36 2016
@@ -8241,6 +8241,14 @@
"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 @@
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;
}
Modified: trunk/include/vki/vki-solaris-repcache.h
==============================================================================
--- trunk/include/vki/vki-solaris-repcache.h (original)
+++ trunk/include/vki/vki-solaris-repcache.h Mon Feb 29 20:20:36 2016
@@ -328,6 +328,10 @@
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;
|