From owner-cvs-all Sun Sep 1 14:15:42 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 077CF37B440; Sun, 1 Sep 2002 14:15:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA4B443E42; Sun, 1 Sep 2002 14:15:37 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g81LFbJU031142; Sun, 1 Sep 2002 14:15:37 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g81LFbAt031141; Sun, 1 Sep 2002 14:15:37 -0700 (PDT) Message-Id: <200209012115.g81LFbAt031141@freefall.freebsd.org> From: Ian Dowse Date: Sun, 1 Sep 2002 14:15:37 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_util.c linux_util.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2002/09/01 14:15:37 PDT Modified files: sys/compat/linux linux_util.c linux_util.h Log: Add a new function linux_emul_convpath(), which is a version of linux_emul_find() that does not use stack gap storage but instead always returns the resulting path in a malloc'd kernel buffer. Implement linux_emul_find() in terms of this function. Also add LCONVPATH* macros that wrap linux_emul_convpath in the same way that the CHECKALT* macros wrap linux_emul_find(). Revision Changes Path 1.19 +48 -32 src/sys/compat/linux/linux_util.c 1.19 +16 -0 src/sys/compat/linux/linux_util.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message