History log of /freebsd-10-stable/contrib/file/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
328875 05-Feb-2018 eadler

MFC r323683:

MFV r323678: file 5.32


ChangeLog
aclocal.m4
config.guess
config.sub
configure
configure.ac
doc/file.man
doc/libmagic.man
doc/magic.man
magic/Localstuff
magic/Magdir/adventure
magic/Magdir/amanda
magic/Magdir/amigaos
magic/Magdir/android
magic/Magdir/animation
magic/Magdir/apache
magic/Magdir/apple
magic/Magdir/archive
magic/Magdir/att3b
magic/Magdir/audio
magic/Magdir/bhl
magic/Magdir/blackberry
magic/Magdir/blender
magic/Magdir/c-lang
magic/Magdir/cad
magic/Magdir/cafebabe
magic/Magdir/clipper
magic/Magdir/coff
magic/Magdir/commands
magic/Magdir/compress
magic/Magdir/console
magic/Magdir/cups
magic/Magdir/database
magic/Magdir/der
magic/Magdir/diff
magic/Magdir/dolby
magic/Magdir/dump
magic/Magdir/dyadic
magic/Magdir/editors
magic/Magdir/filesystems
magic/Magdir/flash
magic/Magdir/fonts
magic/Magdir/fsav
magic/Magdir/games
magic/Magdir/gconv
magic/Magdir/geo
magic/Magdir/gnu
magic/Magdir/gpt
magic/Magdir/gpu
magic/Magdir/gringotts
magic/Magdir/hitachi-sh
magic/Magdir/ibm370
magic/Magdir/ibm6000
magic/Magdir/icc
magic/Magdir/images
magic/Magdir/intel
magic/Magdir/isz
magic/Magdir/jpeg
magic/Magdir/kerberos
magic/Magdir/kml
magic/Magdir/linux
magic/Magdir/lisp
magic/Magdir/m4
magic/Magdir/macintosh
magic/Magdir/make
magic/Magdir/maple
magic/Magdir/marc21
magic/Magdir/mathematica
magic/Magdir/metastore
magic/Magdir/meteorological
magic/Magdir/microfocus
magic/Magdir/mime
magic/Magdir/misctools
magic/Magdir/modem
magic/Magdir/mozilla
magic/Magdir/msdos
magic/Magdir/msvc
magic/Magdir/msx
magic/Magdir/mup
magic/Magdir/nasa
magic/Magdir/netbsd
magic/Magdir/netscape
magic/Magdir/nitpicker
magic/Magdir/os2
magic/Magdir/os9
magic/Magdir/pbf
magic/Magdir/pc88
magic/Magdir/pc98
magic/Magdir/pdf
magic/Magdir/pdp
magic/Magdir/perl
magic/Magdir/pgf
magic/Magdir/pgp
magic/Magdir/printer
magic/Magdir/project
magic/Magdir/psdbms
magic/Magdir/python
magic/Magdir/riff
magic/Magdir/ruby
magic/Magdir/sccs
magic/Magdir/scientific
magic/Magdir/sendmail
magic/Magdir/sequent
magic/Magdir/sgml
magic/Magdir/sharc
magic/Magdir/sketch
magic/Magdir/sql
magic/Magdir/ssl
magic/Magdir/sysex
magic/Magdir/terminfo
magic/Magdir/vms
magic/Magdir/vmware
magic/Magdir/vorbis
magic/Magdir/webassembly
magic/Magdir/windows
magic/Magdir/xenix
magic/Magdir/xilinx
magic/Magdir/xwindows
magic/Magdir/yara
magic/Makefile.am
magic/Makefile.in
python/magic.py
src/apprentice.c
src/cdf.c
src/cdf.h
src/cdf_time.c
src/compress.c
src/der.c
src/file.h
src/fsmagic.c
src/funcs.c
src/is_tar.c
src/magic.c
src/magic.h.in
src/print.c
src/readcdf.c
src/readelf.c
src/readelf.h
src/softmagic.c
src/vasprintf.c
tests/Makefile.am
tests/Makefile.in
tests/hddrawcopytool.result
tests/hddrawcopytool.testfile
tests/test.c
/freebsd-10-stable/lib/libmagic/config.h
323281 07-Sep-2017 gordon

MFC r323278: Fix an incorrectly used conditional causing buffer overflow.

Reported by: Thomas Jarosch of Intra2net AG
Reviewed by: emaste, jhb
Approved by: re (marius)
Security: CVE-2017-1000249

309848 11-Dec-2016 delphij

MFC r308420: MFV r308392: file 5.29.

302555 11-Jul-2016 delphij

MFC r302221,302222:

MFV r302218: file 5.28.

Relnotes: yes

300899 28-May-2016 delphij

MFC r298192,299234,299238,299736:

file 5.27.


ChangeLog
README
config.h.in
configure
configure.ac
doc/file.man
doc/libmagic.man
magic/Magdir/android
magic/Magdir/animation
magic/Magdir/apple
magic/Magdir/archive
magic/Magdir/audio
magic/Magdir/bioinformatics
magic/Magdir/c-lang
magic/Magdir/cafebabe
magic/Magdir/coff
magic/Magdir/commands
magic/Magdir/compress
magic/Magdir/console
magic/Magdir/database
magic/Magdir/der
magic/Magdir/filesystems
magic/Magdir/finger
magic/Magdir/flif
magic/Magdir/fonts
magic/Magdir/fortran
magic/Magdir/hitachi-sh
magic/Magdir/images
magic/Magdir/intel
magic/Magdir/java
magic/Magdir/lisp
magic/Magdir/mach
magic/Magdir/macintosh
magic/Magdir/microfocus
magic/Magdir/misctools
magic/Magdir/modem
magic/Magdir/msdos
magic/Magdir/msvc
magic/Magdir/msx
magic/Magdir/netbsd
magic/Magdir/os2
magic/Magdir/polyml
magic/Magdir/psdbms
magic/Magdir/python
magic/Magdir/sendmail
magic/Magdir/sgml
magic/Magdir/sinclair
magic/Magdir/sql
magic/Magdir/terminfo
magic/Magdir/vacuum-cleaner
magic/Magdir/windows
magic/Magdir/wordprocessors
magic/Magdir/xenix
magic/Makefile.am
magic/Makefile.in
python/README
python/magic.py
python/setup.py
src/Makefile.am
src/Makefile.in
src/apprentice.c
src/ascmagic.c
src/cdf.c
src/cdf.h
src/compress.c
src/der.c
src/der.h
src/dprintf.c
src/file.c
src/file.h
src/file_opts.h
src/fmtcheck.c
src/funcs.c
src/magic.c
src/magic.h
src/magic.h.in
src/print.c
src/readcdf.c
src/readelf.c
src/readelf.h
src/softmagic.c
tests/Makefile.am
tests/Makefile.in
/freebsd-10-stable/lib/libmagic/Makefile
/freebsd-10-stable/lib/libmagic/config.h
299236 08-May-2016 delphij

Revert r298920 until we have addressed all known regressions on head/ after
settle. file is now downgraded to 5.25.

PR: bin/209211
Requested by: Tomoaki AOKI
Relnotes: yes

298920 02-May-2016 delphij

MFC r298192: MFV r298178:

Update file to 5.26.

Relnotes: yes

290152 29-Oct-2015 delphij

MFC r287453,287454,288143:

file 5.25.

Relnotes: yes

284778 24-Jun-2015 delphij

MFC r284237,284277:

file 5.23.

Relnotes: yes

277592 23-Jan-2015 delphij

MFC r276577: MFV r276568:

Update file to 5.22.

277434 20-Jan-2015 trasz

MFC r275680:

Add fstyp(8). This utility, named after its SVR4 counterpart, detects
filesystems. It differs from file(1) in that it gives machine-parseable
output, it outputs filesystem labels, doesn't get confused by other
formats metadata, and runs in Capsicum sandbox.

Differential Revision: https://reviews.freebsd.org/D1255
Relnotes: yes
Sponsored by: The FreeBSD Foundation

276415 30-Dec-2014 delphij

MFC r275698: MFV r275696: file 5.21.

275668 10-Dec-2014 delphij

MFC r275666:

Fix multiple vulnerabilities in file(1) and libmagic(3).

Security: FreeBSD-SA-14:28.file
Security: CVE-2014-3710, CVE-2014-8116, CVE-2014-8117

268515 11-Jul-2014 delphij

MFC r267897: MFV r267843:

Update file/libmagic to 5.19.

267828 24-Jun-2014 delphij

Fix multiple vulnerabilities in file(1) and libmagic(3).

Security: FreeBSD-SA-14:16.file
Approved by: so

263687 24-Mar-2014 emaste

MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSD

The NetBSD Foundation states "Third parties are encouraged to change the
license on any files which have a 4-clause license contributed to the
NetBSD Foundation to a 2-clause license."

This change removes clauses 3 and 4 from copyright / license blocks that
list The NetBSD Foundation as the only copyright holder.

Sponsored by: The FreeBSD Foundation


mygetopt.h
/freebsd-10-stable/contrib/pf/pflogd/pidfile.c
/freebsd-10-stable/contrib/tnftp/COPYING
/freebsd-10-stable/contrib/vis/extern.h
/freebsd-10-stable/lib/libedit/chartype.h
/freebsd-10-stable/share/man/man9/bus_dma.9
/freebsd-10-stable/share/man/man9/bus_space.9
/freebsd-10-stable/sys/compat/svr4/svr4_fuser.h
/freebsd-10-stable/sys/compat/svr4/svr4_ipc.c
/freebsd-10-stable/sys/compat/svr4/svr4_resource.c
/freebsd-10-stable/sys/compat/svr4/svr4_resource.h
/freebsd-10-stable/sys/dev/esp/ncr53c9xvar.h
/freebsd-10-stable/sys/dev/le/am7990.c
/freebsd-10-stable/sys/dev/le/am79900.c
/freebsd-10-stable/sys/dev/le/am79900reg.h
/freebsd-10-stable/sys/dev/le/am7990reg.h
/freebsd-10-stable/sys/dev/le/if_le_isa.c
/freebsd-10-stable/sys/dev/le/if_le_pci.c
/freebsd-10-stable/sys/dev/le/lance.c
/freebsd-10-stable/sys/dev/le/lancereg.h
/freebsd-10-stable/sys/dev/usb/serial/ubsa.c
/freebsd-10-stable/sys/dev/usb/serial/ubser.c
/freebsd-10-stable/sys/dev/usb/serial/uchcom.c
/freebsd-10-stable/sys/dev/usb/serial/ufoma.c
/freebsd-10-stable/sys/dev/usb/serial/umodem.c
/freebsd-10-stable/sys/dev/usb/serial/uplcom.c
/freebsd-10-stable/sys/dev/usb/serial/usb_serial.c
/freebsd-10-stable/sys/dev/usb/serial/usb_serial.h
/freebsd-10-stable/sys/mips/cavium/octopci_bus_space.c
/freebsd-10-stable/sys/mips/include/bus.h
/freebsd-10-stable/sys/mips/mips/bus_space_fdt.c
/freebsd-10-stable/sys/mips/mips/bus_space_generic.c
/freebsd-10-stable/sys/mips/mips/gdb_machdep.c
/freebsd-10-stable/sys/powerpc/aim/mmu_oea.c
/freebsd-10-stable/sys/powerpc/aim/mmu_oea64.c
/freebsd-10-stable/sys/powerpc/aim/moea64_native.c
/freebsd-10-stable/sys/powerpc/include/bat.h
/freebsd-10-stable/sys/powerpc/include/bus.h
/freebsd-10-stable/sys/sys/bus_dma.h
/freebsd-10-stable/sys/tools/miidevs2h.awk
/freebsd-10-stable/sys/tools/pccarddevs2h.awk
/freebsd-10-stable/sys/x86/include/bus.h
259852 25-Dec-2013 dim

MFC r259724:

Apply upstream commit 33312fd828e59c78ae4ee30fd70d0ca109748cf0 (by
zoulasc) to contrib/file:

don't write a char to a pointer.

259073 07-Dec-2013 peter

Hoist all the mergeinfo up to the root in preparation for enforcing merges
to the root only. All MFC's were rerecorded to the root.

Going forward, if an MFC includes mergeinfo, it will need to be made to
the root and committed from the root. Merges with --ignore-ancestry
or diff | patch can go anywhere.

The mergeinfo in HEAD is in a bad state from years of neglect and manual
tampering and this was branched into 10.x. This confuses the coalescing
code and prevents it from doing its job.

Approved by: re (gjb, implicit)


/freebsd-10-stable/MAINTAINERS
/freebsd-10-stable/Makefile.inc1
/freebsd-10-stable/ObsoleteFiles.inc
/freebsd-10-stable/UPDATING
/freebsd-10-stable/bin/df
/freebsd-10-stable/bin/freebsd-version
/freebsd-10-stable/cddl
/freebsd-10-stable/cddl/contrib/opensolaris
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-10-stable/contrib/apr
/freebsd-10-stable/contrib/apr-util
/freebsd-10-stable/contrib/atf
/freebsd-10-stable/contrib/binutils
/freebsd-10-stable/contrib/bmake
/freebsd-10-stable/contrib/byacc
/freebsd-10-stable/contrib/bzip2
/freebsd-10-stable/contrib/com_err
/freebsd-10-stable/contrib/compiler-rt
/freebsd-10-stable/contrib/dialog
/freebsd-10-stable/contrib/dtc
/freebsd-10-stable/contrib/ee
/freebsd-10-stable/contrib/expat
/freebsd-10-stable/contrib/file
/freebsd-10-stable/contrib/gcc
/freebsd-10-stable/contrib/gdb
/freebsd-10-stable/contrib/gdtoa
/freebsd-10-stable/contrib/groff
/freebsd-10-stable/contrib/ipfilter
/freebsd-10-stable/contrib/ipfilter/ml_ipl.c
/freebsd-10-stable/contrib/ipfilter/mlfk_ipl.c
/freebsd-10-stable/contrib/ipfilter/mlh_rule.c
/freebsd-10-stable/contrib/ipfilter/mli_ipl.c
/freebsd-10-stable/contrib/ipfilter/mln_ipl.c
/freebsd-10-stable/contrib/ipfilter/mls_ipl.c
/freebsd-10-stable/contrib/ldns
/freebsd-10-stable/contrib/less
/freebsd-10-stable/contrib/libarchive
/freebsd-10-stable/contrib/libarchive/cpio
/freebsd-10-stable/contrib/libarchive/libarchive
/freebsd-10-stable/contrib/libarchive/libarchive_fe
/freebsd-10-stable/contrib/libarchive/tar
/freebsd-10-stable/contrib/libc++
/freebsd-10-stable/contrib/libc-vis
/freebsd-10-stable/contrib/libcxxrt
/freebsd-10-stable/contrib/libexecinfo
/freebsd-10-stable/contrib/libpcap
/freebsd-10-stable/contrib/libstdc++
/freebsd-10-stable/contrib/llvm
/freebsd-10-stable/contrib/llvm/tools/clang
/freebsd-10-stable/contrib/mtree
/freebsd-10-stable/contrib/ncurses
/freebsd-10-stable/contrib/netcat
/freebsd-10-stable/contrib/ntp
/freebsd-10-stable/contrib/nvi
/freebsd-10-stable/contrib/one-true-awk
/freebsd-10-stable/contrib/openbsm
/freebsd-10-stable/contrib/openpam
/freebsd-10-stable/contrib/openresolv
/freebsd-10-stable/contrib/pf
/freebsd-10-stable/contrib/sendmail
/freebsd-10-stable/contrib/serf
/freebsd-10-stable/contrib/smbfs
/freebsd-10-stable/contrib/subversion
/freebsd-10-stable/contrib/tcpdump
/freebsd-10-stable/contrib/tcsh
/freebsd-10-stable/contrib/tnftp
/freebsd-10-stable/contrib/top
/freebsd-10-stable/contrib/top/install-sh
/freebsd-10-stable/contrib/tzcode/stdtime
/freebsd-10-stable/contrib/tzcode/zic
/freebsd-10-stable/contrib/tzdata
/freebsd-10-stable/contrib/unbound
/freebsd-10-stable/contrib/wpa
/freebsd-10-stable/contrib/xz
/freebsd-10-stable/crypto/heimdal
/freebsd-10-stable/crypto/openssh
/freebsd-10-stable/crypto/openssl
/freebsd-10-stable/etc
/freebsd-10-stable/etc/rc.d
/freebsd-10-stable/gnu/lib
/freebsd-10-stable/gnu/usr.bin/binutils
/freebsd-10-stable/gnu/usr.bin/cc/cc_tools
/freebsd-10-stable/gnu/usr.bin/gdb
/freebsd-10-stable/include
/freebsd-10-stable/lib
/freebsd-10-stable/lib/libc
/freebsd-10-stable/lib/libc/stdtime
/freebsd-10-stable/lib/libc_nonshared
/freebsd-10-stable/lib/libfetch
/freebsd-10-stable/lib/libiconv_modules
/freebsd-10-stable/lib/libsmb
/freebsd-10-stable/lib/libthr
/freebsd-10-stable/lib/libutil
/freebsd-10-stable/lib/libvmmapi
/freebsd-10-stable/lib/libyaml
/freebsd-10-stable/lib/libz
/freebsd-10-stable/release
/freebsd-10-stable/release/doc
/freebsd-10-stable/sbin
/freebsd-10-stable/sbin/camcontrol
/freebsd-10-stable/sbin/dumpon
/freebsd-10-stable/sbin/hastd
/freebsd-10-stable/sbin/ifconfig
/freebsd-10-stable/sbin/ipfw
/freebsd-10-stable/sbin/nvmecontrol
/freebsd-10-stable/share
/freebsd-10-stable/share/examples/bhyve
/freebsd-10-stable/share/i18n/csmapper/JIS
/freebsd-10-stable/share/i18n/esdb/EUC
/freebsd-10-stable/share/man
/freebsd-10-stable/share/man/man4
/freebsd-10-stable/share/man/man4/bhyve.4
/freebsd-10-stable/share/man/man5
/freebsd-10-stable/share/man/man7
/freebsd-10-stable/share/man/man8
/freebsd-10-stable/share/misc
/freebsd-10-stable/share/mk
/freebsd-10-stable/share/mk/bsd.arch.inc.mk
/freebsd-10-stable/share/syscons
/freebsd-10-stable/share/zoneinfo
/freebsd-10-stable/sys
/freebsd-10-stable/sys/amd64/include/vmm.h
/freebsd-10-stable/sys/amd64/include/vmm_dev.h
/freebsd-10-stable/sys/amd64/include/vmm_instruction_emul.h
/freebsd-10-stable/sys/amd64/include/xen
/freebsd-10-stable/sys/amd64/vmm
/freebsd-10-stable/sys/boot
/freebsd-10-stable/sys/boot/i386/efi
/freebsd-10-stable/sys/boot/ia64/efi
/freebsd-10-stable/sys/boot/ia64/ski
/freebsd-10-stable/sys/boot/powerpc/boot1.chrp
/freebsd-10-stable/sys/boot/powerpc/ofw
/freebsd-10-stable/sys/cddl/contrib/opensolaris
/freebsd-10-stable/sys/conf
/freebsd-10-stable/sys/contrib/dev/acpica
/freebsd-10-stable/sys/contrib/dev/acpica/changes.txt
/freebsd-10-stable/sys/contrib/dev/acpica/common
/freebsd-10-stable/sys/contrib/dev/acpica/compiler
/freebsd-10-stable/sys/contrib/dev/acpica/components/debugger
/freebsd-10-stable/sys/contrib/dev/acpica/components/disassembler
/freebsd-10-stable/sys/contrib/dev/acpica/components/dispatcher
/freebsd-10-stable/sys/contrib/dev/acpica/components/events
/freebsd-10-stable/sys/contrib/dev/acpica/components/executer
/freebsd-10-stable/sys/contrib/dev/acpica/components/hardware
/freebsd-10-stable/sys/contrib/dev/acpica/components/namespace
/freebsd-10-stable/sys/contrib/dev/acpica/components/parser
/freebsd-10-stable/sys/contrib/dev/acpica/components/resources
/freebsd-10-stable/sys/contrib/dev/acpica/components/tables
/freebsd-10-stable/sys/contrib/dev/acpica/components/utilities
/freebsd-10-stable/sys/contrib/dev/acpica/include
/freebsd-10-stable/sys/contrib/dev/acpica/os_specific
/freebsd-10-stable/sys/contrib/ipfilter
/freebsd-10-stable/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
/freebsd-10-stable/sys/contrib/ipfilter/netinet/ip_raudio_pxy.c
/freebsd-10-stable/sys/contrib/libfdt
/freebsd-10-stable/sys/contrib/octeon-sdk
/freebsd-10-stable/sys/contrib/x86emu
/freebsd-10-stable/sys/dev/bvm
/freebsd-10-stable/sys/dev/fdt/fdt_ic_if.m
/freebsd-10-stable/sys/dev/hyperv
/freebsd-10-stable/sys/modules/hyperv
/freebsd-10-stable/sys/modules/vmm
/freebsd-10-stable/sys/x86/include/acpica_machdep.h
/freebsd-10-stable/tools
/freebsd-10-stable/tools/build
/freebsd-10-stable/tools/build/options
/freebsd-10-stable/tools/tools/atsectl
/freebsd-10-stable/usr.bin/calendar
/freebsd-10-stable/usr.bin/csup
/freebsd-10-stable/usr.bin/iscsictl
/freebsd-10-stable/usr.bin/procstat
/freebsd-10-stable/usr.sbin
/freebsd-10-stable/usr.sbin/bhyve
/freebsd-10-stable/usr.sbin/bhyvectl
/freebsd-10-stable/usr.sbin/bhyveload
/freebsd-10-stable/usr.sbin/bsdconfig
/freebsd-10-stable/usr.sbin/bsdinstall
/freebsd-10-stable/usr.sbin/ctladm
/freebsd-10-stable/usr.sbin/ctld
/freebsd-10-stable/usr.sbin/freebsd-update
/freebsd-10-stable/usr.sbin/jail
/freebsd-10-stable/usr.sbin/mergemaster
/freebsd-10-stable/usr.sbin/mount_smbfs
/freebsd-10-stable/usr.sbin/ndiscvt
/freebsd-10-stable/usr.sbin/pkg
/freebsd-10-stable/usr.sbin/rtadvctl
/freebsd-10-stable/usr.sbin/rtadvd
/freebsd-10-stable/usr.sbin/rtsold
/freebsd-10-stable/usr.sbin/zic
256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


245307 11-Jan-2013 obrien

Add support for Lua 5.2.

Submitted by: skreuzer


239348 17-Aug-2012 mckay

Correct a regression introduced during the import of file(1) 5.11.

Magic tests containing "search" or "regex" directives were incorrectly
compiled by "mkmagic" and were effectively ignored. This caused troff
files (for example) to be detected as simply "ASCII text" instead of
as "troff or preprocessor input, ASCII text".

PR: bin/170415
Approved by: consensus on developers@
MFC after: 3 days


234449 19-Apr-2012 obrien

Update file(1) to version 5.11.


228553 15-Dec-2011 dim

In contrib/file/softmagic.c, fix a potential format string security
problem. (This fix has already been applied upstream, but we do not
have the latest version of file in the tree at the moment.)

MFC after: 1 week


223758 04-Jul-2011 attilio

With retirement of cpumask_t and usage of cpuset_t for representing a
mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient.

Remove them and replace their usage with custom pc_cpuid magic (as,
atm, pc_cpumask can be easilly represented by (1 << pc_cpuid) and
pc_other_cpus by (all_cpus & ~(1 << pc_cpuid))).

This change is not targeted for MFC because of struct pcpu members
removal and dependency by cpumask_t retirement.

MD review by: marcel, marius, alc
Tested by: pluknet
MD testing by: marcel, marius, gonzo, andreast


222813 07-Jun-2011 attilio

etire the cpumask_t type and replace it with cpuset_t usage.

This is intended to fix the bug where cpu mask objects are
capped to 32. MAXCPU, then, can now arbitrarely bumped to whatever
value. Anyway, as long as several structures in the kernel are
statically allocated and sized as MAXCPU, it is suggested to keep it
as low as possible for the time being.

Technical notes on this commit itself:
- More functions to handle with cpuset_t objects are introduced.
The most notable are cpusetobj_ffs() (which calculates a ffs(3)
for a cpuset_t object), cpusetobj_strprint() (which prepares a string
representing a cpuset_t object) and cpusetobj_strscan() (which
creates a valid cpuset_t starting from a string representation).
- pc_cpumask and pc_other_cpus are target to be removed soon.
With the moving from cpumask_t to cpuset_t they are now inefficient
and not really useful. Anyway, for the time being, please note that
access to pcpu datas is protected by sched_pin() in order to avoid
migrating the CPU while reading more than one (possible) word
- Please note that size of cpuset_t objects may differ between kernel
and userland. While this is not directly related to the patch itself,
it is good to understand that concept and possibly use the patch
as a reference on how to deal with cpuset_t objects in userland, when
accessing kernland members.
- KTR_CPUMASK is changed and now is represented through a string, to be
set as the example reported in NOTES.

Please additively note that no MAXCPU is bumped in this patch, but
private testing has been done until to MAXCPU=128 on a real 8x8x2(htt)
machine (amd64).

Please note that the FreeBSD version is not yet bumped because of
the upcoming pcpu changes. However, note that this patch is not
targeted for MFC.

People to thank for the time spent on this patch:
- sbruno, pluknet and Nicholas Esborn (nick AT desert DOT net) tested
several revision of the patches and really helped in improving
stability of this work.
- marius fixed several bugs in the sparc64 implementation and reviewed
patches related to ktr.
- jeff and jhb discussed the basic approach followed.
- kib and marcel made targeted review on some specific part of the
patch.
- marius, art, nwhitehorn and andreast reviewed MD specific part of
the patch.
- marius, andreast, gonzo, nwhitehorn and jceel tested MD specific
implementations of the patch.
- Other people have made contributions on other patches that have been
already committed and have been listed separately.

Companies that should be mentioned for having participated at several
degrees:
- Yahoo! for having offered the machines used for testing on big
count of CPUs.
- The FreeBSD Foundation for having sponsored my devsummit attendance,
which has been instrumental.
- Sandvine for having offered offices and infrastructure during
development.

(I really hope I didn't forget anyone, if it happened I apologize in
advance).


215679 22-Nov-2010 attilio

Add the ability for GDB to printout the thread name along with other
thread specific informations.

In order to do that, and in order to avoid KBI breakage with existing
infrastructure the following semantic is implemented:
- For live programs, a new member to the PT_LWPINFO is added (pl_tdname)
- For cores, a new ELF note is added (NT_THRMISC) that can be used for
storing thread specific, miscellaneous, informations. Right now it is
just popluated with a thread name.

GDB, then, retrieves the correct informations from the corefile via the
BFD interface, as it groks the ELF notes and create appropriate
pseudo-sections.

Sponsored by: Sandvine Incorporated
Tested by: gianni
Discussed with: dim, kan, kib
MFC after: 2 weeks


210761 02-Aug-2010 rpaulo

Properly warp around more code under COMPILE_ONLY to recover from build
errors.


207736 07-May-2010 mckusick

Merger of the quota64 project into head.

This joint work of Dag-Erling Smørgrav and myself updates the
FFS quota system to support both traditional 32-bit and new 64-bit
quotas (for those of you who want to put 2+Tb quotas on your users).

By default quotas are not compiled into the kernel. To include them
in your kernel configuration you need to specify:

options QUOTA # Enable FFS quotas

If you are already running with the current 32-bit quotas, they
should continue to work just as they have in the past. If you
wish to convert to using 64-bit quotas, use `quotacheck -c 64';
if you wish to revert from 64-bit quotas back to 32-bit quotas,
use `quotacheck -c 32'.

There is a new library of functions to simplify the use of the
quota system, do `man quotafile' for details. If your application
is currently using the quotactl(2), it is highly recommended that
you convert your application to use the quotafile interface.
Note that existing binaries will continue to work.

Special thanks to John Kozubik of rsync.net for getting me
interested in pursuing 64-bit quota support and for funding
part of my development time on this project.


192350 18-May-2009 delphij

Merge vendor/file/dist@192348, bringing FILE 5.03 to 8-CURRENT.

Security: CVE-2009-1515


191774 04-May-2009 obrien

This belongs in //svn.freebsd.org/base/vendor/file/dist now.


191771 04-May-2009 obrien

Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT.


186692 02-Jan-2009 obrien

Add an additional COMPILE_ONLY check.


186691 02-Jan-2009 obrien

Record that base/vendor/file/dist@186675 was merged.
Merge base/vendor/file/dist@186675@186690, bringing FILE 4.26 to 8-CURRENT.


175899 02-Feb-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175898,
which included commits to RCS files with non-trunk default branches.


175883 02-Feb-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175882,
which included commits to RCS files with non-trunk default branches.


175812 30-Jan-2008 obrien

Update for the 4.23 import.


175297 13-Jan-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175296,
which included commits to RCS files with non-trunk default branches.


169965 24-May-2007 obrien

Update for the 'file' 4.21 import.


169963 24-May-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r169962,
which included commits to RCS files with non-trunk default branches.


169946 24-May-2007 obrien

Update for the 'file' 4.19 import.


169943 24-May-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r169942,
which included commits to RCS files with non-trunk default branches.


159826 21-Jun-2006 obrien

This commit was generated by cvs2svn to compensate for changes in r159825,
which included commits to RCS files with non-trunk default branches.


159767 19-Jun-2006 obrien

Update for the 'file' 4.17 import.


159765 19-Jun-2006 obrien

This commit was generated by cvs2svn to compensate for changes in r159764,
which included commits to RCS files with non-trunk default branches.


139369 28-Dec-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r139368,
which included commits to RCS files with non-trunk default branches.


133360 09-Aug-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r133359,
which included commits to RCS files with non-trunk default branches.


111659 28-Feb-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r111658,
which included commits to RCS files with non-trunk default branches.


110950 15-Feb-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r110949,
which included commits to RCS files with non-trunk default branches.


103376 16-Sep-2002 obrien

Make current.


103374 16-Sep-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r103373,
which included commits to RCS files with non-trunk default branches.


84686 08-Oct-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r84685,
which included commits to RCS files with non-trunk default branches.


80589 30-Jul-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r80588,
which included commits to RCS files with non-trunk default branches.


75940 25-Apr-2001 obrien

Update for file 3.35.


75938 25-Apr-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r75937,
which included commits to RCS files with non-trunk default branches.


74787 25-Mar-2001 obrien

Update for file 3.34.


74785 25-Mar-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r74784,
which included commits to RCS files with non-trunk default branches.


69219 26-Nov-2000 obrien

Information on how I did the import and upgrade instructions.


69217 26-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r69216,
which included commits to RCS files with non-trunk default branches.


68350 05-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68349,
which included commits to RCS files with non-trunk default branches.