From owner-svn-src-head@freebsd.org Thu Apr 6 23:40:53 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7242ED321EF; Thu, 6 Apr 2017 23:40:53 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DCA0BE7; Thu, 6 Apr 2017 23:40:53 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v36Neqnp022431; Thu, 6 Apr 2017 23:40:52 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v36NepeF022425; Thu, 6 Apr 2017 23:40:51 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201704062340.v36NepeF022425@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Thu, 6 Apr 2017 23:40:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316595 - in head/sys: compat/freebsd32 kern sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 23:40:53 -0000 Author: brooks Date: Thu Apr 6 23:40:51 2017 New Revision: 316595 URL: https://svnweb.freebsd.org/changeset/base/316595 Log: Regen after r316594. Modified: head/sys/compat/freebsd32/freebsd32_systrace_args.c head/sys/kern/systrace_args.c head/sys/kern/vfs_cache.c head/sys/sys/syscallsubr.h head/sys/sys/sysproto.h Modified: head/sys/compat/freebsd32/freebsd32_systrace_args.c ============================================================================== --- head/sys/compat/freebsd32/freebsd32_systrace_args.c Thu Apr 6 23:40:13 2017 (r316594) +++ head/sys/compat/freebsd32/freebsd32_systrace_args.c Thu Apr 6 23:40:51 2017 (r316595) @@ -1588,7 +1588,7 @@ systrace_args(int sysnum, void *params, case 326: { struct __getcwd_args *p = params; uarg[0] = (intptr_t) p->buf; /* char * */ - uarg[1] = p->buflen; /* u_int */ + uarg[1] = p->buflen; /* size_t */ *n_args = 2; break; } @@ -5838,7 +5838,7 @@ systrace_entry_setargdesc(int sysnum, in p = "userland char *"; break; case 1: - p = "u_int"; + p = "size_t"; break; default: break; Modified: head/sys/kern/systrace_args.c ============================================================================== --- head/sys/kern/systrace_args.c Thu Apr 6 23:40:13 2017 (r316594) +++ head/sys/kern/systrace_args.c Thu Apr 6 23:40:51 2017 (r316595) @@ -1622,7 +1622,7 @@ systrace_args(int sysnum, void *params, case 326: { struct __getcwd_args *p = params; uarg[0] = (intptr_t) p->buf; /* char * */ - uarg[1] = p->buflen; /* u_int */ + uarg[1] = p->buflen; /* size_t */ *n_args = 2; break; } @@ -5901,7 +5901,7 @@ systrace_entry_setargdesc(int sysnum, in p = "userland char *"; break; case 1: - p = "u_int"; + p = "size_t"; break; default: break; Modified: head/sys/kern/vfs_cache.c ============================================================================== --- head/sys/kern/vfs_cache.c Thu Apr 6 23:40:13 2017 (r316594) +++ head/sys/kern/vfs_cache.c Thu Apr 6 23:40:51 2017 (r316595) @@ -2045,8 +2045,8 @@ sys___getcwd(struct thread *td, struct _ } int -kern___getcwd(struct thread *td, char *buf, enum uio_seg bufseg, u_int buflen, - u_int path_max) +kern___getcwd(struct thread *td, char *buf, enum uio_seg bufseg, size_t buflen, + size_t path_max) { char *bp, *tmpbuf; struct filedesc *fdp; Modified: head/sys/sys/syscallsubr.h ============================================================================== --- head/sys/sys/syscallsubr.h Thu Apr 6 23:40:13 2017 (r316594) +++ head/sys/sys/syscallsubr.h Thu Apr 6 23:40:51 2017 (r316595) @@ -60,7 +60,7 @@ struct sched_param; struct __wrusage; int kern___getcwd(struct thread *td, char *buf, enum uio_seg bufseg, - u_int buflen, u_int path_max); + size_t buflen, size_t path_max); int kern_accept(struct thread *td, int s, struct sockaddr **name, socklen_t *namelen, struct file **fp); int kern_accept4(struct thread *td, int s, struct sockaddr **name, Modified: head/sys/sys/sysproto.h ============================================================================== --- head/sys/sys/sysproto.h Thu Apr 6 23:40:13 2017 (r316594) +++ head/sys/sys/sysproto.h Thu Apr 6 23:40:51 2017 (r316595) @@ -855,7 +855,7 @@ struct munlockall_args { }; struct __getcwd_args { char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; - char buflen_l_[PADL_(u_int)]; u_int buflen; char buflen_r_[PADR_(u_int)]; + char buflen_l_[PADL_(size_t)]; size_t buflen; char buflen_r_[PADR_(size_t)]; }; struct sched_setparam_args { char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];