The NetBSD Project

CVS log for src/usr.bin/make/filemon/filemon_dev.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / make / filemon

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 4 23:17:16 2022 UTC (11 months ago) by sjg
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.8: +8 -4 lines
Diff to previous 1.8 (colored)

Fix some unused warnings

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 1 21:09:25 2021 UTC (2 years ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

make: indent preprocessor directives consistently

As seen in share/misc/style.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 19 20:51:46 2021 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 29 09:27:40 2020 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 23 23:41:11 2020 UTC (2 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

make(1): use comparisons in boolean expressions

The generated code stays exactly the same.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 5 17:27:16 2020 UTC (2 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

make(1): remove redundant parentheses from sizeof operator

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

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 10 15:53:30 2020 UTC (2 years, 6 months ago) by sjg
Branch: MAIN
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

Use O_CLOEXEC and save a syscall.

Reviewed by: riastradh

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 10 00:42:53 2020 UTC (2 years, 6 months ago) by sjg
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:44 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.1.4.1: +151 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.1.4.1, Sun Jan 19 19:49:37 2020 UTC (3 years ago) by martin
Branch: phil-wifi
Changes since 1.1: +0 -151 lines
FILE REMOVED

file filemon_dev.c was added on branch phil-wifi on 2020-04-13 08:05:44 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 19 19:49:37 2020 UTC (3 years ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Branch point for: phil-wifi

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>