On Fri, Oct 18, 2013 at 11:31:37AM +0900, YAMAMOTO Takashi wrote:
> > +/* Attempts to shorten 'name' by creating a symlink for the directory part
> > of
> > + * the name and indirecting through /. This works on
> > + * systems that support symlinks, as long as isn't too long.
> > + *
> > + * On
> +/* Attempts to shorten 'name' by creating a symlink for the directory part of
> + * the name and indirecting through /. This works on
> + * systems that support symlinks, as long as isn't too long.
> + *
> + * On success, returns 0 and stores the short name in 'short_name' and the
> + * symbol
From: YAMAMOTO Takashi
The existing /proc workaround only works on Linux. Symlinks are more
widely available.
Signed-off-by: YAMAMOTO Takashi
Co-authored-by: Ben Pfaff
Signed-off-by: Ben Pfaff
---
lib/socket-util.c | 213 +++--
python/ovs/soc