Please sign in to comment.
Sandbox pcap using process limits
Provide some basic process restrictions on the process using pcap. On Linux, poll() checks the number of allowed file descriptors. If setrlimit sets the value of RLIMIT_NOFILES to 0, poll() fails with EINVAL.
- Loading branch information...
Showing with 38 additions and 1 deletion.