fchmod
if (fdval ? fchmod(fd, fs->st_mode) :
if (fchmod(to_fd, sbp->st_mode))
if (fchmod(tmpfd,S_IRUSR | S_IWUSR) == -1) {
if (fchmod(ofd, omode)) {
if (fchmod(ofd, omode & ~mask)) {
if (preserve_flag && fchmod(local_fd, mode) == -1)
r = fchmod(fd, a.perm & 07777);
(void)fchmod(fd, 0644);
(void)fchmod(fd, sb.st_mode & 0644);
ret = fchmod(fd, mode);
error = fchmod(fd, mode);
if (fchmod(f, 0620))
if (fchmod(queuefd, 0660) < 0)
if (fchmod(fd, 0660) < 0)
fchmod(wfd, inode->meta.mode);
fchmod(fd, jattr->modes);
if (fchmod(fd, 0444) == -1)
fchmod(fileno(qfo), MODE);
fchmod(ofile, mode);
if (fchmod(fd, 0666 & ~myumask) == -1)
int fchmod(int, mode_t);
struct fchmod_args fchmod;
if (fchmod(fd2, S_IRUSR | S_IWUSR | S_IXUSR) < 0)
fchmod(fileno(fp), 0755);
(void)fchmod(fd, DEFFILEMODE & ~mask);
if (fchmod(fd, sb.st_mode) < 0)
if (fchmod(fileno(f), 0644) < 0) {
if (readonly && fchmod(t, 0400) == -1) {
fchmod(fileno(obuf), 0600);
fchmod(fileno(outfile), sb.st_mode & ALLPERMS);
fchmod(fd, mode & (S_IRWXU|S_IRWXG|S_IRWXO));
if (fchmod(to_fd,
if (fchmod(fileno(tmp), 0600) < OK)
fchmod(fd, 0640);
if (fchmod(lfd, stb.st_mode & ~LFM_RESET_QUE) < 0)
if ((i = fchmod(tempfd, 0664)) == -1) {
if (fchmod(lfd, stb.st_mode & ~LFM_RESET_QUE)
failed = fchmod(fd, ent->permissions);
fchmod(fileno(fp), S_IRUSR|S_IWUSR);
fchmod(0, 0600);