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)
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
Unknown Object (File)
Oct 12 2025, 1:14 AM
Unknown Object (File)
Oct 11 2025, 3:44 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