Date: Mon, 22 Nov 2021 22:37:48 GMT From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 37b425bd05ef - main - makesyscalls: intptr_t arguments are pointers Message-ID: <202111222237.1AMMbmOB047241@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=37b425bd05ef43fb6d874a1b454950d701669ba5 commit 37b425bd05ef43fb6d874a1b454950d701669ba5 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2021-11-22 22:36:56 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2021-11-22 22:36:56 +0000 makesyscalls: intptr_t arguments are pointers Match intptr_t arguments as pointers. Currently this is a no-op change to systrace_args.c. Reviewed by: kevans --- sys/tools/makesyscalls.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua index fef991296316..f967bd84fa87 100644 --- a/sys/tools/makesyscalls.lua +++ b/sys/tools/makesyscalls.lua @@ -399,8 +399,8 @@ local function write_line_pfile(tmppat, line) end local function isptrtype(type) - return type:find("*") or type:find("caddr_t") - -- XXX NOTYET: or type:find("intptr_t") + return type:find("*") or type:find("caddr_t") or + type:find("intptr_t") end local process_syscall_def
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111222237.1AMMbmOB047241>