Re: [PATCH v2 08/12] powerpc/ptrace: Expose HASHKEYR register to ptrace

2023-05-07 Thread Russell Currey
On Thu, 2023-03-30 at 16:50 +1100, Benjamin Gray wrote: > The HASHKEYR register contains a secret per-process key to enable > unique > hashes per process. In general it should not be exposed to userspace > at all and a regular process has no need to know its key. > > However, checkpoint restore in

[PATCH v2 08/12] powerpc/ptrace: Expose HASHKEYR register to ptrace

2023-03-29 Thread Benjamin Gray
The HASHKEYR register contains a secret per-process key to enable unique hashes per process. In general it should not be exposed to userspace at all and a regular process has no need to know its key. However, checkpoint restore in userspace (CRIU) functionality requires that a process be able to s