From 537ca45a2e8fef29c88022729d13997014d8419b Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Tue, 22 Jun 2004 04:22:34 +0000 Subject: [PATCH] Mark linux_emul_convpath() as GIANT_REQUIRED. --- sys/compat/linux/linux_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c index 7b8ddb7a805..39c92f273e9 100644 --- a/sys/compat/linux/linux_util.c +++ b/sys/compat/linux/linux_util.c @@ -101,6 +101,8 @@ linux_emul_convpath(td, path, pathseg, pbuf, cflag) char *ptr, *buf, *cp; size_t len, sz; + GIANT_REQUIRED; + buf = (char *) malloc(MAXPATHLEN, M_TEMP, M_WAITOK); *pbuf = buf;