diff options
author | William Grzybowski <wg@FreeBSD.org> | 2018-09-07 12:06:15 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2018-09-07 12:06:15 (GMT) |
commit | 23e65b25557f957af840cf8fe68e80659ce28629 (patch) | |
tree | 2401a515712164f1536892efd8e5f7fb1c0b87d8 /pyconfig.h.in | |
parent | 25fa141487e61b94f15289619cb3af764cf65e58 (diff) | |
download | cpython-23e65b25557f957af840cf8fe68e80659ce28629.zip cpython-23e65b25557f957af840cf8fe68e80659ce28629.tar.gz cpython-23e65b25557f957af840cf8fe68e80659ce28629.tar.bz2 |
bpo-33625: Release GIL for grp.getgr{nam,gid} and pwd.getpw{nam,uid} (GH-7081)
Release GIL on grp.getgrnam(), grp.getgrgid(), pwd.getpwnam() and
pwd.getpwuid() if reentrant variants of these functions are available.
Patch by William Grzybowski.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index a82c373..4d3a4b9 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -403,6 +403,12 @@ /* Define to 1 if you have the `getentropy' function. */ #undef HAVE_GETENTROPY +/* Define to 1 if you have the `getgrgid_r' function. */ +#undef HAVE_GETGRGID_R + +/* Define to 1 if you have the `getgrnam_r' function. */ +#undef HAVE_GETGRNAM_R + /* Define to 1 if you have the `getgrouplist' function. */ #undef HAVE_GETGROUPLIST @@ -457,6 +463,12 @@ /* Define to 1 if you have the `getpwent' function. */ #undef HAVE_GETPWENT +/* Define to 1 if you have the `getpwnam_r' function. */ +#undef HAVE_GETPWNAM_R + +/* Define to 1 if you have the `getpwuid_r' function. */ +#undef HAVE_GETPWUID_R + /* Define to 1 if the getrandom() function is available */ #undef HAVE_GETRANDOM |