> Why not map _everything_ mapped to address containing 0x00?
That saves you from stupid strcpy() bugs, but so small amount of
problems look like:
u16 buf[16]; /* big enough */
...
recv(fd, &mystruct, sizeof(mystruct), ..);
memcpy(buf, mystruct.buffer, mystruct.len);
Matthew.
-
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/