<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Eric Paris wrote:
<blockquote cite="mid:1218571902.3540.2.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">On Tue, 2008-08-12 at 15:58 -0400, John Dennis wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">So many people have complained about this; I do not understand the
resistance to fixing it. The argument it would break something which
is broken to begin with does not seem like a reasonable justification
to me. The sooner it's fixed the better IMHO.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Show me the code and I'll start trying to fix the kernel based on that
code as best we can.  But before you start read over the article

Can user-space bugs be kernel regressions?
<a class="moz-txt-link-freetext" href="http://lwn.net/Articles/292143/">http://lwn.net/Articles/292143/</a>

As soon as you grasp that article send me the code and we'll work
together to fix this problem!

  </pre>
</blockquote>
<br>
Perhaps you should grasp the concept this is not a user space bug but a
flawed implementation. Anyone with the most basic understanding of
parsing and protocols would never defend the current implementation
(the fact it's in the kernel does not suspend the laws of computer
science and justify it).<br>
<br>
Let me give you a simple example, suppose this key/value pair was in an
audit record:<br>
<br>
foo=00<br>
<br>
How does one know which of the possible values foo has:<br>
<br>
1) it's the integer zero (but in what radix? does the leading zero
imply octal or is it just an insignificant digit?)<br>
<br>
2) it's the hexadecimal encoding of a single character string
containing one null byte.<br>
<br>
3) it's the 2 character string "00" consisting of two zero characters.<br>
<br>
The fact is it's ambiguous, it could be any of the above. It's
ambiguous because the audit stream is an improperly specified protocol.<br>
<pre class="moz-signature" cols="72">-- 
John Dennis <a class="moz-txt-link-rfc2396E" href="mailto:jdennis@redhat.com"><jdennis@redhat.com></a>
</pre>
</body>
</html>