rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] Socket error: AF_UNIX path too long


From: Scott Lamb
Subject: Re: [rdiff-backup-users] Socket error: AF_UNIX path too long
Date: Sat, 13 May 2006 12:42:44 -0700

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/>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]