aboutgitcodebugslistschat
path: root/util.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2025-02-07 01:51:38 +0100
committerStefano Brivio <sbrivio@redhat.com>2025-02-07 10:34:31 +0100
commita0b7f56b3a3c220b3d8065d7cfdd83a6e3919467 (patch)
tree8f5ed5d37cc4a508950678279f0ffe2c95cac0fc /util.c
parenta5cca995dee9b4196d41c86034a4948d346266ca (diff)
downloadpasst-a0b7f56b3a3c220b3d8065d7cfdd83a6e3919467.tar
passt-a0b7f56b3a3c220b3d8065d7cfdd83a6e3919467.tar.gz
passt-a0b7f56b3a3c220b3d8065d7cfdd83a6e3919467.tar.bz2
passt-a0b7f56b3a3c220b3d8065d7cfdd83a6e3919467.tar.lz
passt-a0b7f56b3a3c220b3d8065d7cfdd83a6e3919467.tar.xz
passt-a0b7f56b3a3c220b3d8065d7cfdd83a6e3919467.tar.zst
passt-a0b7f56b3a3c220b3d8065d7cfdd83a6e3919467.zip
passt-repair: Don't use perror(), accept ECONNRESET as termination
If we use glibc's perror(), we need to allow dup() and fcntl() in our seccomp profiles, which are a bit too much for this simple helper. On top of that, we would probably need a wrapper to avoid allocation for translated messages. While at it: ECONNRESET is just a close() from passt, treat it like EOF. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions