/src/usr.bin/make/filemon/ |
filemon.h | 1 /* $NetBSD: filemon.h,v 1.6 2021/12/15 12:08:25 rillig Exp $ */ 37 struct filemon; 42 struct filemon * 44 int filemon_close(struct filemon *); 46 int filemon_setfd(struct filemon *, int); 47 void filemon_setpid_parent(struct filemon *, pid_t); 48 int filemon_setpid_child(const struct filemon *, pid_t); 50 int filemon_readfd(const struct filemon *); 51 int filemon_process(struct filemon *);
|
filemon.h | 1 /* $NetBSD: filemon.h,v 1.6 2021/12/15 12:08:25 rillig Exp $ */ 37 struct filemon; 42 struct filemon * 44 int filemon_close(struct filemon *); 46 int filemon_setfd(struct filemon *, int); 47 void filemon_setpid_parent(struct filemon *, pid_t); 48 int filemon_setpid_child(const struct filemon *, pid_t); 50 int filemon_readfd(const struct filemon *); 51 int filemon_process(struct filemon *);
|
filemon_dev.c | 32 #include "filemon.h" 42 # include <filemon.h> 46 #define _PATH_FILEMON "/dev/filemon" 53 struct filemon { struct 64 struct filemon * 67 struct filemon *F; 71 /* Allocate and zero a struct filemon object. */ 76 /* Try opening /dev/filemon, up to six times (cargo cult!). */ 93 filemon_setfd(struct filemon *F, int fd) 108 filemon_setpid_parent(struct filemon *F MAKE_ATTR_UNUSED, pid_t pid MAKE_ATTR_UNUSED [all...] |
filemon_dev.c | 32 #include "filemon.h" 42 # include <filemon.h> 46 #define _PATH_FILEMON "/dev/filemon" 53 struct filemon { struct 64 struct filemon * 67 struct filemon *F; 71 /* Allocate and zero a struct filemon object. */ 76 /* Try opening /dev/filemon, up to six times (cargo cult!). */ 93 filemon_setfd(struct filemon *F, int fd) 108 filemon_setpid_parent(struct filemon *F MAKE_ATTR_UNUSED, pid_t pid MAKE_ATTR_UNUSED [all...] |
filemon_ktrace.c | 34 #include "filemon.h" 61 struct filemon; 65 typedef struct filemon_state *filemon_syscall_t(struct filemon *, 92 struct filemon { struct 95 FILE *out; /* we write filemon events to here */ 126 void (*show)(struct filemon *, const struct filemon_state *, 180 * the filemon. 192 * Allocate a filemon descriptor. Returns NULL and sets errno on 195 struct filemon * 198 struct filemon *F [all...] |
filemon_ktrace.c | 34 #include "filemon.h" 61 struct filemon; 65 typedef struct filemon_state *filemon_syscall_t(struct filemon *, 92 struct filemon { struct 95 FILE *out; /* we write filemon events to here */ 126 void (*show)(struct filemon *, const struct filemon_state *, 180 * the filemon. 192 * Allocate a filemon descriptor. Returns NULL and sets errno on 195 struct filemon * 198 struct filemon *F [all...] |
/src/usr.bin/make/ |
meta.h | 36 struct filemon *filemon; member in struct:BuildMon
|
meta.h | 36 struct filemon *filemon; member in struct:BuildMon
|
test-variants.mk | 41 TESTS+= filemon-dev 42 ENV.filemon-dev= USE_FILEMON="dev" 43 SKIP.filemon-dev= yes 45 TESTS+= filemon-ktrace 46 ENV.filemon-ktrace= USE_FILEMON="ktrace" 48 TESTS+= filemon-none 49 ENV.filemon-none= USE_FILEMON="no" 51 SKIP_TESTS.filemon-none= \ 121 ENV.c90-plain= USE_FILEMON=no # filemon uses designated initializers 130 ENV.c90-stdbool= USE_FILEMON=no # filemon uses designated initializer [all...] |
meta.c | 51 #include "filemon/filemon.h" 102 * Filemon is a kernel module which snoops certain syscalls. 115 * We can still use meta mode without filemon, but 121 * Open the filemon device. 129 pbm->filemon = NULL; 133 pbm->filemon = filemon_open(); 134 if (pbm->filemon == NULL) { 136 warn("Could not open filemon %s", filemon_path()); 147 pbm->mon_fd = Job_TempFile("filemon.XXXXXX", NULL, 0) [all...] |
test-variants.mk | 41 TESTS+= filemon-dev 42 ENV.filemon-dev= USE_FILEMON="dev" 43 SKIP.filemon-dev= yes 45 TESTS+= filemon-ktrace 46 ENV.filemon-ktrace= USE_FILEMON="ktrace" 48 TESTS+= filemon-none 49 ENV.filemon-none= USE_FILEMON="no" 51 SKIP_TESTS.filemon-none= \ 121 ENV.c90-plain= USE_FILEMON=no # filemon uses designated initializers 130 ENV.c90-stdbool= USE_FILEMON=no # filemon uses designated initializer [all...] |
meta.c | 51 #include "filemon/filemon.h" 102 * Filemon is a kernel module which snoops certain syscalls. 115 * We can still use meta mode without filemon, but 121 * Open the filemon device. 129 pbm->filemon = NULL; 133 pbm->filemon = filemon_open(); 134 if (pbm->filemon == NULL) { 136 warn("Could not open filemon %s", filemon_path()); 147 pbm->mon_fd = Job_TempFile("filemon.XXXXXX", NULL, 0) [all...] |
Makefile | 68 .PATH: ${.CURDIR}/filemon 74 FILEMON_H?= /usr/include/dev/filemon/filemon.h 75 . if exists(${FILEMON_H}) && ${FILEMON_H:T} == "filemon.h" 90 CLEANFILES+= *.o # for filemon objects
|
Makefile | 68 .PATH: ${.CURDIR}/filemon 74 FILEMON_H?= /usr/include/dev/filemon/filemon.h 75 . if exists(${FILEMON_H}) && ${FILEMON_H:T} == "filemon.h" 90 CLEANFILES+= *.o # for filemon objects
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_platform_limits_netbsd.cc | 124 #include <dev/filemon/filemon.h>
|
sanitizer_platform_limits_netbsd.cc | 124 #include <dev/filemon/filemon.h>
|
sanitizer_interceptors_ioctl_netbsd.inc | 1401 /* Entries from file: dev/filemon/filemon.h (compat <= 9.99.26) */
|
sanitizer_interceptors_ioctl_netbsd.inc | 1401 /* Entries from file: dev/filemon/filemon.h (compat <= 9.99.26) */
|