From nobody Sat Jan 25 22:25:30 2025 X-Original-To: doc@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 4YgTlb0v2Dz5m1KJ for ; Sat, 25 Jan 2025 22:25:31 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YgTlb04pWz3llV for ; Sat, 25 Jan 2025 22:25:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737843931; 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=e2wd7JSn3vacEcVbD3NqJKhVpKogDlFe0r7PXBQiTEY=; b=vj5A+KkGMdODXyrBbeXf4XWSS54vc3NQukPBZaqQi1K7f2Ce90/G7yenLo/FJRpvkPKxO7 QUW8FgF9CDOSxg57JylOjD7BJU+JJL6SVjFE5kvf3vkR688DM/a3hZ5g94La81pCi1amL0 CBexfOIuV6tgWNULE6o7lVmDDamKokcyqlBjwE5PPsApybRxVZ0z9q5gXJw40u1hJWkTK8 RGpfmIIHzYgtvUK36OKN92pQ+3GGiTlNagZ7YMPIPL+bI2VRfqEz9ad9iITcf+OH6EHqC9 UucC6QCL9cs+XLq8UjvAqikGJyYq+QGiDBhLQUI5D4LYvlAzMhj8b81io6b1gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737843931; 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=e2wd7JSn3vacEcVbD3NqJKhVpKogDlFe0r7PXBQiTEY=; b=fGS0bPF50Us8xzJqrWKpcddmQCm13gVEhBwYbUyaCtgL319rlhZDV5+Tj4zkxYf4qbzv1r X3wYdPJ035wMUz5sDOpNXWIA2waFT04Rrzd5Gf76Hbgzps9UooRRPzS7x/g5WNWIZgeor5 am+k81cSezShTrdmLlk2nc9NUp0VPj68Lt3jCjXTSJctnvfwaMBkqJ9MQ57UTRmFdkT1Ne DPqr85tKM2J2DSuW0e5UX8qJaWW1Ed1VgcM7f3DD+oij7od/fc+Fey6WzvoqHXbOf3FrG6 LoPavZuq4pvogHJiX4FptWNkCqlok1CMC00O9VBinkg1qjKVmWP+QtYNlsdM4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737843931; a=rsa-sha256; cv=none; b=NY4QE69CdQIFdCp2JEuNQCswqibrhQSQCEZIOR45fuQ/KMhbody5AcydQ7GQ5VJEPt3jfJ RKoSBjR4ayUczzh3dvS3UCKsMv77HLESp9YlRjbUerUY8qIwqPykBAU9WQon0X3H0b9rr7 nZKom/EOGh9YI01lvH2IMo3IVATz1rYL94Y04mtpPC6MwuaFNZPFpqBDEdzSUVdAzgG5q5 my7P9w6cHFz/GI5Rqk7pLweOxJYXors3LLWF0CN5aCFyBKRgYJfDaemE2lWLRWkHpXsORV 3OcySCB7pkdZhHNYIE+wWeLL5LSD8mkvBySVzYi6a4W7ECOTnADroZ+oVERFTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YgTlZ6RznzlH for ; Sat, 25 Jan 2025 22:25:30 +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 50PMPUmE062897 for ; Sat, 25 Jan 2025 22:25:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50PMPUBL062896 for doc@FreeBSD.org; Sat, 25 Jan 2025 22:25:30 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: doc@FreeBSD.org Subject: [Bug 284353] [patch] Remind about additional mode_t argument for open(2). Date: Sat, 25 Jan 2025 22:25:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: artembunichev@zohomail.com 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 cc attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284353 Bug ID: 284353 Summary: [patch] Remind about additional mode_t argument for open(2). Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: artembunichev@zohomail.com CC: doc@FreeBSD.org Created attachment 256995 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256995&action= =3Dedit Patch for open(2) manual. It's quite easy to forget about additional argument mode_t mode for open(2), when the O_CREAT flag is specified. This argument itself is not in the synopsis, so when referencing the manual page just to recall flag names, it= 's not that easy to spot it. I think that a small reminder about it in the description for O_CREAT flag = will be good. A patch that adds it is attached. --=20 You are receiving this mail because: You are on the CC list for the bug.=