History log of /netbsd-src/usr.bin/make/filemon/filemon_dev.c (Results 1 – 9 of 9)
Revision Date Author Comments
# e56a2ae1 04-Mar-2022 sjg <sjg@NetBSD.org>

Fix some unused warnings


# 69d4726f 01-Feb-2021 rillig <rillig@NetBSD.org>

make: indent preprocessor directives consistently

As seen in share/misc/style.


# 85aee7a6 19-Jan-2021 rillig <rillig@NetBSD.org>

make(1): remove do-not-format markers from comments

These markers had been used inconsistently. Furthermore the source code
had not been formatted automatically before 2020 at all, otherwise there

make(1): remove do-not-format markers from comments

These markers had been used inconsistently. Furthermore the source code
had not been formatted automatically before 2020 at all, otherwise there
wouldn't have been any trailing whitespace left.

show more ...


# 84085cca 29-Nov-2020 rillig <rillig@NetBSD.org>

make(1): use space instead of tab for preprocessor directives


# 4adbce36 23-Nov-2020 rillig <rillig@NetBSD.org>

make(1): use comparisons in boolean expressions

The generated code stays exactly the same.


# 143a3267 05-Nov-2020 rillig <rillig@NetBSD.org>

make(1): remove redundant parentheses from sizeof operator

The parentheses are only needed if the argument is a type, not an
expression.


# 07bbd59e 10-Jul-2020 sjg <sjg@NetBSD.org>

Use O_CLOEXEC and save a syscall.

Reviewed by: riastradh


# 200ecb73 10-Jul-2020 sjg <sjg@NetBSD.org>

filemon_dev:filemon_open need FD_CLOEXEC

We need to mark the fd for filemon FD_CLOEXEC
so that when we call filemon_close() the device is
closed and unflushed data written to our temp file.


# bea0f8c1 19-Jan-2020 riastradh <riastradh@NetBSD.org>

Per sjg's suggestion, split filemon API into separate back ends.

By default we use the ktrace back end, but the /dev/filemon back end
is available as a compile-time option, by setting USE_FILEMON=de

Per sjg's suggestion, split filemon API into separate back ends.

By default we use the ktrace back end, but the /dev/filemon back end
is available as a compile-time option, by setting USE_FILEMON=dev in
make. sjg raised concerns about ktrace performance and would like to
continue using /dev/filemon on FreeBSD (which has seen more
maintenance kernel-side) without forking make.

show more ...