Lines Matching refs:fpath
356 int bb_set_xattr(const char *fpath, const char *xattr) in bb_set_xattr() argument
366 cap_file = cap_get_file(fpath); in bb_set_xattr()
370 bb_perror_msg_and_die("cap_get_file failed on %s", fpath); in bb_set_xattr()
378 bb_perror_msg_and_die("cap_to_name failed on %s", fpath); in bb_set_xattr()
385 if (cap_set_file(fpath, cap_new) == -1) in bb_set_xattr()
386 bb_perror_msg_and_die("cap_set_file failed for %s (xattr = %s)", fpath, xattr); in bb_set_xattr()
440 int bb_recursive(const char *fpath, const struct stat *sb, in bb_recursive() argument
443 if (chown(fpath, recursive_uid, recursive_gid) == -1) { in bb_recursive()
444 bb_perror_msg("chown failed for %s", fpath); in bb_recursive()
448 if (chmod(fpath, recursive_mode) < 0) { in bb_recursive()
449 bb_perror_msg("chmod failed for %s", fpath); in bb_recursive()