From nobody Fri Dec 29 01:09:52 2023 X-Original-To: bugs@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 4T1S3475Vyz555mP for ; Fri, 29 Dec 2023 01:09:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T1S345N5Rz3XvN for ; Fri, 29 Dec 2023 01:09:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703812192; a=rsa-sha256; cv=none; b=opKuebulVnSYQ/q1RZ+0DklXGErpd+YNZ7LECLe7JvMSy6ZbW0rfCILIU8U5S6O+E7xJjT SZeuZA/7xEDmI/Qs+vm9r95Aq7weHmRMXMZGdUdGIlFDFq3/pAH4T9kAiDGRZBwGFfYIfi 852QxOsflysDMeS9tyPNkAcJ+ogiWkMB5MIjj5JM6xlVIi1BdnHn23eGZGCJrHK5cSfTlP eMKilDvDo6QEzdSh/oF8oi+AnJ9eKNClWfnvOXdbx5pZDyQrM2OW3cTxmg2QoBTjlnTN/b +jIHt8JUiDLINQCWEvjmn2muMHukXJaTtiRjCyLx8fYs8I6B3J3oJss2o3AgiA== 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=1703812192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8LIIH17O9bniU6wQLTNweJQ2w7lYS0bNNRpMk6RKcvY=; b=DhxyKlYo78fbN5oMDDTd82qAHGBXhd7ppoCmm0lpBJNJDqIxrg7ipKM7dbgI3fElwAWwk6 9qLH5/hk6ZX8HJndWaqQ/Pg3uEwKOrxL8vuPsbcHjx7FJyiaxwSvvWaxeXagbCpjZca8/z OGLYvL3XQJNowGlinws/EhbFGTCCCzWKbN4zEELMAb/dqjXEf0arHaofWJARFm+omayjJ1 Be3ylXbZre3alk6ca3kJA2Nb1jVQ3FKjyEowwA9CoCqw6W/K9hDs08oWGYXFWveg4Wogjw DNeg9ReIrwpDiHE2bkokcP3hjR1D9t94PaNUD8u0izXHfs57avo0Kvd8J+zC9Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T1S344S0zzlrj for ; Fri, 29 Dec 2023 01:09:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BT19qBb094332 for ; Fri, 29 Dec 2023 01:09:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BT19qfl094331 for bugs@FreeBSD.org; Fri, 29 Dec 2023 01:09:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275990] sctp: restrict mismatch between manpages and headers Date: Fri, 29 Dec 2023 01:09:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275990 Bug ID: 275990 Summary: sctp: restrict mismatch between manpages and headers Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: lexi.freebsd@le-fay.org while improving the sctp manpages, i noticed that sctp_recvmsg is declared = like this in the manpage: ssize_t sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr * restrict from, socklen_t * restrict fromlen, struct sctp_sndrcvinfo *sinfo, int *flags); however, in it's declared like this: ssize_t=20 sctp_recvmsg(int, void *, size_t, struct sockaddr *, socklen_t *, struct sctp_sndrcvinfo *, int *); either restrict should be removed from the manpage, or it should be added to the header. i can submit a patch for either of those options (as i'm worki= ng on the manpages anyway) but i'm not sure which is correct. RFC 6458 doesn't include restrict in the declaration. --=20 You are receiving this mail because: You are the assignee for the bug.=