On Wed, 2024-09-25 at 22:32 +0200, Benjamin Berg wrote: > > --- /dev/null > +++ b/arch/x86/um/shared/sysdep/stub-data.h > @@ -0,0 +1,18 @@ > +/* SPDX-License-Identifier: GPL-2.0 */
That new file should possibly have double-include guards as common.
Can we use #pragma once yet? ;)
> +static __always_inline void
> +stub_seccomp_restore_state(struct stub_data_arch *arch)
> +{
> + /* TODO: Use _writefsbase_u64/_writegsbase_u64 when possible */
Don't remember that, what was that about?
johannes
