linux 2.4.x && total lock from simple program
Arkadiusz Miskiewicz
misiek w pld.org.pl
Czw, 1 Lut 2001, 20:31:12 CET
from lkml:
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
int
main(int argc, const char* argv[])
{
int retval;
int sockets[2];
char buf[1];
retval = socketpair(PF_UNIX, SOCK_DGRAM, 0, sockets);
if (retval != 0)
{
perror("socketpair");
exit(1);
}
shutdown(sockets[0], SHUT_RDWR);
read(sockets[0], buf, 1);
}
locks 2.4 kernels 8) no patch at this moment.
--
Arkadiusz Miśkiewicz, AM2-6BONE [ PLD GNU/Linux IPv6 ]
http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/ [ enabled ]
________________________
http://lists.pld.org.pl/
Więcej informacji o liście dyskusyjnej pld-devel-pl