Skip to content

Commit

Permalink
fix: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gotlougit committed Sep 17, 2023
1 parent 0049126 commit 2115f8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/builtins/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ impl Networking {
}

/// Allow `connect` syscall
///
/// # Security Considerations
///
/// This allows connnecting to a potentially dangerous network resource
pub fn allow_connect(mut self) -> YesReally<Networking> {
self.allowed.extend(&[Sysno::connect]);
YesReally::new(self)
Expand Down

0 comments on commit 2115f8d

Please sign in to comment.