Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/chmod/
H A Dcommon.c90 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path,
98 newmode(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path) in newmode() argument
102 return (newmode_common(ms, new_mode, umsk, file, path, &tmp1, &tmp2)); in newmode()
113 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path, in newmode_common() argument
138 mode_t old_mode = new_mode; /* save original mode */ in newmode_common()
175 perms_msk = (new_mode & USER) >> 6; in newmode_common()
178 perms_msk = (new_mode & GROUP) >> 3; in newmode_common()
181 perms_msk = (new_mode & OTHER); in newmode_common()
241 if (lcheck == 1 && !S_ISDIR(new_mode)) { in newmode_common()
252 if (((new_mode & GROUP & in newmode_common()
[all …]
H A Dchmod.c143 extern mode_t newmode_common(char *ms, mode_t new_mode, mode_t umsk,
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtoken.c575 if (!new_mode && (flags & M_USERE)) { in attribute_token()
579 if (!new_mode && (flags & M_GROUPE)) { in attribute_token()
622 if (!new_mode && (flags & M_USERE)) { in attribute32_token()
626 if (!new_mode && (flags & M_GROUPE)) { in attribute32_token()
669 if (!new_mode && (flags & M_USERE)) { in attribute64_token()
673 if (!new_mode && (flags & M_GROUPE)) { in attribute64_token()
850 if (!new_mode && (flags & M_USERE)) { in s5_IPC_perm_token()
855 if (!new_mode && (flags & M_USERE)) { in s5_IPC_perm_token()
860 if (!new_mode && (flags & M_GROUPR)) { in s5_IPC_perm_token()
865 if (!new_mode && (flags & M_GROUPR)) { in s5_IPC_perm_token()
[all …]
H A Dauditrd.h81 int new_mode; /* 'N' new object selection mode */ variable
H A Dauditrt.h209 extern int new_mode; /* 'N' new object selection mode */
H A Doption.c152 new_mode = TRUE; in process_options()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dprompter.c220 DWORD old_mode, new_mode; in krb5_prompter_posix() local
232 new_mode = old_mode; in krb5_prompter_posix()
233 new_mode |= ( ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT ); in krb5_prompter_posix()
234 new_mode &= ~( ENABLE_ECHO_INPUT ); in krb5_prompter_posix()
236 if (!SetConsoleMode(handle, new_mode)) in krb5_prompter_posix()
254 if (!SetConsoleMode(handle, new_mode)) { in krb5_prompter_posix()
H A Dread_pwd.c126 DWORD old_mode, new_mode; in read_console_password() local
138 new_mode = old_mode; in read_console_password()
139 new_mode |= ( ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT ); in read_console_password()
140 new_mode &= ~( ENABLE_ECHO_INPUT ); in read_console_password()
142 if (!SetConsoleMode(handle, new_mode)) in read_console_password()
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dixf1010.c266 u32 val, new_mode; in mac_set_rx_mode() local
272 new_mode = val & ~7; in mac_set_rx_mode()
274 new_mode |= 1; /* only set if version > 0 due to erratum */ in mac_set_rx_mode()
277 new_mode |= 2; in mac_set_rx_mode()
278 if (new_mode != val) in mac_set_rx_mode()
279 (void) t1_tpi_write(adapter, MACREG(mac, REG_RX_FILTER), new_mode); in mac_set_rx_mode()
/illumos-gate/usr/src/tools/scripts/
H A Dwebrev.sh3521 new_mode=
3523 new_mode=$(get_file_mode $WDIR/raw_files/new/$P)
3526 if [[ -z "$old_mode" && "$new_mode" == *[1357]* ]]; then
3528 print "<p>new executable file: mode $new_mode</p>"
3530 elif [[ -n "$old_mode" && -n "$new_mode" &&
3531 "$old_mode" != "$new_mode" ]]; then
3533 print "<p>mode change: $old_mode to $new_mode</p>"
3535 elif [[ "$new_mode" == *[1357]* ]]; then
3537 print "<p>executable file: mode $new_mode</p>"
/illumos-gate/usr/src/cmd/mkdir/
H A Dmkdir.c70 newmode(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path);
/illumos-gate/usr/src/cmd/sendmail/db/lock/
H A Dlock.c931 __lock_downgrade(lt, lock, new_mode, flags) in __lock_downgrade() argument
934 db_lockmode_t new_mode;
947 lockp->mode = new_mode;
/illumos-gate/usr/src/uts/common/io/
H A Dpm.c2681 pm_cpupm_t new_mode = PM_CPUPM_NOTSET; in pm_ioctl() local
2700 new_mode = cpupm = cpupm_default_mode; in pm_ioctl()
2703 new_mode = cpupm = PM_CPUPM_EVENT; in pm_ioctl()
2706 new_mode = cpupm = PM_CPUPM_POLLING; in pm_ioctl()
2734 if (new_mode == PM_CPUPM_EVENT && in pm_ioctl()
2737 new_mode = cpupm = PM_CPUPM_POLLING; in pm_ioctl()
2741 if (new_mode == PM_CPUPM_POLLING || in pm_ioctl()
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmediad.c1171 int32_t new_mode; in scsi_zip_write_protect() local
1213 new_mode = 0x0; in scsi_zip_write_protect()
1216 new_mode = 0x2; in scsi_zip_write_protect()
1219 new_mode = 0x3; in scsi_zip_write_protect()
1222 new_mode = 0x5; in scsi_zip_write_protect()
1225 new_mode = 0x8; in scsi_zip_write_protect()
1239 cdb[1] |= new_mode; in scsi_zip_write_protect()
/illumos-gate/usr/src/cmd/bnu/
H A Duudecode.c101 extern mode_t newmode(char *ms, mode_t new_mode, mode_t umsk,
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c3043 uint64_t new_mode; in zfs_setattr() local
3452 new_mode = (pmode & S_IFMT) | (vap->va_mode & ~S_IFMT); in zfs_setattr()
3460 if (err = zfs_acl_chmod_setattr(zp, &aclp, new_mode)) in zfs_setattr()
3593 NULL, &new_mode, sizeof (new_mode)); in zfs_setattr()
3594 new_mode = zp->z_mode; in zfs_setattr()
3606 &new_mode, sizeof (new_mode)); in zfs_setattr()
3607 zp->z_mode = new_mode; in zfs_setattr()
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c5295 ddi_acc_handle_t conf_handle, uint_t new_mode) in gem_pci_set_power_state() argument
5302 ASSERT(new_mode < 4); in gem_pci_set_power_state()
5332 pmcsr = (pmcsr & ~PCI_PMCSR_STATE_MASK) | new_mode; in gem_pci_set_power_state()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c8560 uint32_t new_mode; in emlxs_dfc_loopback_mode() local
8588 new_mode = FC_ILB_MODE; in emlxs_dfc_loopback_mode()
8607 new_mode = FC_ELB_MODE; in emlxs_dfc_loopback_mode()
8651 emlxs_dfc_xlate(dfc->cmd), new_mode); in emlxs_dfc_loopback_mode()
8653 if (new_mode == FC_ILB_MODE) { in emlxs_dfc_loopback_mode()
8719 hba->flag |= new_mode; in emlxs_dfc_loopback_mode()
8796 emlxs_dfc_xlate(dfc->cmd), new_mode); in emlxs_dfc_loopback_mode()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c1610 u32 new_mode, cur_mode; in elink_set_mdio_clk() local
1626 new_mode = cur_mode & in elink_set_mdio_clk()
1628 new_mode |= clc_cnt; in elink_set_mdio_clk()
1629 new_mode |= (EMAC_MDIO_MODE_CLAUSE_45); in elink_set_mdio_clk()
1632 cur_mode, new_mode); in elink_set_mdio_clk()
1633 REG_WR(cb, emac_base + EMAC_REG_EMAC_MDIO_MODE, new_mode); in elink_set_mdio_clk()