diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-27 18:51:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 18:51:45 (GMT) |
commit | 5751530f51c1735b763aad886c023cab2ef49cdd (patch) | |
tree | ff02cb8ce09687ed57ee6c983de2a6b4418ad207 /Lib/idlelib/help.py | |
parent | 56f5f904968b3796dad942e87e971e7b87c571f3 (diff) | |
download | cpython-5751530f51c1735b763aad886c023cab2ef49cdd.zip cpython-5751530f51c1735b763aad886c023cab2ef49cdd.tar.gz cpython-5751530f51c1735b763aad886c023cab2ef49cdd.tar.bz2 |
gh-94315: Check for DAC override capability (GH-94316)
``os.geteuid() == 0`` is not a reliable check whether the current user
has the capability to bypass permission checks. Tests now probe for DAC
override.
(cherry picked from commit 7e0d98ecb3f049841de9854e7a3eca3e2638e4b2)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Lib/idlelib/help.py')
0 files changed, 0 insertions, 0 deletions