Integrate the functionality from runscript_selinux.so
runscript used to dlopen() runscript_selinux.so. This adds equivalent functionality directly in to runscript instead. It authenticates with either PAM or shadow and optionally has a dep on audit. X-Gentoo-Bug: 517450 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=517450
This commit is contained in:
		
				
					committed by
					
						 William Hubbs
						William Hubbs
					
				
			
			
				
	
			
			
			
						parent
						
							be952bebb3
						
					
				
				
					commit
					1932360adc
				
			| @@ -9,6 +9,19 @@ LIBDL=		-Wl,-Bdynamic -ldl | ||||
|  | ||||
| ifeq (${MKSELINUX},yes) | ||||
| CPPFLAGS+= -DHAVE_SELINUX | ||||
| LIBSELINUX= -lselinux | ||||
| LIBSELINUX?= -lselinux | ||||
| LDADD += $(LIBSELINUX) | ||||
|  | ||||
| ifneq (${MKPAM},pam) | ||||
| # if using selinux but not pam then we need crypt | ||||
| LIBCRYPT?= -lcrypt | ||||
| LDADD += $(LIBCRYPT) | ||||
| endif | ||||
|  | ||||
| endif | ||||
|  | ||||
| ifeq (${MKAUDIT},yes) | ||||
| LIBAUDIT?=	-laudit | ||||
| CPPFLAGS+=	-DHAVE_AUDIT | ||||
| LDADD+=		${LIBAUDIT} | ||||
| endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user