summaryrefslogtreecommitdiff
path: root/system/python3/musl-has-login_tty.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-24 07:02:27 +0000
committerZach van Rijn <me@zv.io>2022-11-25 20:02:28 -0600
commite0b07d96a83b9b6bdb1746ecb301c347c4f92fae (patch)
tree06eafa0d316b38aa9ed48871cfa618b74e56a8ea /system/python3/musl-has-login_tty.patch
parentf324d2a5c24c66fff7f15ecc14e828859c9b04e8 (diff)
downloadpackages-e0b07d96a83b9b6bdb1746ecb301c347c4f92fae.tar.gz
packages-e0b07d96a83b9b6bdb1746ecb301c347c4f92fae.tar.bz2
packages-e0b07d96a83b9b6bdb1746ecb301c347c4f92fae.tar.xz
packages-e0b07d96a83b9b6bdb1746ecb301c347c4f92fae.zip
system/python3: [CVE] Update to 3.11.0
Includes one yet-unreleased CVE fix from Git. Removes an unrecognized configure option.
Diffstat (limited to 'system/python3/musl-has-login_tty.patch')
-rw-r--r--system/python3/musl-has-login_tty.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/python3/musl-has-login_tty.patch b/system/python3/musl-has-login_tty.patch
new file mode 100644
index 000000000..2ed566ee1
--- /dev/null
+++ b/system/python3/musl-has-login_tty.patch
@@ -0,0 +1,11 @@
+--- a/Modules/posixmodule.h
++++ b/Modules/posixmodule.h
+@@ -10,6 +10,8 @@
+ #include <sys/types.h>
+ #endif
+
++int login_tty(int); /* musl 4b2cb37770e56835b261660535cea77474154ba0 */
++
+ #ifndef Py_LIMITED_API
+ #ifndef MS_WINDOWS
+ PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);