[lkml]   [2001]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectset_fs(get_ds()) needed in socket operations?
I came across this while developing a networked file system:

If I do the socket ops using standard kernel functions they block forever. The
solution I found in some old module was to load the FS segment with the value
of DS and then restore it.

Can someone please explain why this is needed? And isn't it architecture

Thanx for your patience with a newbie...


Get free email and a permanent address at
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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