File pam-limit-nproc.patch of Package pam.7459

Index: Linux-PAM-1.3.0/modules/pam_limits/limits.conf
===================================================================
--- Linux-PAM-1.3.0.orig/modules/pam_limits/limits.conf
+++ Linux-PAM-1.3.0/modules/pam_limits/limits.conf
@@ -47,4 +47,9 @@
 #ftp             hard    nproc           0
 #@student        -       maxlogins       4
 
+# harden against fork-bombs
+*               hard    nproc           16384
+*               soft    nproc           4096
+root		-	nproc		unlimited
+
 # End of file
openSUSE Build Service is sponsored by