Commit 491a0a69 authored by Simon Ruderich's avatar Simon Ruderich
Browse files

slsm: tree: remove printk debugging

Now that we can read the resulting rules, they are no longer necessary.
parent 2dc8b6af
......@@ -306,9 +306,6 @@ static int slsm_insert_helper(struct tree_node *t, char *path,
char *component, *next = path + 1; /* skip leading slash */
struct tree_node *t_next = t;
printk(KERN_INFO "slsm: adding p=%s, a=%s, m=%u, f=%u\n",
path, rule->app, rule->perms.mode, rule->perms.flags);
if (!*path || *path != '/')
return -EINVAL;
......@@ -350,8 +347,6 @@ static int slsm_insert_helper(struct tree_node *t, char *path,
t->children_capacity = new_capacity;
}
printk(KERN_INFO "slsm: adding child at '%s'\n", t->name);
/* mark this node as the first one referencing path */
t->children[t->children_used] =
(struct tree_node){ .name = component, .buf = path };
......@@ -393,8 +388,6 @@ insert_rule:
t->rules_capacity = new_capacity;
}
printk(KERN_INFO "slsm: inserting rule at '%s'\n", t->name);
t->rules[t->rules_used] = *rule;
t->rules_used++;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment