Date: Thu, 6 Apr 2017 23:40:51 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> 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 Message-ID: <201704062340.v36NepeF022425@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704062340.v36NepeF022425>