lkml.org 
[lkml]   [2000]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: SO_PASSCRED broken in 2.4 ? - mystery tackled
Date
Hello!

> However, the following ``fix'' can be applied:
> ------------------------------
> ...
> antsd = socket(AF_UNIX, SOCK_STREAM, 0);
> ...
> addr.sun_family = AF_UNSPEC; /* used to be AF_UNIX */
> ...
> ------------------------------

I am sorry, but after this connect will return EINVAL.


It would be better if you showed all the related pieces
of your program, doing operations between socket...sendmsg
and socket...recvmsg on server side.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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