Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
50 * due to the re-use of bits between locking
80 static int mac; /* Alternate to argc (for parseargs) */
81 static char **mav; /* Alternate to argv (for parseargs) */
83 static char *ms; /* Points to the mode argument */
317 * modified also, since chmod is supposed to apply group
318 * permissions changes to both the acl mask and the
334 char savedir[PATH_MAX]; /* dir name to restore */
368 * modified also, since chmod is supposed to apply group
369 * permissions changes to both the acl mask and the
392 * a trailing '/' to the path except in the case where
433 errmsg(2, 255, gettext("can't change back to %s\n"), savedir);
521 * assumes the existence of a static set of alternates to argc and argv,
534 * We add an extra argument slot, in case we need to jam a "--"
664 * is being modified. According to the chmod(1) manpage, any
665 * change made to the group permissions must be applied to both
667 * set the mask, so this routine needs to make the same change
668 * to the GROUP_OBJ.
679 * acl mask to deal with
684 return; /* it's just a trivial acl; no need to change it */
724 void *to, *from;
770 to = (char *)aclp->acl_aclp +
772 from = (char *)to + aclp->acl_entry_size;
775 (void) memmove(to, from, len);
836 errmsg(1, 0, gettext("Failed to set ACL: %s\n"),
848 * similar to output of ls -/v.
877 * Add an attribute name and boolean value to an nvlist if an action is to be
878 * performed for that attribute. The nvlist will be used later to set all the
879 * attributes in the nvlist in one operation through a call to setattrat().
882 * attribute's value will be added to the nvlist for that attribute name. If an
884 * inverse of the attribute's value will be added to the nvlist for that
888 * attribute actions to be performed, otherwise returns NULL.
908 "unable to propagate attribute names and"
921 * to set the attributes in one operation.
975 "can't change to current working directory\n"));
994 * is "*", then the action is to be performed on all the named attribute files
1093 * to set the attributes of the file.
1117 "can't change to parent %sdirectory of %s\n"),
1196 * attribute's position in the character array pointed to by attractptr, where
1198 * whether to set (a '+'), clear (a '-'), or leave untouched (a '\0') the
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
1258 * will point to an nvlist which contains pairs of attribute names and values
1259 * to be set; attr_nvlist will be NULL if it is a no-op.
1275 * (to imply the attribute should be cleared).
1276 * a all attributes type. The oper should be applied to all
1311 * Create a positional character array to determine a single attribute
1312 * operation to be performed, where each index represents the system
1314 * to be performed, i.e., a value of '+' means to set the attribute, a
1315 * value of '-' means to clear the attribute, and a value of '\0' means
1316 * to leave the attribute untouched. Initially, this positional
1393 * attribute is to be set, and a value of '-' will mean the
1394 * attribute is to be cleared. If the value of an attribute
1395 * remains '\0', then no action is to be taken on that
1437 * read-write attribute so we don't need to worry