What's missing/wrong in these test programs?

2015-04-08 Thread Svante Signell
Hi, I'm trying to write test programs for auth_user/server_authenticate (and later for proc_user/server_authenticate) and have problems to get them right. The attached programs generate the following output: ./auth_recv& ./auth_send auth_recv.c: Socket file descriptor = 3 auth_recv.c: Receiving v

Re: boot hangs, corruption at every attempt

2015-04-08 Thread Riccardo Mottola
Hi, Justus Winter wrote: Use `show all tasks' then. >I do not want to spam the list, so I can send them if somebody finds >useful checking them. Don't send screenshots. If you must, copy the text. Use qemu's `-curses'. Since I have virtualbox, I cant copy the text, I did not find anything

Re: 'struct flock' has no member named 'l_end'

2015-04-08 Thread Manolis Ragkousis
One last thing, in libpthread commit 8b48173fdc8f52a234ff9d3d1de5277c60d7eea4 the Makefile expects shm-directory.c to be present in sysdeps/generic/ but it is not. This file only exists in glibc 2.21 and is not yet implemented in our libpthread. Thanks you, Manolis

Re: What's missing/wrong in these test programs?

2015-04-08 Thread Svante Signell
On Wed, 2015-04-08 at 10:12 +0200, Svante Signell wrote: > Hi, > > I'm trying to write test programs for auth_user/server_authenticate (and > later for proc_user/server_authenticate) and have problems to get them > right. The attached programs generate the following output: > ./auth_recv& > ./auth

Re: boot hangs, corruption at every attempt

2015-04-08 Thread Riccardo Mottola
Hi Riccardo Mottola wrote: They are just a few kb, but of course inconvenient to read, sorry. Does this help? can we know which process is hanging? I forgot to mention that I have frozen the virtual machine in the kernel debugger, so I could in case resume it and ive more information. Ri

Re: 'struct flock' has no member named 'l_end'

2015-04-08 Thread Samuel Thibault
Manolis Ragkousis, le Wed 08 Apr 2015 22:21:42 +0300, a écrit : > in libpthread commit > 8b48173fdc8f52a234ff9d3d1de5277c60d7eea4 the > Makefile expects shm-directory.c to be present in > sysdeps/generic/ but it is not. > > This file only exists in glibc 2.21 and is not yet > implemented in our li

Re: What's missing/wrong in these test programs?

2015-04-08 Thread Samuel Thibault
Svante Signell, le Wed 08 Apr 2015 21:56:36 +0200, a écrit : > New try, now with sendmsg/recvmsg. Ah, I hadn't read your source code when answering on IRC. > How to send the rendzevous port: as real data or ancillary data? None of those two: real data wouldn't actually transfer the port, and as