Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240613152931.GX10433@brightrain.aerifal.cx>
Date: Thu, 13 Jun 2024 11:29:31 -0400
From: Rich Felker <dalias@...c.org>
To: erny hombre <hombre67@....at>
Cc: musl@...ts.openwall.com
Subject: Re: Re: possible bug in syslog

On Thu, Jun 13, 2024 at 04:51:59PM +0200, erny hombre wrote:
> Hello,
> 
> Rich wrote:
> > This assertion itself is not valid; the whole reason a LOG_MAKEPRI
> > macro exists is that it's not guaranteed that the packing be
> > simple or.
> 
> Here
> (https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/syslog.html)
> I found this:
> Values of the priority argument are formed by OR'ing together a
> severity-level value and an optional facility value.
> 
> So I think a simple or should be correct.

Oh, I completely missed that and thought this was an extension.
Indeed, it's the LOG_MAKEPRI thing that's nonstandard way to do
something that already has a standard way to do it, and since our
definition of it is wrong, it just needs to be fixed.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.