Re: [PATCH for 6.2 34/49] bsd-user: Fix initializtion of task state

2021-08-10 Thread Warner Losh
On Tue, Aug 10, 2021 at 9:03 AM Richard Henderson < richard.hender...@linaro.org> wrote: > On 8/7/21 11:42 AM, Warner Losh wrote: > > @@ -459,21 +435,11 @@ int main(int argc, char **argv) > > qemu_log("entry 0x" TARGET_ABI_FMT_lx "\n", info->entry); > > } > > > > -target_

Re: [PATCH for 6.2 34/49] bsd-user: Fix initializtion of task state

2021-08-10 Thread Richard Henderson
On 8/7/21 11:42 AM, Warner Losh wrote: @@ -459,21 +435,11 @@ int main(int argc, char **argv) qemu_log("entry 0x" TARGET_ABI_FMT_lx "\n", info->entry); } -target_set_brk(info->brk); -syscall_init(); -signal_init(); - -/* - * Now that we've loaded the b

[PATCH for 6.2 34/49] bsd-user: Fix initializtion of task state

2021-08-07 Thread Warner Losh
From: Warner Losh Fix a number of mismerges in initializing the task state. Save a copy of bprm in this structure and move it earlier before starting to setup other state. Remove linux specific procfs access to find minimal vm address that likely is here through a misguided merge. Remove duplicat