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
F160172057: D51152.diff
Sun, Jun 21, 9:40 PM
Unknown Object (File)
Fri, May 29, 12:27 AM
Unknown Object (File)
Thu, May 28, 7:02 AM
Unknown Object (File)
Thu, May 28, 4:14 AM
Unknown Object (File)
Wed, May 27, 4:54 AM
Unknown Object (File)
May 17 2026, 5:09 PM
Unknown Object (File)
May 5 2026, 6:52 AM
Unknown Object (File)
Apr 24 2026, 8:19 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