@@ -2772,10 +2772,12 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
2772
2772
pr_info ("Found bootstrap VMA hint at: 0x%lx (needs ~%ldK)\n" , exec_mem_hint ,
2773
2773
KBYTES (restore_bootstrap_len ));
2774
2774
2775
+ pr_err ("\n" );
2775
2776
ret = remap_restorer_blob ((void * )exec_mem_hint );
2776
2777
if (ret < 0 )
2777
2778
goto err ;
2778
2779
2780
+ pr_err ("\n" );
2779
2781
/*
2780
2782
* Prepare a memory map for restorer. Note a thread space
2781
2783
* might be completely unused so it's here just for convenience.
@@ -2786,6 +2788,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
2786
2788
2787
2789
exec_mem_hint += restorer_len ;
2788
2790
2791
+ pr_err ("\n" );
2789
2792
/* VMA we need to run task_restore code */
2790
2793
mem = mmap ((void * )exec_mem_hint , args_len ,
2791
2794
PROT_READ | PROT_WRITE ,
@@ -2801,23 +2804,27 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
2801
2804
task_args = mem ;
2802
2805
thread_args = (struct thread_restore_args * )(task_args + 1 );
2803
2806
2807
+ pr_err ("\n" );
2804
2808
ret = prepare_creds (pid , task_args , & lsm );
2805
2809
if (ret < 0 ) {
2806
2810
pr_err ("Unable to restore credentials\n" );
2807
2811
goto err ;
2808
2812
}
2809
2813
2814
+ pr_err ("\n" );
2810
2815
if (lsm ) {
2811
2816
char * rendered ;
2812
2817
int ret ;
2813
2818
2819
+ pr_err ("\n" );
2814
2820
ret = render_lsm_profile (lsm , & rendered );
2815
2821
xfree (lsm );
2816
2822
if (ret < 0 ) {
2817
2823
pr_err ("Unable to render lsm profile\n" );
2818
2824
goto err_nv ;
2819
2825
}
2820
2826
2827
+ pr_err ("\n" );
2821
2828
lsm_pos = rst_mem_cpos (RM_PRIVATE );
2822
2829
lsm_profile_len = strlen (rendered );
2823
2830
lsm = rst_mem_alloc (lsm_profile_len + 1 , RM_PRIVATE );
@@ -2841,6 +2848,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
2841
2848
* address.
2842
2849
*/
2843
2850
2851
+ pr_err ("\n" );
2844
2852
mem += args_len ;
2845
2853
if (rst_mem_remap (mem ))
2846
2854
goto err ;
0 commit comments