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)
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
Unknown Object (File)
Dec 19 2025, 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
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