aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed_exec.h
diff options
context:
space:
mode:
authorChris Dunlap <[email protected]>2014-09-19 11:10:28 -0700
committerBrian Behlendorf <[email protected]>2014-09-25 13:54:17 -0700
commitdcca723acee9803561dd7ef456a28c4684c28e86 (patch)
tree082e642033d282e30adf72f07b0678083009cd0d /cmd/zed/zed_exec.h
parent8cb8cf91df8a4902025d814b62b9332ad1b291c7 (diff)
Refer to ZED's scripts as ZEDLETs
The executables invoked by the ZED in response to a given zevent have been generically referred to as "scripts". By convention, these scripts have aimed to be /bin/sh compatible for reasons of portability and comprehensibility. However, the ZED only requires they be executable and (ideally) capable of reading environment variables. As such, these scripts are now referred to as ZEDLETs (ZFS Event Daemon Linkage for Executable Tasks). Signed-off-by: Chris Dunlap <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2735
Diffstat (limited to 'cmd/zed/zed_exec.h')
-rw-r--r--cmd/zed/zed_exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zed/zed_exec.h b/cmd/zed/zed_exec.h
index 52bdc12a8..fee068fb6 100644
--- a/cmd/zed/zed_exec.h
+++ b/cmd/zed/zed_exec.h
@@ -30,7 +30,7 @@
#include <stdint.h>
int zed_exec_process(uint64_t eid, const char *class, const char *subclass,
- const char *dir, zed_strings_t *scripts, zed_strings_t *envs,
+ const char *dir, zed_strings_t *zedlets, zed_strings_t *envs,
int zevent_fd);
#endif /* !ZED_EXEC_H */