Re: [PATCH 1/6] linux-user: Split out do_prctl and subroutines

2021-12-22 Thread Laurent Vivier
Le 20/12/2021 à 22:41, Richard Henderson a écrit : Since the prctl constants are supposed to be generic, supply any that are not provided by the host. Split out subroutines for PR_GET_FP_MODE, PR_SET_FP_MODE, PR_GET_VL, PR_SET_VL, PR_RESET_KEYS, PR_SET_TAGGED_ADDR_CTRL, PR_GET_TAGGED_ADDR_CTRL.

Re: [PATCH 1/6] linux-user: Split out do_prctl and subroutines

2021-12-20 Thread Philippe Mathieu-Daudé
On 12/20/21 22:41, Richard Henderson wrote: > Since the prctl constants are supposed to be generic, supply > any that are not provided by the host. > > Split out subroutines for PR_GET_FP_MODE, PR_SET_FP_MODE, > PR_GET_VL, PR_SET_VL, PR_RESET_KEYS, PR_SET_TAGGED_ADDR_CTRL, > PR_GET_TAGGED_ADDR_CTR

[PATCH 1/6] linux-user: Split out do_prctl and subroutines

2021-12-20 Thread Richard Henderson
Since the prctl constants are supposed to be generic, supply any that are not provided by the host. Split out subroutines for PR_GET_FP_MODE, PR_SET_FP_MODE, PR_GET_VL, PR_SET_VL, PR_RESET_KEYS, PR_SET_TAGGED_ADDR_CTRL, PR_GET_TAGGED_ADDR_CTRL. Return EINVAL for guests that do not support these o