freebsd-dev/lib
Dag-Erling Smørgrav 5280a31478 r261913 broke DES passwords, because the only way they could work,
since they don't have an easily recognizable signature, was if they
were the default.  This commit rewrites crypt_set_format(3) etc to
address this:

 - Use a pointer instead of an index to identify the default format.
   This pointer is initialized at compile time to point to the first
   first element in the list of supported formats, eliminating the
   need for crypt_setdefault().  Using a pointer also simplifies
   iterating through the list.

 - Associate DES with the magic string "_", which takes care of the
   Extended DES format.

 - Finally, as a special case, if the salt does not match any known
   magic string but matches ^[./0-9A-Za-z]{13}$, it is assumed to be a
   DES password and is passed on to crypt_des().

MFC after:	1 week
2014-04-26 11:50:25 +00:00
..
atf Add atf m4 files from the vendor branch. 2014-04-01 13:47:08 +00:00
clang Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process 2014-03-26 22:30:38 +00:00
csu Use the size of the MACHINE_ARCH string instead of sizeof(uint32_t). It can 2013-10-27 23:48:59 +00:00
libalias
libarchive NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
libauditd NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
libbegemot
libblocksruntime
libbluetooth
libbsdstat libbsdstat: fix warnings, set WARNS 2014-03-11 01:10:44 +00:00
libbsm
libbsnmp Add missing DPADD 2013-01-01 18:29:25 +00:00
libbz2
libc libc/stdio: Fail fdopen() on an execute-only fd. 2014-04-21 17:40:23 +00:00
libc_nonshared Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
libc++ Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
libcalendar
libcam Bump libcam shared library version forgotten in r259397. 2013-12-15 15:51:05 +00:00
libcapsicum Fix err() usage in libcapsicum(3) example. 2014-04-14 18:14:09 +00:00
libcasper Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
libcom_err
libcompat
libcompiler_rt Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental. 2014-03-23 12:49:25 +00:00
libcrypt r261913 broke DES passwords, because the only way they could work, 2014-04-26 11:50:25 +00:00
libcxxrt Add missing C++11 typeinfos to the libcxxrt version script. 2014-01-11 19:02:17 +00:00
libdevinfo
libdevstat Fix a typo. 2013-12-25 19:38:16 +00:00
libdwarf Bump SHLIB_MAJOR for libdwarf as ABI/API has changed. 2014-01-21 21:11:07 +00:00
libedit Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
libefi
libelf Bump SHLIB_MAJOR for libelf. 2014-01-21 21:13:13 +00:00
libexecinfo Don't install private libexecinfo headers 2013-09-03 13:31:43 +00:00
libexpat Update base system libexpat to 2.1.0. 2013-02-26 00:58:44 +00:00
libfetch Support Last-Modified behind proxies which return UTC instead of GMT. 2014-03-11 13:47:11 +00:00
libgeom Since there's no defined schema for the XML that's generated by the 2013-07-19 06:42:15 +00:00
libgpib
libgssapi
libiconv Split the last gcc-specific flags off into CFLAGS.gcc. This also 2014-01-05 21:03:49 +00:00
libiconv_modules Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
libipsec Add a missing break in the TCP case. 2014-04-17 10:27:18 +00:00
libjail
libkiconv The iconv in libc did two things - implement the standard APIs, the GNU 2013-08-13 07:15:01 +00:00
libkvm Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental. 2014-03-23 12:49:25 +00:00
libldns LDNS needs OpenSSL. This wasn't a problem as long as it was only build 2013-09-08 19:39:18 +00:00
liblzma
libmagic
libmandoc Merge mdocml v1.12.3 into head 2014-02-01 09:27:57 +00:00
libmd Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
libmemstat Expose real size of UMA allocations via libmemstat(3). 2014-02-10 20:09:10 +00:00
libmilter
libmp
libnandfs
libnetbsd Add libnetbsd, a thin compatibility layer intended to allow a limited 2012-12-21 20:37:38 +00:00
libnetgraph make sure that rbuf is aligned by making a union w/ the structure we 2014-01-07 23:01:05 +00:00
libngatm
libnv libnv: Don't lose big-endian flag when receiving a message. 2014-04-01 21:30:54 +00:00
libopie
libpam Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
libpcap MFV: libpcap 1.4.0. 2013-05-30 08:02:00 +00:00
libpjdlog Move my simple logging API to a separate library. It is now already used 2013-12-01 09:41:06 +00:00
libpmc Update hwpmc to support core events for Atom Silvermont microarchitecture. 2014-03-20 20:51:08 +00:00
libproc Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the 2014-04-14 00:24:04 +00:00
libprocstat Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
libradius mdoc sweep. 2013-05-12 22:22:12 +00:00
librpcsec_gss Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
librpcsvc
librt Convert this piece of code to use C11 atomics. 2013-06-30 08:59:33 +00:00
librtld_db
libsbuf Add sbuf_start_section and sbuf_end_section to the libsbuf symbol map. 2013-04-11 19:50:10 +00:00
libsdp
libsm Add new sendmail 8.14.8 file 2014-01-26 23:40:31 +00:00
libsmb Just disable recoding support in libsmb if built WITHOUT_ICONV. 2013-11-12 15:09:28 +00:00
libsmdb
libsmutil
libstand Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
libstdbuf
libstdthreads
libtacplus mdoc sweep. 2013-05-12 22:22:12 +00:00
libtelnet
libthr Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT. 2014-04-05 17:54:43 +00:00
libthread_db Ensure we set all fpu registers to zero by using the address and size of 2013-08-17 14:42:40 +00:00
libucl Update to 20140321 2014-03-22 17:28:14 +00:00
libufs
libugidfw
libulog
libunbound Build and install the Unbound caching DNS resolver daemon. 2013-09-15 14:51:23 +00:00
libusb Tune buffer sizes for SuperSpeed USB when using LibUSB v0.1 and v1.0 2014-04-11 14:11:55 +00:00
libusbhid
libutil libutil/pw_util.3: Fix two prototypes. 2014-02-13 05:13:22 +00:00
libvgl
libvmmapi Add support for emulating the slave PIC. 2014-04-14 19:00:20 +00:00
libwrap
liby
libypclnt
libz Add a manual page for zopen(3) provided by our libz.so. 2014-03-06 00:25:21 +00:00
msun Only build the vfp/softfp switching code on armv6 as we don't support vfp 2014-03-16 09:40:05 +00:00
ncurses Eliminate last vestigies of NO_MAN= in the tree. Also, remove 2014-04-25 19:25:05 +00:00
tests Install category Kyuafiles from their category directories. 2013-11-08 14:29:06 +00:00
Makefile lib: Remove duplicate SUBDIR libnv. 2014-04-05 19:48:19 +00:00
Makefile.inc