github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/tao/proto/linux_host_admin_rpc.proto (about) 1 // Copyright (c) 2013, Google Inc. All rights reserved. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 syntax = "proto2"; 15 16 package tao; 17 18 message LinuxHostAdminRPCRequest { 19 optional bytes subprin = 1; // = auth.Marshal(auth.SubPrin) 20 optional string path = 2; 21 repeated string args = 3; 22 optional int32 pid = 4; 23 optional string dir = 5; 24 repeated string container_args = 6; 25 optional int32 stdin = 7; 26 optional int32 stdout = 8; 27 optional int32 stderr = 9; 28 } 29 30 message LinuxHostAdminRPCHostedProgram { 31 required bytes subprin = 1; // = auth.Marshal(auth.SubPrin) 32 required int32 pid = 2; 33 } 34 35 message LinuxHostAdminRPCResponse { 36 repeated LinuxHostAdminRPCHostedProgram child = 1; 37 optional bytes prin = 2; // = auth.Marshal(auth.Prin) 38 optional int32 status = 3; 39 } 40