Searched refs:_chmod (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dchmod.c40 #pragma weak _chmod = chmod macro
/illumos-gate/usr/src/lib/libast/common/comp/
H A Domitted.c69 extern int _chmod(const char*, mode_t);
228 if ((r = _chmod(path, mode)) && errno == ENOENT && execrate(path, buf, sizeof(buf), 0))
231 return _chmod(buf, mode);
233 if (!(r = _chmod(path, mode)) &&
944 if (_stat(path, &fs) || (fs.st_mode & S_IWUSR) || _chmod(path, (fs.st_mode | S_IWUSR) & S_IPERM))
956 _chmod(path, fs.st_mode & S_IPERM);

Completed in 68 milliseconds