Lines Matching defs:action

593 	int action;
606 action = ACL_ADD;
611 action = ACL_STRIP;
613 action = ACL_DELETE;
614 if (action != ACL_STRIP) {
617 action = ACL_SLOT_DELETE;
629 action = ACL_REPLACE;
636 if ((action == ACL_REPLACE || action == ACL_ADD) && acl_spec[0] == '\0')
651 new_acl_args->acl_action = action;
825 errmsg(1, 2, gettext("Unknown ACL action requested\n"));
877 * Add an attribute name and boolean value to an nvlist if an action is to be
992 * Perform the action on the specified named attribute file for the file
994 * is "*", then the action is to be performed on all the named attribute files
1178 * Record what action should be taken on the specified attribute. Only boolean
1184 set_attr_args(f_attr_t attr, char action, char *attractptr)
1188 attractptr[attr] = action;
1195 * Parses the entry and assigns the appropriate action (either '+' or '-' in
1201 * If the entry is an attribute name, then the A_SET_OP action is to be
1203 * with "no", then the A_INVERSE_OP action is to be performed for this
1205 * through each of the option letters marking the action to be performed for
1208 * Returns 0 if the entry was a valid attribute(s) and the action to be
1212 parse_entry(char *entry, char action, char atype, int len, char *attractptr)
1221 (action == A_REPLACE_OP) ? A_SET_OP : action,
1225 return (set_attr_args(attr, ((action == A_REPLACE_OP) ||
1226 (action == A_SET_OP)) ? A_INVERSE_OP : A_SET_OP,
1238 * so, ignore them. If a replace action is being
1240 * action set here, will be cleared down the line.
1246 (action == A_REPLACE_OP) ? A_SET_OP : action,
1286 char action;
1313 * attribute affected, and it's value in the array represents the action
1337 action = A_SET_OP;
1345 action = *entry++;
1351 action = A_SET_OP;
1384 (action != A_REPLACE_OP)) {
1395 * remains '\0', then no action is to be taken on that
1401 if ((*tok == RIGHTBRACE) || (action == A_REPLACE_OP) ||
1404 if ((action == A_REPLACE_OP) ||
1421 if (parse_entry(subentry, action,
1431 * If performing the replace action, record the
1434 * otherwise record the specified action for all
1436 * the attribute and action if it is a boolean
1440 if ((action == A_REPLACE_OP) ||
1445 (action == A_SET_OP) ?
1453 if (parse_entry(entry, action, atype, len,