Searched refs:rule (Results 1 - 4 of 4) sorted by relevance

/systemd/src/binfmt/
H A Dbinfmt.c40 static int delete_rule(const char *rule) { argument
44 assert(rule[0]);
46 x = strdup(rule);
60 static int apply_rule(const char *rule) { argument
63 delete_rule(rule);
65 r = write_string_file("/proc/sys/fs/binfmt_misc/register", rule, 0);
/systemd/src/udev/
H A Dudev-rules.c77 /* during rule parsing, uid/gid lookup results are cached */
124 /* tokens of a rule are sorted/handled in this order */
190 unsigned char type; /* same in rule and key */
200 } rule; member in union:token::__anon333
225 struct token rule; member in struct:rule_tmp
341 &rules->buf[token->rule.filename_off], token->rule.filename_line,
342 idx, token->rule.token_count,
343 &rules->buf[token->rule.label_off]);
973 log_error("temporary rule arra
1858 struct token *rule; local
2569 struct token *rule; local
[all...]
/systemd/src/login/
H A Dlogind-dbus.c1203 _cleanup_free_ char *rule = NULL, *file = NULL; local
1225 if (asprintf(&rule, "TAG==\"seat\", ENV{ID_FOR_SEAT}==\"%s\", ENV{ID_SEAT}=\"%s\"", id_for_seat, seat) < 0)
1229 r = write_string_file_atomic_label(file, rule);
/systemd/test/
H A Dtest-functions859 # attempt to install any programs specified in a udev rule
869 dinfo "Skipping program $_prog using in udev rule $(basename $1) as it cannot be found"
874 #dinfo "Installing $_bin due to it's use in the udev rule $(basename $1)"
888 if [ "${rule#/}" = "$rule" ]; then
904 [[ $_found ]] || dinfo "Skipping udev rule: $_rule"

Completed in 1467 milliseconds