[lkml]   [1996]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: can't read open unix domain socket
> open("t", O_RDONLY)                     = 3
> fstat(3, {st_mode=S_IFSOCK|0755, st_size=0, ...}) = 0
> read(3, 0x8007000, 4096) = -1 ERRNO_22 (Invalid argument)
> I'm having trouble understanding exactly what's happening here, both from
> a philosophical, and from a mechanical viewpoint.

if t is a socket then someone has broken the file opening code. Open on
a socket should return an error. Its a wonder your machine didnt crash I


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