On 14.01.21 20:24, Andrew Cooper wrote: > On 14/01/2021 15:37, Juergen Gross wrote: >> Refuse a call of xenevtchn_open() with unsupported bits in flags being >> set. >> >> Suggested-by: Andrew Cooper >> Signed-off-by: Juergen Gross > > Reviewed-by: Andrew Cooper > > Possibly worth stating that this potentially going to cause problems for > callers who were already passing junk into the flags field, but this is > far cleaner than the fallout of slowly changing the meaning of said junk > slowly as we add new parameters. Added the following: This will change behavior for callers passing junk in flags today, but those would otherwise get probably unwanted side effects when the flags they specify today get any meaning. So checking flags is the right thing to do. Juergen