[lkml]   [2000]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] alignment issue with ipchains
   From: NIIBE Yutaka <>
Date: Sat, 09 Sep 2000 12:18:28 +0900

I'd like to explain my point clearly. My point is that accessing
with get_user as int is questionable. In my case, it's string. I
don't think all the string argment to the kernel should be aligned.

Thank you for the explanation.

I agree with your logic, but not with the fix you sent here before.

I would much rather see a test for the socket option cases that use
the "val", and in those cases do the get_user calls. Ie. something

if (optname == X || optname == Y || optname == Z || ...) {
if(optlen>=sizeof(int)) {
if(get_user(val, (int *) optval))

Could you send me a patch which fixes the problem in this way?

Thank you.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.574 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site