lkml.org 
[lkml]   [2005]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectnegative timeout can be set up by setsockopt system call
I observed that the the setsockopt system call can  setup negative 
timeout. As a matter of fact the function sock_set_timeout checks for
zero timeout but does not check for negative timeouts. I tested this
against 2.6.14 kernel but it is so in all previous release also. So I
am wondering if it is a bug or there is some reason for keeping it that
way which I am missing.

Regards
Ram gupta
-
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-11-04 21:30    [W:0.044 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site