Lines Matching defs:parent_stat
44 struct stat *parent_stat,
52 ret = stat(ccdirname, parent_stat);
54 if ( !S_ISDIR(parent_stat->st_mode) ) {
108 ret = find_ccdir_parent_data(mem_ctx, parent, parent_stat, missing_parents);
115 static errno_t check_parent_stat(struct stat *parent_stat, uid_t uid)
117 if (parent_stat->st_uid != 0 && parent_stat->st_uid != uid) {
124 if (parent_stat->st_uid == uid) {
125 if (!(parent_stat->st_mode & S_IXUSR)) {
132 if (!(parent_stat->st_mode & S_IXOTH)) {
146 struct stat parent_stat;
167 ret = find_ccdir_parent_data(tmp_ctx, ccdirname, &parent_stat,
175 ret = check_parent_stat(&parent_stat, uid);