public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* Signing all patches and email to this list
@ 2023-11-13 23:46 Alejandro Colomar
  0 siblings, 0 replies; 5+ messages in thread
From: Alejandro Colomar @ 2023-11-13 23:46 UTC (permalink / raw)
  To: linux-man

[-- Attachment #1: Type: text/plain, Size: 2214 bytes --]

Hi,

I'd like to ask contributors to sign their emails to this list with a
PGP key; especially for mails that include patches, but ideally all of
them.  Of course, it's a suggestion, and there wouldn't be any
enforcement other than asking.  What do you think of that?

I've prepared some text for ./CONTRIBUTING; please review.  It also
depends on mutt(1) maintainers, if they want to patch mutt(1) to allow
crypto operations in batch and mailx modes.

Thanks,
Alex

---

commit f7ba049d975a4b323c8086b2fc859687e4fc1d4e (HEAD -> sign)
Author: Alejandro Colomar <alx@kernel.org>
Date:   Fri Nov 10 01:10:00 2023 +0100

    CONTRIBUTING: Please sign your emails with PGP
    
    Signed-off-by: Alejandro Colomar <alx@kernel.org>

diff --git a/CONTRIBUTING b/CONTRIBUTING
index 475244c13..204e04fb3 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -56,6 +56,29 @@ Description
 
                  help
 
+       Sign your emails with PGP
+             Please sign all of your emails sent to the mailing list,
+             including your emails containing patches, with your PGP
+             key.  This helps establish trust between you and other
+             contributors of this project, and prevent others
+             impersonating you.
+
+             There are many ways you can sign your patches, and it
+             depends on your preferred tools.  You can use
+             git-send-email(1) in combination with mutt(1).  For that,
+             do the following.
+
+             In <~/.gitconfig>, add the following section:
+
+                 [sendemail]
+                     sendmailcmd = mutt -H - && true
+
+             And then, patched mutt(1) to enable encryption in batch and
+             mailx modes, which is disabled in upstream mutt(1).
+             Hopefully, mutt(1) will merge the patch, so it'd be easier
+             to do this.  You can find the patch here:
+             <https://gitlab.com/muttmua/mutt/-/merge_requests/173>.
+
    Patches
        If you know how to fix a problem in a manual page (if not, see
        "Reporting bugs" below), then send a patch in an email.

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* strncpy clarify result may not be null terminated
@ 2023-11-04 11:27 Jonny Grant
  2023-11-12 11:26 ` [PATCH v2 1/3] string_copying.7: BUGS: *cat(3) functions aren't always bad Alejandro Colomar
  0 siblings, 1 reply; 5+ messages in thread
From: Jonny Grant @ 2023-11-04 11:27 UTC (permalink / raw)
  To: linux-man, Alejandro Colomar (man-pages)

Hello
I have a suggestion for strncpy.

C23 draft states this caveat for strncpy. 

"373) Thus, if there is no null character in the first n characters of the array pointed to by s2, the result will not be null-
terminated."


https://man7.org/linux/man-pages/man3/strncpy.3.html

"If the destination buffer, limited by its size, isn't large
enough to hold the copy, the resulting character sequence is
truncated. "

How about clarifying this as:


"If the destination buffer, limited by its size, isn't large
enough to hold the copy, the resulting character sequence is
truncated; where there is no null terminating byte in the first n
characters the result will not be null terminated. "

Kind regards, Jonny

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-18 23:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20231115212015.6446-1-alx@kernel.org>
2023-11-15 23:28 ` Signing all patches and email to this list Matthew House
2023-11-15 23:39   ` Alejandro Colomar
2023-11-13 23:46 Alejandro Colomar
  -- strict thread matches above, loose matches on Subject: below --
2023-11-04 11:27 strncpy clarify result may not be null terminated Jonny Grant
2023-11-12 11:26 ` [PATCH v2 1/3] string_copying.7: BUGS: *cat(3) functions aren't always bad Alejandro Colomar
2023-11-17 21:43   ` Jonny Grant
2023-11-18  0:25     ` Signing all patches and email to this list Matthew House
2023-11-18 23:24       ` Jonny Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox