/tmp/ecp.* created during kernel build?

Ed Maste emaste at freebsd.org
Thu Mar 30 18:05:10 UTC 2017


On 28 December 2016 at 06:31, Dimitry Andric <dim at freebsd.org> wrote:
>
> This looks like a minor bug in elfcopy, when used as objcopy,
> specifically when in combination with the --input-target binary flag:
>
> $ mkdir /tmp/foo
> $ export TMPDIR=/tmp/foo
> $ ls -l /tmp/foo/
> $ /usr/bin/objcopy --input-target binary --output-target elf64-x86-64-freebsd  --binary-architecture i386  cloudabi32_vdso.o bar.o
> $ ls -l /tmp/foo
> total 12
> -rw-r--r--  1 dim  wheel  10198 2016-12-28 12:29:32 ecp.0xbNAi5i
>
> E.g. for some reason this does not clean up the temporary file.

This should be fixed as of r316284 and will be MFCd before 11.1.


More information about the freebsd-security mailing list