[PATCH 6.1 4/5] attr: use consistent sgid stripping checks