From nobody Tue Apr 23 20:06:18 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VPCmq6pF6z5HypV; Tue, 23 Apr 2024 20:06:19 +0000 (UTC) (envelope-from brooks@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VPCmq67Sdz4lkl; Tue, 23 Apr 2024 20:06:19 +0000 (UTC) (envelope-from brooks@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713902779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qXF/6u9LSl+xhA2hDmyCX7he6bneR8/jSQ057WG7LLc=; b=cprLb+3fVqqnP/eiY4F0nbWYonX+l6jBddOcAzMJmFAbiSgtf4VtbF9r3qZ+bL1QDNBoSw iW6v/TTNuYDstJB9COuh/6oUp1BhsjQMl6RtVHrVypthXhWywWG0t+Zib6CdZYkCYVlt3t Wgh++K+P6eCXU4/VbNGToHpufu+TZVx/YkCceuJjCoIDPJYExHkX3hhXhUDJcQkaAv57mM g4vrjg0sJEnpJp9VEuyJH8ak8ChhITXsV7Wo+lRqvUpLZMiCfWbIp6Y6A3y3qhmHEnzB72 yYifb6P9aHWmQXxOudB6PNGOUSn+SLeoy3F3krmRHB0g7EbLECAfd3N2ltiUCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713902779; a=rsa-sha256; cv=none; b=YQUQJL7w71vq4SbQzAnf7Nxin+GnBcdSDsWXsQMxbYLsa3rSrTBlDzgkll+bpb0EWUqJ9i 9FN+AKdTKhX9jE61mDp2iO+p2aVqlfqI8LNz0jvmrMqzgtAikwhz4XE1hjj74pN7Qbaoj1 F367MBn/+aHSqPiwHZ6gSufXgdAPvr6s8/tf2O4GbqBW+idX/vLHkglYr1U883fQnnbCuO CJH0Ij0QYDgmJO/8G7RGD95lvk19m+8wF4MngZFs5fqeng2lufxx0XyVslsIvBwI9kb5kB XfZZ7dZL9Rbqm7kAjdmHJg4kbKI6q9uzFU/qKUPzzp/reBV6eWIojpkxWYwUmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713902779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qXF/6u9LSl+xhA2hDmyCX7he6bneR8/jSQ057WG7LLc=; b=A2Wt5LklS+xlmmpmpNcVnqNgRGzHwGSPE0UlHJ2UHgIl1U1jKqr/+9OpH9RisRLQaIK4ck s1nIKAL0tIz3FqmepBszfXnnQs7i24Aok6olroxrmNL/1quU9hWbKKEPmuSN9+8tX1cOAK fRAIGN+BwQxzqyqcaXR0bRi6pUikV93p2O7N+UhRIJw7sgJWfO6xAO71Ud9rxjwFEjhA0R 8GiTbr/oS57idejM9u2VLZkXGiFhpcnzqdp/9Qxs4k5AS4o3rH64npHTKXR7b7DwQibCPh 0QUY0ootsQp+UpQSyYU+gyoVgpnO8+QLEL168srg1OLmcXEw+4HWkHT4JVLivQ== Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: brooks/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VPCmq5RlLzhXj; Tue, 23 Apr 2024 20:06:19 +0000 (UTC) (envelope-from brooks@freebsd.org) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id BD48D3C019B; Tue, 23 Apr 2024 20:06:18 +0000 (UTC) Date: Tue, 23 Apr 2024 20:06:18 +0000 From: Brooks Davis To: Peter Holm Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 1fd880742ace - main - libsys: add a libsys.h Message-ID: References: <202404161648.43GGmLAN079971@gitrepo.freebsd.org> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Apr 23, 2024 at 09:58:19PM +0200, Peter Holm wrote: > On Tue, Apr 16, 2024 at 04:48:21PM +0000, Brooks Davis wrote: > > The branch main has been updated by brooks: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=1fd880742ace94e11fa60ee0b074f0b18e54c54f > > > > commit 1fd880742ace94e11fa60ee0b074f0b18e54c54f > > Author: Brooks Davis > > AuthorDate: 2024-04-16 16:48:07 +0000 > > Commit: Brooks Davis > > CommitDate: 2024-04-16 16:48:07 +0000 > > > > libsys: add a libsys.h > > > > This declares an API for libsys which currently consists of > > __sys_() declarations for system call stubs and function pointer > > typedefs of the form __sys__t. The vast majority of the > > implementation resides in a generated _libsys.h which ensures that all > > system call stub declarations match syscalls.master. > > > > Reviewed by: kib > > Differential Revision: https://reviews.freebsd.org/D44387 > > --- > > lib/libsys/Makefile | 2 + > > lib/libsys/_libsys.h | 865 +++++++++++++++++++++++++++++++++++++++++++++++++ > > lib/libsys/libsys.h | 25 ++ > > sys/kern/syscalls.conf | 1 + > > 4 files changed, 893 insertions(+) > > > > Shouldn't readv() and writev() return ssize_t? Indeed. This is a bug in syscalls.master from which this header is generated. I'll fix it. Thanks, Brooks