From: Dmitry V. Levin Date: Wed, 21 Dec 2016 21:29:38 +0000 (+0000) Subject: file_handle: change address type from long to kernel_ureg_t X-Git-Tag: v4.16~240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cce907a428eb79bbce034c71eeaef28fdfbd128d;p=strace file_handle: change address type from long to kernel_ureg_t * file_handle.c (SYS_FUNC(name_to_handle_at), SYS_FUNC(open_by_handle_at)): Change address type from long to kernel_ureg_t. --- diff --git a/file_handle.c b/file_handle.c index 009915a7..27e6d446 100644 --- a/file_handle.c +++ b/file_handle.c @@ -41,7 +41,7 @@ typedef struct { SYS_FUNC(name_to_handle_at) { file_handle_header h; - const long addr = tcp->u_arg[2]; + const kernel_ureg_t addr = tcp->u_arg[2]; if (entering(tcp)) { /* dirfd */ @@ -106,7 +106,7 @@ SYS_FUNC(name_to_handle_at) SYS_FUNC(open_by_handle_at) { file_handle_header h; - const long addr = tcp->u_arg[1]; + const kernel_ureg_t addr = tcp->u_arg[1]; /* mount_fd */ printfd(tcp, tcp->u_arg[0]);