@@ -16,11 +16,11 @@ int pass_fptr_to_wt(uint64_t fn_ptr_uint, uint64_t cageid, uint64_t arg1,
1616 uint64_t arg6 , uint64_t arg6cage ) {
1717 if (fn_ptr_uint == 0 ) {
1818 fprintf (stderr ,
19- "[Grate|interpose-exec ] Invalid function ptr\n" );
19+ "[Grate|diff-cage-args ] Invalid function ptr\n" );
2020 assert (0 );
2121 }
2222
23- printf ("[Grate|interpose-exec ] Handling function ptr: %llu from cage: "
23+ printf ("[Grate|diff-cage-args ] Handling function ptr: %llu from cage: "
2424 "%llu\n" ,
2525 fn_ptr_uint , cageid );
2626
@@ -64,7 +64,7 @@ int open_grate(uint64_t cageid, uint64_t arg1, uint64_t arg1cage, uint64_t arg2,
6464 uint64_t arg4 , uint64_t arg4cage , uint64_t arg5 ,
6565 uint64_t arg5cage , uint64_t arg6 , uint64_t arg6cage ) {
6666 printf (
67- "[Grate|interpose-exec ] In exec_grate %d handler for cage: %llu\n" ,
67+ "[Grate|diff-cage-args ] In open_grate %d handler for cage: %llu\n" ,
6868 getpid (), cageid );
6969
7070 int self_grate_id = getpid ();
@@ -124,13 +124,13 @@ int main(int argc, char *argv[]) {
124124 while (wait (& status ) > 0 ) {
125125 if (status != 0 ) {
126126 fprintf (stderr ,
127- "[Grate|interpose-exec ] FAIL: child exited "
127+ "[Grate|diff-cage-args ] FAIL: child exited "
128128 "with status %d\n" ,
129129 status );
130130 assert (0 );
131131 }
132132 }
133133
134- printf ("[Grate|interpose-exec ] PASS\n" );
134+ printf ("[Grate|diff-cage-args ] PASS\n" );
135135 return 0 ;
136136}
0 commit comments