Home
last modified time | relevance | path

Searched refs:new_mode (Results 1 – 3 of 3) sorted by relevance

/coreutils/src/
Dchmod.c53 mode_t new_mode; member
121 mode_t old_mode, mode_t new_mode) in mode_changed() argument
123 if (new_mode & (S_ISUID | S_ISGID | S_ISVTX)) in mode_changed()
138 new_mode = new_stats.st_mode; in mode_changed()
141 return ((old_mode ^ new_mode) & CHMOD_MODE_BITS) != 0; in mode_changed()
172 m = ch->new_mode & CHMOD_MODE_BITS; in describe_change()
174 strmode (ch->new_mode, perms); in describe_change()
278 ch.new_mode = mode_adjust (ch.old_mode, S_ISDIR (ch.old_mode) != 0, in process_file()
280 if (chmodat (fts->fts_cwd_fd, file, ch.new_mode) == 0) in process_file()
295 ch.old_mode, ch.new_mode)) in process_file()
[all …]
Dstty.c1429 static struct termios new_mode; in main() local
1441 if (tcgetattr (STDIN_FILENO, &new_mode)) in main()
1444 if (! eq_mode (&mode, &new_mode)) in main()
1449 for (unsigned int i = 0; i < sizeof (new_mode); i++) in main()
1451 unsigned int newc = *(((unsigned char *) &new_mode) + i); in main()
Dcopy.c937 mode_t new_mode = in set_owner() local
939 mode_t restrictive_temp_mode = old_mode & new_mode & S_IRWXU; in set_owner()
943 & (~new_mode | S_ISUID | S_ISGID | S_ISVTX))) in set_owner()