Skip to content

Commit

Permalink
fix: allow connect() in allow_start_tcp_clients()
Browse files Browse the repository at this point in the history
  • Loading branch information
gotlougit committed Sep 26, 2023
1 parent 2115f8d commit d505418
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/builtins/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ impl Networking {
.or_insert_with(Vec::new)
.push(rule);

self.allowed.extend(&[Sysno::connect]);
self.allowed.extend(NET_IO_SYSCALLS);
self.allowed.extend(NET_READ_SYSCALLS);
self.allowed.extend(NET_WRITE_SYSCALLS);
Expand Down

0 comments on commit d505418

Please sign in to comment.