]> git.ipfire.org Git - thirdparty/plymouth.git/commit
utils: add support for "trimmed abstract" sockets
authorRay Strode <rstrode@redhat.com>
Wed, 6 Oct 2010 21:43:50 +0000 (17:43 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 6 Oct 2010 21:43:50 +0000 (17:43 -0400)
commit9de731ed29db4670c1641aedd945c56fd1a3feed
tree8fc123a6ac8fb0d78b63faa915768913b112d211
parentda723a30336df5246bf163096e84890d1250aa5b
utils: add support for "trimmed abstract" sockets

Right now plymouth listens on an abstract socket with a name
that has a bunch of trailing NUL bytes.  These zeroes uglify
the output of /proc/net/unix among other things.

This commit adds support for a new "trimmed abstract" socket
type, which drops the zeroes.

A subsequent commit will actually change plymouthd to use the
new api.
src/client/ply-boot-client.c
src/libply/ply-utils.c
src/libply/ply-utils.h
src/ply-boot-server.c