summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2018-09-07 12:06:15 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-09-07 12:06:15 (GMT)
commit23e65b25557f957af840cf8fe68e80659ce28629 (patch)
tree2401a515712164f1536892efd8e5f7fb1c0b87d8 /configure.ac
parent25fa141487e61b94f15289619cb3af764cf65e58 (diff)
downloadcpython-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 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5b66624..e47586b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3434,8 +3434,9 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
clock confstr ctermid dup3 execv faccessat fchmod fchmodat fchown fchownat \
fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \
futimens futimes gai_strerror getentropy \
+ getgrgid_r getgrnam_r \
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
- getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
+ getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \
if_nameindex \
initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
memrchr mbrtowc mkdirat mkfifo \