AW: [Xlib] Ignoring BadAccess errors
Nekun
nekokun at firemail.cc
Wed Apr 21 13:28:11 UTC 2021
Thanks for the reply!
I consider that this point is meaningful, but then I can't understand
why exceptions is not applied for queued responses. In result, XBell
calls SyncHandler and if BadAccess occurs, it's handled as normal and
make client unhappy.
On 2021-04-21 11:39, Walter Harms wrote:
> since no one feels the need to answer is will try:
>
> Having those exceptions is obviously a hack to allow clients
> to continue on "minor" errors. e.g. BadAccess can be generated
> by xgrab*() and may work in a second attempt.
>
> NTL this should be documented in the doc.
>
> regarding you original question:
> I need a function which robustly returns an
> error when we in untrusted context, which returned exactly when client
> is untrusted and not for any other reasons.
>
> this is something i can not answer, sorry.
>
> re,
> wh
More information about the xorg-devel
mailing list