-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Chore: Bump libc requirement So the LOCAL_PEERTOKEN it adds may be guaranteed to be available. Signed-off-by: Paul Mabileau <[email protected]> * Refactor(sockopt): Use libc::SOL_LOCAL for LOCAL_PEER* options instead of 0 Should be more readable. Signed-off-by: Paul Mabileau <[email protected]> * Feat(sockopt): Add new wrapper around libc::LOCAL_PEERTOKEN audit_token_t is taken from endpoint-sec-sys. Signed-off-by: Paul Mabileau <[email protected]> * Test(socket): Add small test for LocalPeerToken Signed-off-by: Paul Mabileau <[email protected]> * Docs: Add changelog entry Signed-off-by: Paul Mabileau <[email protected]> --------- Signed-off-by: Paul Mabileau <[email protected]>
- Loading branch information
Showing
5 changed files
with
111 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for `libc::LOCAL_PEERTOKEN` in `getsockopt`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters