This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bup
Recipients bup
Date 2022-02-27.11:26:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645961160.27.0.346757629998.issue46872@roundup.psfhosted.org>
In-reply-to
Content
On Android, the following calls generate a SIGSYS signal that is neither blocked by pthread_sigmask(SIG_BLOCK, {SIGSYS}) nor ignored after its handler is set to SIG_IGN:

    (os.chroot(path))
    os.setgid(rgid)
    os.setuid(ruid) 
    (os.setegid(gid))
    os.setregid(rgid, egid)
    os.setreuid(ruid, euid)
    os.setresgid(rgid, egid, sgid)
    time.clock_settime(clock, time)
    time.clock_settime_ns(clock, time)
    (socket.sethostname(name))


On the other hand, signal(SIGSYS, lambda s, p: None) will catch the signal, but based on frame it receives (None), I suspect this is a coincidence. Also, the functions with parenthesized names in that list raise the equivalent of OSError(0, "Error", "%s"%args[0]).
History
Date User Action Args
2022-02-27 11:26:00bupsetrecipients: + bup
2022-02-27 11:26:00bupsetmessageid: <1645961160.27.0.346757629998.issue46872@roundup.psfhosted.org>
2022-02-27 11:26:00buplinkissue46872 messages
2022-02-27 11:26:00bupcreate