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
Unknown Object (File)
Mon, Feb 2, 1:02 AM
Unknown Object (File)
Sun, Feb 1, 11:00 PM
Unknown Object (File)
Fri, Jan 30, 10:38 PM
Unknown Object (File)
Thu, Jan 29, 11:18 PM
Unknown Object (File)
Fri, Jan 16, 3:37 AM
Unknown Object (File)
Thu, Jan 15, 8:29 PM
Unknown Object (File)
Tue, Jan 6, 11:38 AM
Unknown Object (File)
Dec 20 2025, 11:12 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