diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2004-06-22 04:22:34 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2004-06-22 04:22:34 +0000 |
commit | 537ca45a2e8fef29c88022729d13997014d8419b (patch) | |
tree | 0f2ec84160defb9f6b4a7b985e36cca9753f67ad /sys | |
parent | bb7479a61338ab56364381914f79c2d94746711b (diff) |
Mark linux_emul_convpath() as GIANT_REQUIRED.
Notes
Notes:
svn path=/head/; revision=130902
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c index 7b8ddb7a805e..39c92f273e9c 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; |