Re: [PATCH] encrypt.3: encrypt/encrypt_r, not crypt/crypt_r were deleted from 2.28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>

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/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux