From: fly602 <noreply@github.com>
To: linux-bluetooth@vger.kernel.org
Subject: [bluez/bluez] dc6c9a: obexd: Refine error handling for agent authorizati...
Date: Thu, 28 Aug 2025 23:42:17 -0700 [thread overview]
Message-ID: <bluez/bluez/push/refs/heads/996765/000000-dc6c9a@github.com> (raw)
Branch: refs/heads/996765
Home: https://github.com/bluez/bluez
Commit: dc6c9a60b5ace1f7f1877600e6d3b586b4372655
https://github.com/bluez/bluez/commit/dc6c9a60b5ace1f7f1877600e6d3b586b4372655
Author: fuleyi <fuleyi@uniontech.com>
Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths:
M obexd/src/manager.c
Log Message:
-----------
obexd: Refine error handling for agent authorization reply
Handle DBus error types in agent_reply() with specific errno values:
- Use -ETIMEDOUT for DBUS_ERROR_NO_REPLY (timeout)
- Use -EPERM for OBEX_ERROR_REJECT (permission denied)
- Use -EBADR for other errors
This improves the accuracy of error reporting and makes the authorization logic more robust.
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
reply other threads:[~2025-08-29 6:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bluez/bluez/push/refs/heads/996765/000000-dc6c9a@github.com \
--to=noreply@github.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).