From 7f745396c470216fb36d1d9867fb51318abc951d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 10 Nov 2007 19:36:06 +0000 Subject: * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add open64_2. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat entries. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/wordsize-64/alphasort.c: New file. * sysdeps/wordsize-64/alphasort64.c: New file. * sysdeps/wordsize-64/fseeko.c: New file. * sysdeps/wordsize-64/fseeko64.c: New file. * sysdeps/wordsize-64/ftello.c: New file. * sysdeps/wordsize-64/ftello64.c: New file. * sysdeps/wordsize-64/ftw.c: New file. * sysdeps/wordsize-64/ftw64.c: New file. * sysdeps/wordsize-64/iofgetpos.c: New file. * sysdeps/wordsize-64/iofgetpos64.c: New file. * sysdeps/wordsize-64/iofopen.c: New file. * sysdeps/wordsize-64/iofopen64.c: New file. * sysdeps/wordsize-64/iofsetpos.c: New file. * sysdeps/wordsize-64/iofsetpos64.c: New file. * sysdeps/wordsize-64/lockf.c: New file. * sysdeps/wordsize-64/lockf64.c: New file. * sysdeps/wordsize-64/mkostemp.c: New file. * sysdeps/wordsize-64/mkostemp64.c: New file. * sysdeps/wordsize-64/mkstemp.c: New file. * sysdeps/wordsize-64/mkstemp64.c: New file. * sysdeps/wordsize-64/scandir.c: New file. * sysdeps/wordsize-64/scandir64.c: New file. * sysdeps/wordsize-64/tmpfile.c: New file. * sysdeps/wordsize-64/tmpfile64.c: New file. * sysdeps/wordsize-64/versionsort.c: New file. * sysdeps/wordsize-64/versionsort64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file. * crypt/sha256-crypt.c: Fix a comment. * crypt/sha512-crypt.c: Likewise. --- crypt/sha256-crypt.c | 5 ++--- crypt/sha512-crypt.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'crypt') diff --git a/crypt/sha256-crypt.c b/crypt/sha256-crypt.c index 0db13e4664..dbd29e0efd 100644 --- a/crypt/sha256-crypt.c +++ b/crypt/sha256-crypt.c @@ -129,9 +129,8 @@ __sha256_crypt_r (key, salt, buffer, buflen) /* Add the key string. */ __sha256_process_bytes (key, key_len, &ctx); - /* The last part is the salt string. This must be at most 8 - characters and it ends at the first `$' character (for - compatibility with existing implementations). */ + /* The last part is the salt string. This must be at most 16 + characters and it ends at the first `$' character. */ __sha256_process_bytes (salt, salt_len, &ctx); diff --git a/crypt/sha512-crypt.c b/crypt/sha512-crypt.c index 4b8949f5f1..ea96e525fb 100644 --- a/crypt/sha512-crypt.c +++ b/crypt/sha512-crypt.c @@ -129,9 +129,8 @@ __sha512_crypt_r (key, salt, buffer, buflen) /* Add the key string. */ __sha512_process_bytes (key, key_len, &ctx); - /* The last part is the salt string. This must be at most 8 - characters and it ends at the first `$' character (for - compatibility with existing implementations). */ + /* The last part is the salt string. This must be at most 16 + characters and it ends at the first `$' character. */ __sha512_process_bytes (salt, salt_len, &ctx); -- cgit 1.4.1