HomeFreeBSD

linux(4): Fixup the vDSO initialization order.

Description

linux(4): Fixup the vDSO initialization order.

The vDSO initialisation order should be as follows:

  • native abi init via exec_sysvec_init();
  • vDSO symbols queued to the linux_vdso_syms list;
  • linux_vdso_install();
  • linux_exec_sysvec_init();

As the exec_sysvec_init() called with SI_ORDER_ANY (last) at SI_SUB_EXEC
order, move linux_vdso_install() and linux_exec_sysvec_init() to the
SI_SUB_EXEC+1 order.

Reviewed by: trasz
Differential Revision: https://reviews.freebsd.org/D30902
MFC after 2 weeks

Details

Provenance
dchaginAuthored on Jul 20 2021, 7:02 AM
Reviewer
trasz
Differential Revision
D30902: linux(4): Fixup the vDSO initialization order.
Parents
rGa543556c8128: linux(4): Constify vdso install/deinstall.
Branches
Unknown
Tags
Unknown