Re: [PATCH 03/24] linux-user/strace: Expand struct flags to hold a mask

2023-07-03 Thread Alex Bennée
Richard Henderson writes: > A zero bit value does not make sense -- it must relate to > some field in some way. > > Define FLAG_BASIC with a build-time sanity check. > Adjust FLAG_GENERIC and FLAG_TARGET to use it. > Add FLAG_GENERIC_MASK and FLAG_TARGET_MASK. > > Fix up the existing flag defin

[PATCH 03/24] linux-user/strace: Expand struct flags to hold a mask

2023-06-30 Thread Richard Henderson
A zero bit value does not make sense -- it must relate to some field in some way. Define FLAG_BASIC with a build-time sanity check. Adjust FLAG_GENERIC and FLAG_TARGET to use it. Add FLAG_GENERIC_MASK and FLAG_TARGET_MASK. Fix up the existing flag definitions for build errors. Signed-off-by: Ric