| /linux/tools/testing/selftests/landlock/ |
| H A D | trace_fs_test.c | 552 char *buf, blockers[64]; in TEST_F() local 574 blockers, sizeof(blockers))); in TEST_F() 575 EXPECT_STREQ("read_dir", blockers); in TEST_F() 590 char *buf, blockers[64]; in TEST_F() local 637 blockers, sizeof(blockers))); in TEST_F() 638 EXPECT_STREQ("change_topology", blockers); in TEST_F()
|
| H A D | net_test.c | 2850 * @blockers: A regex-escaped blocker string, e.g., "net\.bind_tcp". 2856 static int matches_auditlog(const int audit_fd, const char *const blockers, in matches_auditlog() argument 2861 " blockers=%s %s=%s %s=%u$"; in matches_auditlog() 2863 " blockers=%s"; in matches_auditlog() 2865 * Max strlen(blockers): 16 in matches_auditlog() 2876 log_without_addrport_tmpl, blockers); in matches_auditlog() 2879 log_with_addrport_tmpl, blockers, in matches_auditlog() 3164 static int matches_log_connect_bound(int audit_fd, const char *const blockers, in matches_log_connect_bound() argument 3169 " blockers=%s laddr=%s lport=%u daddr=%s dest=%u$"; in matches_log_connect_bound() 3170 /* Slack for the blockers, tw in matches_log_connect_bound() [all...] |
| H A D | fs_test.c | 7496 int audit_fd, const char *const blockers, 7500 " blockers=fs\\.%s path=\"%s\" dev=\"[^\"]\\+\" ino=[0-9]\\+$"; in FIXTURE() 7502 size_t log_match_remaining = sizeof(log_template) + strlen(blockers) + 7510 REGEX_LANDLOCK_PREFIX " blockers=%s path=\"", in FIXTURE_SETUP() 7511 blockers); in FIXTURE_SETUP() 7543 const char *const blockers, const char *const path) in TEST_F() 7545 return matches_log_fs_extra(_metadata, audit_fd, blockers, path, NULL); 8400 * blockers) in FIXTURE_VARIANT_ADD() 7445 matches_log_fs_extra(struct __test_metadata * const _metadata,int audit_fd,const char * const blockers,const char * const path,const char * const extra) matches_log_fs_extra() argument 7492 matches_log_fs(struct __test_metadata * const _metadata,int audit_fd,const char * const blockers,const char * const path) matches_log_fs() argument
|
| /linux/include/trace/events/ |
| H A D | landlock.h | 291 * blockers verdict input, type-specific fields, and any variable-length field. 853 * @blockers: Request type and final missing access subset (never NULL). 863 bool logged, const struct landlock_blockers *blockers, 866 TP_ARGS(hierarchy, same_exec, logged, blockers, path, pathname), 885 __entry->blockers_type = blockers->type; 886 __entry->blockers_access = blockers->access; 896 TP_printk("domain=%llx same_exec=%d logged=%d blockers=%s dev=%u:%u ino=%lu path=%s", 919 * @blockers: Request type and final missing access subset (never NULL). 939 bool logged, const struct landlock_blockers *blockers, 943 TP_ARGS(hierarchy, same_exec, logged, blockers, s [all...] |
| /linux/security/landlock/ |
| H A D | trace.c | 87 const struct landlock_blockers blockers = { in landlock_trace_denial() local 93 youngest_denied, same_exec, logged, &blockers, in landlock_trace_denial() 102 const struct landlock_blockers blockers = { in landlock_trace_denial() 112 youngest_denied, same_exec, logged, &blockers, in landlock_trace_denial() 120 const struct landlock_blockers blockers = { in landlock_trace_denial() 188 &blockers, path, in landlock_trace_denial() 196 const struct landlock_blockers blockers = { in landlock_trace_denial() 215 youngest_denied, same_exec, logged, &blockers, in landlock_trace_denial() 163 const struct landlock_blockers blockers = { landlock_trace_denial() local
|
| /linux/Documentation/trace/ |
| H A D | events-landlock.rst | 94 cat-127 [...] landlock_deny_access_fs: domain=195cc6b7c same_exec=0 logged=0 blockers=read_file dev=0:17 ino=5901179 path=/etc/passwd 127 ``blockers=`` field name (same as audit). The ``deny_access_fs`` and 132 separates with commas (e.g., ``blockers=fs.read_file``), while the 134 with ``|`` (e.g., ``blockers=read_file``). Scope and ptrace 135 tracepoints omit ``blockers`` because the event name identifies the 270 ``blockers=`` field of the corresponding ``deny_access`` event.
|