lkml.org 
[lkml]   [2002]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject4 byte mem alignment
I wished someone to confirm the following: Is it a
requirement for the user space buffer that is provided
to the recvfrom() socket call, be 4 byte aligned?.
Note that sockets are raw sockets (PF_PACKET type). I
am running linux 2.4.18-10 on a dual xeon P4 (x86)
box. At the lowest level, i think this translates to
how strong the requirements are for copy_to_user().
does it fault to byte-by-byte mode gracefully when
given a non-4byte aligned buffer?.

Please include me in all replies, since i'm not
subscribed to the list

Thanks
-Arvind

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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