Date: Mon, 3 Jun 2024 17:14:04 +0000 From: Brooks Davis <brooks@freebsd.org> To: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: af8cafb2a380 - main - iovec: macros to manipulate len and base together Message-ID: <Zl353BrBC56PvVrB@spindle.one-eyed-alien.net> In-Reply-To: <202406021843.452Ih9Us047105@gitrepo.freebsd.org> References: <202406021843.452Ih9Us047105@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 02, 2024 at 06:43:09PM +0000, Brooks Davis wrote: > The branch main has been updated by brooks: > > URL: https://cgit.FreeBSD.org/src/commit/?id=af8cafb2a38070907ed5c4d872599617ce9d6d48 > > commit af8cafb2a38070907ed5c4d872599617ce9d6d48 > Author: Brooks Davis <brooks@FreeBSD.org> > AuthorDate: 2024-06-02 18:36:55 +0000 > Commit: Brooks Davis <brooks@FreeBSD.org> > CommitDate: 2024-06-02 18:41:22 +0000 > > iovec: macros to manipulate len and base together > > A set of convenience macros to initialize struct iovec's and increment > the base and length together. > > IOVEC_INIT - sets iov_base and iov_len > IOVEC_INIT_CSTR - takes a string and sets iov_len to strlen + 1 > IOVEC_INIT_OBJ - takes an object and sets iov_len to sizeof obj > IOVEC_ADVANCE - increments iov_base and decrements iov_len I've got the vast majority of iovec initializations and simple uses of IOVEC_ADVANCE handled in CheriBSD. I'll be bringing those over in batches as time permits. It's straightforward, but files tend to have multiple unrelated changes so I need to extract the diffs by hand. I plan to leave contrib code alone for now. Thanks, Brooks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Zl353BrBC56PvVrB>