From: NIIBE Y. <gn...@ch...> - 2000-11-24 00:15:42
|
Philipp Rumpf wrote: > On Thu, Nov 23, 2000 at 04:50:26PM +0000, David Howells wrote: > > > user code to emulate unaligned accesses, which can be written as someone > > > actually found a userspace programs that needs them. > > > > We have the code anyway to fix up kernel accesses. > > no. we have the code for the few insns actually used by the kernel, and it > can go away as soon as someone convinced DaveM having the network stack use > unaligned accesses is silly. I also think that supporting kernel unaligned access is not good idea, but Jesper said that DoS possibility (we should check), which I care. > Do it correctly or don't do it at all. "We emulate all unaligned memory > accesses except 3 or 4 we didn't bother with" isn't a sensible rule. Agreed. I installed the patch hoping we could do it correctly. If it's difficult, and we can't see enough rationale about DoS possibility, it's better to drop the kernel unaligned access support. Local user access is more likely than network attack. Network attack can be handled by other devices and feature (router, firewall rules), so we should have more care for local user access. -- |