cpython icon indicating copy to clipboard operation
cpython copied to clipboard

gh-96005: FreeBSD has ENOTCAPABLE, too

Open tiran opened this issue 3 years ago • 2 comments

  • Issue: gh-96005

tiran avatar Aug 16 '22 20:08 tiran

Problem: FreeBSD has ENOTCAPABLE, too. This means that the original changeset maps ENOTCAPABLE to PermissionError on FreeBSD as well. We never wrapped the errno, so it should be ok.

     93	ENOTCAPABLE Capabilities insufficient.	An operation on	a capability
	     file descriptor requires greater privilege	than the capability
	     allows.

https://www.freebsd.org/cgi/man.cgi?query=errno&sektion=2&manpath=freebsd-release-ports

tiran avatar Aug 16 '22 20:08 tiran

:robot: New build scheduled with the buildbot fleet by @tiran for commit 0e36363d13a8990e547bbf259719b618e2ec158b :robot:

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

bedevere-bot avatar Aug 16 '22 21:08 bedevere-bot

Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. 🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington avatar Aug 17 '22 05:08 miss-islington

Sorry, @tiran, I could not cleanly backport this to 3.11 due to a conflict. Please backport using cherry_picker on command line. cherry_picker da0aa518bf5e6ac9de444a405c40649cfb0245eb 3.11

miss-islington avatar Aug 17 '22 05:08 miss-islington