Page MenuHomeFreeBSD

bluetooth: sdpd: switch to getpeereid() instead of LOCAL_PEERCRED
ClosedPublic

Authored by kevans on Jul 3 2025, 4:11 PM.
Tags
None
Referenced Files
F140116551: D51152.id157892.diff
Sat, Dec 20, 11:12 AM
Unknown Object (File)
Fri, Dec 19, 11:13 AM
Unknown Object (File)
Oct 31 2025, 3:04 AM
Unknown Object (File)
Oct 26 2025, 9:44 PM
Unknown Object (File)
Oct 17 2025, 11:54 PM
Unknown Object (File)
Oct 12 2025, 2:33 AM
Unknown Object (File)
Oct 12 2025, 1:15 AM
Unknown Object (File)
Oct 12 2025, 1:14 AM
Subscribers

Details

Summary

sdpd's usage ws mostly fine, though it debatably should have been
checking the xucred version to avoid mishaps. Switch it to getpeereid()
anyways to avoid embedding xucred layout details in more program.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65193
Build 62076: arc lint + arc unit