Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1215588
| From | Andreas Grünbacher <andreas.gruenbacher@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC v6 10/40] richacl: Permission check algorithm |
| Date | 2015-08-29 00:10 +0200 |
| Message-ID | <q2A0q-7MI-25@gated-at.bofh.it> (permalink) |
| References | <pTJ2V-1c2-3@gated-at.bofh.it> <pTJ2Y-1c2-41@gated-at.bofh.it> <q2zH4-7az-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2015-08-28 23:49 GMT+02:00 J. Bruce Fields <bfields@fieldses.org>:
> On Tue, Aug 04, 2015 at 01:53:08PM +0200, Andreas Gruenbacher wrote:
>> + /*
>> + * We don't care which class the process is in when the acl is
>> + * not masked.
>> + */
>> + in_owner_or_group_class = 1;
>
> So why bother setting it at all, then? Oh, I see, it lets you break out
> of the loop below earlier. OK.
Comment changed to:
/*
* When the acl is not masked, there is no need to determine if
* the process is in the group class and we can earlier break
* out of the loop below.
*/
> Patch makes sense to me, ACK.
Thanks,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [RFC v6 10/40] richacl: Permission check algorithm bfields@fieldses.org (J. Bruce Fields) - 2015-08-28 23:50 +0200
Re: [RFC v6 10/40] richacl: Permission check algorithm Andreas Grünbacher <andreas.gruenbacher@gmail.com> - 2015-08-29 00:10 +0200
Re: [RFC v6 10/40] richacl: Permission check algorithm "J. Bruce Fields" <bfields@fieldses.org> - 2015-08-31 17:30 +0200
csiph-web