aboutgitcodelistschat:MatrixIRC
path: root/cooker/calls
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-07-07 17:33:04 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-09-04 17:16:05 +0200
commitbcbe728187c7239d43d0fe32eaa0f07d09f7e765 (patch)
tree537c91421551def191b60c5036959bd80ba9ae94 /cooker/calls
parentb1bcfb03685b6255c9b79ec48459eeb1e02ab485 (diff)
downloadseitan-bcbe728187c7239d43d0fe32eaa0f07d09f7e765.tar
seitan-bcbe728187c7239d43d0fe32eaa0f07d09f7e765.tar.gz
seitan-bcbe728187c7239d43d0fe32eaa0f07d09f7e765.tar.bz2
seitan-bcbe728187c7239d43d0fe32eaa0f07d09f7e765.tar.lz
seitan-bcbe728187c7239d43d0fe32eaa0f07d09f7e765.tar.xz
seitan-bcbe728187c7239d43d0fe32eaa0f07d09f7e765.tar.zst
seitan-bcbe728187c7239d43d0fe32eaa0f07d09f7e765.zip
cooker/calls: Add support for bind()
...no examples yet, but it's trivial as the prototype is exactly the same as connect(). Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'cooker/calls')
-rw-r--r--cooker/calls/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cooker/calls/net.c b/cooker/calls/net.c
index 74ea668..a348037 100644
--- a/cooker/calls/net.c
+++ b/cooker/calls/net.c
@@ -245,6 +245,7 @@ static struct arg connect_args[] = {
struct call syscalls_net[] = {
{ __NR_connect, "connect", connect_args },
+ { __NR_bind, "bind", connect_args },
{ __NR_socket, "socket", socket_args },
{ 0 },
};