Assume getgrgid_r(3) exists
It is required by POSIX.1-2001. Cc: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
		
				
					committed by
					
						
						Serge Hallyn
					
				
			
			
				
	
			
			
			
						parent
						
							88eb38f4ab
						
					
				
				
					commit
					cbc363f671
				
			@@ -49,7 +49,7 @@ AC_CHECK_FUNCS(arc4random_buf futimes \
 | 
			
		||||
	getentropy getrandom getspnam getusershell \
 | 
			
		||||
	getutent initgroups lckpwdf lutimes \
 | 
			
		||||
	setgroups updwtmp updwtmpx innetgr \
 | 
			
		||||
	getgrgid_r getspnam_r \
 | 
			
		||||
	getspnam_r \
 | 
			
		||||
	memset_s explicit_bzero)
 | 
			
		||||
AC_SYS_LARGEFILE
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@
 | 
			
		||||
#define ARG_TYPE	gid_t
 | 
			
		||||
#define ARG_NAME	gid
 | 
			
		||||
#define DUP_FUNCTION	__gr_dup
 | 
			
		||||
#define HAVE_FUNCTION_R (defined HAVE_GETGRGID_R)
 | 
			
		||||
#define HAVE_FUNCTION_R 1
 | 
			
		||||
 | 
			
		||||
#include "xgetXXbyYY.c"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user