Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable close-on-exec flag when opening the tun device node.
When the close-on-exec flag is set, the file descriptor is automatically closed upon a successful exec. This keeps a child process--such as one started using system()--from inheriting the file descriptor. Signed-off-by: Tom Carroll <[email protected]>
- Loading branch information