From 6286ff7bea9e6220d4c974b5d38bc8282909db9c Mon Sep 17 00:00:00 2001 From: rwatson Date: Tue, 22 Jun 2004 04:22:34 +0000 Subject: Mark linux_emul_convpath() as GIANT_REQUIRED. --- sys/compat/linux/linux_util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/compat/linux/linux_util.c') diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c index 7b8ddb7..39c92f2 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; -- cgit v1.1