Lines Matching refs:node
105 struct perm_node *node = calloc(1, sizeof(*node));
106 if (!node)
109 node->dp.name = strdup(name);
110 if (!node->dp.name)
114 node->dp.attr = strdup(attr);
115 if (!node->dp.attr)
119 node->dp.perm = perm;
120 node->dp.uid = uid;
121 node->dp.gid = gid;
122 node->dp.prefix = prefix;
125 list_add_tail(&sys_perms, &node->plist);
127 list_add_tail(&dev_perms, &node->plist);
135 struct listnode *node;
141 list_for_each(node, &sys_perms) {
142 dp = &(node_to_item(node, struct perm_node, plist))->dp;
164 struct listnode *node;
171 list_for_each_reverse(node, &dev_perms) {
172 perm_node = node_to_item(node, struct perm_node, plist);
204 * device node. Unforunately changing the euid would prevent creation of