Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2020 12:16:36 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r366288 - stable/11/sys/compat/svr4
Message-ID:  <202009301216.08UCGa6m068765@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Sep 30 12:16:36 2020
New Revision: 366288
URL: https://svnweb.freebsd.org/changeset/base/366288

Log:
  Try to fix build on i386

Modified:
  stable/11/sys/compat/svr4/svr4_misc.c

Modified: stable/11/sys/compat/svr4/svr4_misc.c
==============================================================================
--- stable/11/sys/compat/svr4/svr4_misc.c	Wed Sep 30 08:26:25 2020	(r366287)
+++ stable/11/sys/compat/svr4/svr4_misc.c	Wed Sep 30 12:16:36 2020	(r366288)
@@ -180,7 +180,7 @@ svr4_sys_execv(td, uap)
 	error = exec_copyin_args(&eargs, path, UIO_SYSSPACE, uap->argp, NULL);
 	free(path, M_TEMP);
 	if (error == 0)
-		error = kern_execve(td, &eargs, NULL);
+		error = kern_execve(td, &eargs, NULL, oldvmspace);
 	post_execve(td, error, oldvmspace);
 	return (error);
 }
@@ -206,7 +206,7 @@ svr4_sys_execve(td, uap)
 	    uap->envp);
 	free(path, M_TEMP);
 	if (error == 0)
-		error = kern_execve(td, &eargs, NULL);
+		error = kern_execve(td, &eargs, NULL, oldvmspace);
 	post_execve(td, error, oldvmspace);
 	return (error);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009301216.08UCGa6m068765>