Index: trunk/docs/Changelog
===================================================================
--- trunk/docs/Changelog	(revision 288)
+++ trunk/docs/Changelog	(revision 289)
@@ -1,2 +1,7 @@
+2.7.2:
+	* sh_extern.c: As reported by T. Luettgert, gcc 4.4.4 on Fedora 13 
+	  will throw a warning if execve is called with a NULL argv pointer. 
+	  Need to provide a dummy argp[].
+
 2.7.1:
 	* samhain_kmem.c: fix compile problems
Index: trunk/src/sh_extern.c
===================================================================
--- trunk/src/sh_extern.c	(revision 288)
+++ trunk/src/sh_extern.c	(revision 289)
@@ -132,4 +132,6 @@
 
   /* Linux, HP-UX and FreeBSD will happily accept envp = argp = NULL
+   * (newer Linuxes (gcc 4.4.4) warn on argp == NULL, but accept it,
+   * as reported by T. Luettgert)
    * Solaris (and probably some other Unices) 
    *         needs a valid *envp[] with envp[0] = NULL;
@@ -420,5 +422,5 @@
 		  do {
 		    val_return = execve (pname, 
-					 (task->argc == 0) ? NULL : task->argv, 
+					 (task->argc == 0) ? argp : task->argv, 
 					 (task->envc == 0) ? NULL : task->envv
 					 );
