Re: sockets in kernel space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>> error=guestsock->ops->bind(guestsock,(struct sockaddr*)&sun,sizeof(sun));
>> gives my a "socket thread: can't bind guest socket: Operation not
>> permitted" with a errno of -2, when GUESTSOCKET is /tmp/guestsocket.
> Once again. Get the value of error. It is the key. It does NOT return
> error in errno.
Actually it was the value of error and not the value of errno (which is as I  
recently learn totaly useless in that case).

>>It seams to work when I use \0guestsocket. But that seams to be a so
>> called abstract name and I don't know who to handle that.
Ok, I found out, what the "abstract namespace" is, and unfortunatly I can't 
use it.

Thanks for your answers,
Patrick "Petschge" Kilian

-- 
Morgens wollte sie ihn spüren, mit den Lippen zart berühren,
...und zum blasen heranzuführen, heiss floss es in sie hinein.
Ja so ein Kaffe. Der ist fein

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux