All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] encrypt.3: encrypt/encrypt_r, not crypt/crypt_r were deleted from 2.28
@ 2021-12-30  9:42 Huang Pei
  2021-12-31 11:39 ` Alejandro Colomar (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Pei @ 2021-12-30  9:42 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man

See sysdeps/unix/sysv/linux/riscv/rv{32,64}/libcrypt.abilist from
glibc

Signed-off-by: Huang Pei <huangpei@loongson.cn>
---
 man3/encrypt.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/encrypt.3 b/man3/encrypt.3
index b4be7f3e0..b7df15777 100644
--- a/man3/encrypt.3
+++ b/man3/encrypt.3
@@ -124,8 +124,8 @@ The function is not provided.
 .SH VERSIONS
 Because they employ the DES block cipher,
 which is no longer considered secure,
-.BR crypt (),
-.BR crypt_r (),
+.BR encrypt (),
+.BR encrypt_r (),
 .BR setkey (),
 and
 .BR setkey_r ()
-- 
2.20.1


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

* Re: [PATCH] encrypt.3: encrypt/encrypt_r, not crypt/crypt_r were deleted from 2.28
  2021-12-30  9:42 [PATCH] encrypt.3: encrypt/encrypt_r, not crypt/crypt_r were deleted from 2.28 Huang Pei
@ 2021-12-31 11:39 ` Alejandro Colomar (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar (man-pages) @ 2021-12-31 11:39 UTC (permalink / raw)
  To: Huang Pei, Michael Kerrisk; +Cc: linux-man

Hi Huang,

On 12/30/21 10:42, Huang Pei wrote:
> See sysdeps/unix/sysv/linux/riscv/rv{32,64}/libcrypt.abilist from
> glibc
> 
> Signed-off-by: Huang Pei <huangpei@loongson.cn>

You're right, it seems:

alx@ady1:~/src/gnu/glibc$ git checkout glibc-2.28
Previous HEAD position was 23158b08a0 Update for 2.27 release
HEAD is now at 3c03baca37 Update NEWS, version.h, and features.h for 
glibc 2.28.
alx@ady1:~/src/gnu/glibc$
alx@ady1:~/src/gnu/glibc$ grep_glibc_prototype crypt
crypt/crypt.h:36:
extern char *crypt (const char *__phrase, const char *__salt)
      __THROW __nonnull ((1, 2));
posix/unistd.h:1124:
extern char *crypt (const char *__key, const char *__salt)
      __THROW __nonnull ((1, 2));
alx@ady1:~/src/gnu/glibc$
alx@ady1:~/src/gnu/glibc$ grep_glibc_prototype encrypt
alx@ady1:~/src/gnu/glibc$
alx@ady1:~/src/gnu/glibc$ git checkout glibc-2.27
Previous HEAD position was 3c03baca37 Update NEWS, version.h, and 
features.h for glibc 2.28.
HEAD is now at 23158b08a0 Update for 2.27 release
alx@ady1:~/src/gnu/glibc$
alx@ady1:~/src/gnu/glibc$ grep_glibc_prototype crypt
crypt/crypt.h:32:
extern char *crypt (const char *__key, const char *__salt)
      __THROW __nonnull ((1, 2));
posix/unistd.h:1126:
extern char *crypt (const char *__key, const char *__salt)
      __THROW __nonnull ((1, 2));
alx@ady1:~/src/gnu/glibc$
alx@ady1:~/src/gnu/glibc$ grep_glibc_prototype encrypt
crypt/crypt.h:40:
extern void encrypt (char *__glibc_block, int __edflag)
      __THROW __nonnull ((1));
posix/unistd.h:1131:
extern void encrypt (char *__glibc_block, int __edflag)
      __THROW __nonnull ((1));
alx@ady1:~/src/gnu/glibc$


I applied the patch to my tree.

Thanks,

Alex

> ---
>   man3/encrypt.3 | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/encrypt.3 b/man3/encrypt.3
> index b4be7f3e0..b7df15777 100644
> --- a/man3/encrypt.3
> +++ b/man3/encrypt.3
> @@ -124,8 +124,8 @@ The function is not provided.
>   .SH VERSIONS
>   Because they employ the DES block cipher,
>   which is no longer considered secure,
> -.BR crypt (),
> -.BR crypt_r (),
> +.BR encrypt (),
> +.BR encrypt_r (),
>   .BR setkey (),
>   and
>   .BR setkey_r ()

-- 
Alejandro Colomar
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

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

end of thread, other threads:[~2021-12-31 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30  9:42 [PATCH] encrypt.3: encrypt/encrypt_r, not crypt/crypt_r were deleted from 2.28 Huang Pei
2021-12-31 11:39 ` Alejandro Colomar (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.