2651e6b1c6
Build mount_smbfs for arm. Also sort the subdirs. Avoid unaligned memory accesses when encoding netbios names in libsmb. The current code for encoding a netbios name converts each byte to a 16-bit value and stores the result by casting a char* to u_short*, resulting in alignment faults on strict-alignment platforms. This change reimplements the encoding routine using only byte accesses to memory. There is no particular reason to work with 16-bit values just because the encoding process creates two bytes of output for every byte of input. Working a byte at at time also avoids endian problems for big-endian platforms. Make the building of libsmb and mount_smbfs unconditional, now that r292552 has eliminated alignment and endian problems that were making it fail on some platforms. PR: 180438 PR: 189415 Relnotes: Yes |
||
---|---|---|
.. | ||
atf | ||
clang | ||
csu | ||
libalias | ||
libarchive | ||
libauditd | ||
libbegemot | ||
libblocksruntime | ||
libbluetooth | ||
libbsm | ||
libbsnmp | ||
libbz2 | ||
libc | ||
libc_nonshared | ||
libc++ | ||
libcalendar | ||
libcam | ||
libcom_err | ||
libcompat | ||
libcompiler_rt | ||
libcrypt | ||
libcxxrt | ||
libdevinfo | ||
libdevstat | ||
libdpv | ||
libdwarf | ||
libedit | ||
libefi | ||
libelf | ||
libexecinfo | ||
libexpat | ||
libfetch | ||
libfigpar | ||
libgeom | ||
libgpib | ||
libgssapi | ||
libiconv | ||
libiconv_modules | ||
libipsec | ||
libipx | ||
libjail | ||
libkiconv | ||
libkse | ||
libkvm | ||
libldns | ||
liblzma | ||
libmagic | ||
libmandoc | ||
libmd | ||
libmemstat | ||
libmilter | ||
libmp | ||
libmt | ||
libnandfs | ||
libnetbsd | ||
libnetgraph | ||
libngatm | ||
libnv | ||
libopie | ||
libpam | ||
libpcap | ||
libpmc | ||
libproc | ||
libprocstat | ||
libradius | ||
librpcsec_gss | ||
librpcsvc | ||
librt | ||
librtld_db | ||
libsbuf | ||
libsdp | ||
libsm | ||
libsmb | ||
libsmdb | ||
libsmutil | ||
libstand | ||
libstdbuf | ||
libstdthreads | ||
libtacplus | ||
libtelnet | ||
libthr | ||
libthread_db | ||
libucl | ||
libufs | ||
libugidfw | ||
libulog | ||
libunbound | ||
libusb | ||
libusbhid | ||
libutil | ||
libvgl | ||
libvmmapi | ||
libwrap | ||
liby | ||
libyaml | ||
libypclnt | ||
libz | ||
msun | ||
ncurses | ||
tests | ||
Makefile | ||
Makefile.inc |