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)
Wed, Jul 8, 7:45 PM
Unknown Object (File)
Sun, Jun 21, 9:40 PM
Unknown Object (File)
May 29 2026, 12:27 AM
Unknown Object (File)
May 28 2026, 7:02 AM
Unknown Object (File)
May 28 2026, 4:14 AM
Unknown Object (File)
May 27 2026, 4:54 AM
Unknown Object (File)
May 17 2026, 5:09 PM
Unknown Object (File)
May 5 2026, 6:52 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 Not Applicable
Unit
Tests Not Applicable