lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 30 Jun 2008 08:30:30 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Glauber Costa <gcosta@...hat.com>
Cc:	linux-kernel@...r.kernel.org, tglx@...utronix.de, x86@...nel.org,
	"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH 25/39] merge common parts of uaccess.


* Glauber Costa <gcosta@...hat.com> wrote:

> common parts of uaccess_32.h and uaccess_64.h
> are put in uaccess.h.

-tip testing found that it causes this build failure:

  fs/binfmt_aout.c: Assembler messages:
  fs/binfmt_aout.c:152: Error: suffix or operands invalid for `cmp'

with:

  http://redhat.com/~mingo/misc/config-Mon_Jun_30_08_17_42_CEST_2008.bad

and comparing the 32-bit and unified version is not simple and the 
commit is rather large.

I'm sure the fix is simple, but this bug shows a structural problem with 
this unification patch. The proper way to unify files is to first bring 
both the 32-bit and the 64-bit version up to a unified form via 
finegrained changes, so that uaccess_32.h and uaccess_64.h becomes 
exactly the same file.

... _then_ only, in a final 'mechanic unification' step the two files 
are merged into uaccess.h. (but no change is done to the content)

If anything breaks during such a series it's bisectable to a finegrained 
patch on either the 32-bit or the 64-bit side. If this commit was shaped 
that way i could now report to you the exact bisection result - instead 
of this too-broad bisection result.

So please rework this commit in that fashion (not just to fix this 
breakage but in anticipation of future commits) - uaccess.h is central 
enough for us to be super careful about it.

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ