-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FreeBSD 5 introduced the `xucred` struct for external users in commit c0511d3b58c985e17c0c23585ea7d16b6f52fe61 to avoid breaking user space applications when the `ucred` struct changes. oidentd happened to still work after this commit because the EUID it reads was stored at the same location in both structures. This is no longer the case with FreeBSD 13. This commit updates the freebsd5 module to use `xucred` instead of `ucred` as the expected return type for getcred calls.
- Loading branch information
Showing
1 changed file
with
20 additions
and
11 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