Package: perl-base
Version: 5.10.0-11
Severity: normal
Hi,
The PF_UNIX(7) manpage contains:
"Linux also supports an abstract namespace which is independent of the
file system."
[...]
* abstract: an abstract socket address is distinguished by the fact
that sun_path[0] is a null byte ('\0'). All of the remaining bytes
in sun_path define the "name" of the socket. (Null bytes in the
name have no special significance.) The name has no connection with
file system pathnames. The socket's address in this namespace is
given by the rest of the bytes in sun_path. When the address of an
abstract socket is returned by getsockname(2), getpeername(2), and
accept(2), its length is sizeof(struct sockaddr_un), and sun_path
contains the abstract name. The abstract socket namespace is a non-
portable Linux extension.
Unfortunately, when calling either pack_sockaddr_un or sockaddr_un
directly from within Perl, this null byte at the beginning of the string
is filtered out, thus making it impossible to create a socket in the
abstract namespace from within perl.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.25-2-powerpc
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages perl-base depends on:
ii libc6 2.7-12 GNU C Library: Shared libraries
perl-base recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]