debian-forge/osbuild/util
Christian Kellner abbdf06ba5 jsoncomm: switch to use sequenced-packet sockets
Switch to use a connection oriented datagram based protocol, i.e.
`SOCK_SEQPACKET`, instead of `SOCK_DGRAM`. It sill preserves
message boundaries, but since it is connection oriented the client
nor the server do not need to specify the destination addresses
of the peer in sendmsg/recvmesg. Moreover, the host will be able
to send messages to the client, even if the latter is sandboxed
with a separate network namespace. In the `SOCK_DRAM` case the
auto-bound address of the client would not be visible to the host
and thus sending messages would to it would fail.

Adapt the jsoncomm tests as well as `BaseAPI`.
2020-07-29 02:16:20 +01:00
..
__init__.py util: mark as module 2020-04-21 17:00:04 +02:00
ctx.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
jsoncomm.py jsoncomm: switch to use sequenced-packet sockets 2020-07-29 02:16:20 +01:00
linux.py util/linux: add explicit FS_IMMUTABLE_FL helpers 2020-04-21 14:46:02 +02:00
osrelease.py osbuild: move osrelease parser into ./util 2020-04-28 15:39:00 +02:00
ostree.py util/ostree: accept typing.List for List[str] 2020-06-09 13:42:35 +02:00
rmrf.py util/rmrf: use immutable helpers 2020-04-21 14:46:02 +02:00
selinux.py util/selinux: add gefilecon helper 2020-06-15 20:36:48 +02:00
types.py util: add types module defining PathLike type 2020-07-27 12:50:38 +01:00