On Wed, Jun 09, 2021 at 09:01:34AM -0600, Theo de Raadt wrote:
> Josh Rickmar <[email protected]> wrote:
> 
> > I figure that the manpage is probably the more consulted reference,
> > and the order that is preferred, so the patch below reorders the
> > promise names in pledge.h to match.
> 
> The current array was value-sorted (by the bit value) to allow binary
> search.  However no code is actually using binary search.  Honestly it
> will be hard to maintain this correctly in the future because of the
> symbolic names overlaying the bit values.
> 
> The order of the manual pages has come up in discussion before.  Some folk
> wanted them to be in alphabetic order, but I pushed back, because the order
> we use is better for learning incrementally.
> 
> So we have 3 orders to consider:  bit order, name order, or man page order.
> 
> My gut reaction is to agree -- man page order is the way to go.
> 
> Let's wait a little while and see what others say.

it is fine with me.

thanks.
-- 
Sebastien Marie

Reply via email to