C Roff M4 Makefile Shell
Latest commit 3b82a3e Feb 19, 2017 @brynet portable; regen magic file
Permalink
Failed to load latest commit information.
CVS cvs up; reduces local changes. Aug 26, 2016
compat sync compat/ Jul 23, 2016
magdir
.gitignore portable; switch to experimental autotools build system. Feb 27, 2016
LICENSE
Makefile
Makefile.am portable; switch to experimental autotools build system. Feb 27, 2016
README portable; correct previous. Jun 3, 2016
autogen.sh portable; minor cleanup. Feb 27, 2016
configure.ac portable; remove local diff, add '--with-user=' option for configurin… Jun 2, 2016
file.1 cvs up; adds --brief and --dereference aliases for -b and -L. Dec 24, 2015
file.1.pdf regen pdf manual Dec 24, 2015
file.c
file.h
magic
magic-common.c
magic-dump.c cvs up; merge fixes. May 10, 2016
magic-load.c cvs up; merge fixes. May 10, 2016
magic-test.c cvs up; reduces local changes. Aug 26, 2016
magic.5 cvs up; merge fixes. May 10, 2016
magic.5.pdf portable; regen magic(5) pdf file. May 10, 2016
magic.h sync compat/ Jul 23, 2016
seccomp-sandbox.c portable; fewer syscalls in non-debug case. Jan 4, 2017
text.c
xmalloc.c cvs up Nov 19, 2015
xmalloc.h

README

This is an UNOFFICIAL version of Nicholas Marriott's new privsep file(1)
implementation for OpenBSD (..introduced in 5.8); portability changes
were written by me, brynet@. General bug fixes should be reported to the
OpenBSD mailing lists and tested against the latest CVS version.

* Linux seccomp-bpf sandbox support derived from portable OpenSSH.

Quick/dirty build & install instructions for Linux:
	$ sudo useradd -r -s /usr/bin/nologin _file
	$ ./configure && make && sudo make install
	$ sudo install -b -c -o root -g root -m 444 ./magic /etc/magic

This project makes no attempt at coexisting with other file(1)
implementations. Take note before installing system wide.

Any bugs introduced in this porting effort are mine.