On May 13, 2006, at 12:28 PM, Scott Lamb wrote:
I'm not sure if the OS would accept a longer one if you allocated a larger memory region and set sun_len appropriately

Ahh, Linux wouldn't, anyway:

http://lxr.linux.no/source/net/unix/af_unix.c#L184

184 static int unix_mkname(struct sockaddr_un * sunaddr, int len, unsigned *hashp)
185 {
186         if (len <= sizeof(short) || len > sizeof(*sunaddr))
187                 return -EINVAL;

it doesn't even have sun_len.

--
Scott Lamb <http://www.slamb.org/>




_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to