adding SID to upcall

This commit is contained in:
Casey Bodley 2010-10-12 09:55:32 -04:00
parent 27d764710e
commit 86c16a7197
4 changed files with 32 additions and 5 deletions

View file

@ -123,8 +123,11 @@ int upcall_parse(
if (status) goto out;
status = safe_read(&buffer, &length, &upcall->opcode, sizeof(uint32_t));
if (status) goto out;
status = get_name(&buffer, &length, upcall->sid);
if (status) goto out;
dprintf(2, "xid=%d opcode=%s\n", upcall->xid, opcode2string(upcall->opcode));
dprintf(2, "xid=%d opcode=%s SID=%s\n", upcall->xid,
opcode2string(upcall->opcode), upcall->sid);
if (upcall->opcode >= g_upcall_op_table_size) {
status = ERROR_NOT_SUPPORTED;