Home | History | Annotate | Download | only in filemon
History log of /src/usr.bin/make/filemon/filemon_dev.c
RevisionDateAuthorComments
 1.9  04-Mar-2022  sjg Fix some unused warnings
 1.8  01-Feb-2021  rillig make: indent preprocessor directives consistently

As seen in share/misc/style.
 1.7  19-Jan-2021  rillig 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.
 1.6  29-Nov-2020  rillig make(1): use space instead of tab for preprocessor directives
 1.5  23-Nov-2020  rillig make(1): use comparisons in boolean expressions

The generated code stays exactly the same.
 1.4  05-Nov-2020  rillig make(1): remove redundant parentheses from sizeof operator

The parentheses are only needed if the argument is a type, not an
expression.
 1.3  10-Jul-2020  sjg Use O_CLOEXEC and save a syscall.

Reviewed by: riastradh
 1.2  10-Jul-2020  sjg 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.
 1.1  19-Jan-2020  riastradh branches: 1.1.4;
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.
 1.1.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.4.1  19-Jan-2020  martin file filemon_dev.c was added on branch phil-wifi on 2020-04-13 08:05:44 +0000

RSS XML Feed