quotaops: Checking egid with BSD_BEHAVIOR

It is undefined whether getgroups() call will return current egid in the
list of groups it returns. Add an explicit check for egid to the
permission checks performed when BSD_BEHAVIOUR is enabled.

Signed-off-by: Jan Kara <jack@suse.cz>
1 file changed