lkml.org 
[lkml]   [2008]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/15] sanitize AUDIT_MQ_SENDRECV
On Wed, Dec 17, 2008 at 06:40:54PM +1100, James Morris wrote:
> On Wed, 17 Dec 2008, Al Viro wrote:
>
> >
> > * logging the original value of *msg_prio in mq_timedreceive(2)
> > is insane - the argument is write-only (i.e. syscall always
> > ignores the original value and only overwrites it).
>
> I wonder if any existing certifications need to be amended.

I rather doubt it, but I really don't know the bureaucracy of that.
Just to clarify:
Old code logs the value of *msg_prio; that value is always
ignored by syscall (it may store something there, but that's it -
pure output parameter)
New code does not change the format of log message; the value
in that field of the message is replaced with 0. That's the only
difference.

Whether that requires amending of the existing certs... bugger if I know.


\
 
 \ /
  Last update: 2008-12-17 10:43    [W:0.040 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site