> On Jul 11, 2024, at 11:28 AM, Chuck Lever <chuck.lever@xxxxxxxxxx> wrote: > > On Thu, Jul 11, 2024 at 11:24:01AM -0400, Benjamin Coddington wrote: >> The GSS routine errors are values, not flags. As always, I meant to precede this remark with "I could be wrong, but ..." > My reading of kernel and user space GSS code is that these are > indeed flags and can be combined. The definitions are found in > include/linux/sunrpc/gss_err.h: > > To wit: > > 116 /* > 117 * Routine errors: > 118 */ > 119 #define GSS_S_BAD_MECH (((OM_uint32) 1ul) << GSS_C_ROUTINE_ERROR_OFFSET) > 120 #define GSS_S_BAD_NAME (((OM_uint32) 2ul) << GSS_C_ROUTINE_ERROR_OFFSET) > > .... -- Chuck Lever