Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/chmod/
H A Dcommon.c92 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path,
100 newmode(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path) in newmode() argument
104 return (newmode_common(ms, new_mode, umsk, file, path, &tmp1, &tmp2)); in newmode()
115 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path, in newmode_common() argument
140 mode_t old_mode = new_mode; /* save original mode */ in newmode_common()
177 perms_msk = (new_mode & USER) >> 6; in newmode_common()
180 perms_msk = (new_mode & GROUP) >> 3; in newmode_common()
183 perms_msk = (new_mode & OTHER); in newmode_common()
243 if (lcheck == 1 && !S_ISDIR(new_mode)) { in newmode_common()
254 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,
/titanic_50/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.h206 extern int new_mode; /* 'N' new object selection mode */
H A Doption.c152 new_mode = TRUE; in process_options()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/chxge/com/
H A Dixf1010.c268 u32 val, new_mode; in mac_set_rx_mode() local
274 new_mode = val & ~7; in mac_set_rx_mode()
276 new_mode |= 1; /* only set if version > 0 due to erratum */ in mac_set_rx_mode()
279 new_mode |= 2; in mac_set_rx_mode()
280 if (new_mode != val) in mac_set_rx_mode()
281 (void) t1_tpi_write(adapter, MACREG(mac, REG_RX_FILTER), new_mode); in mac_set_rx_mode()
/titanic_50/usr/src/tools/scripts/
H A Dwebrev.sh3278 new_mode=
3280 new_mode=`get_file_mode $WDIR/raw_files/new/$P`
3283 if [[ -z "$old_mode" && "$new_mode" = *[1357]* ]]; then
3285 print "<p>new executable file: mode $new_mode</p>"
3287 elif [[ -n "$old_mode" && -n "$new_mode" &&
3288 "$old_mode" != "$new_mode" ]]; then
3290 print "<p>mode change: $old_mode to $new_mode</p>"
3292 elif [[ "$new_mode" = *[1357]* ]]; then
3294 print "<p>executable file: mode $new_mode</p>"
/titanic_50/usr/src/cmd/mkdir/
H A Dmkdir.c72 newmode(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path);
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/
H A Dmontecarlo.c341 static int scsb_mode(int fd, scsb_op_t sop, uint8_t *new_mode);
2358 uint8_t new_mode = 0; in alarm_card_occupant() local
2383 new_mode = ENVCTRL_DIAG_MODE; in alarm_card_occupant()
2384 if (scsb_mode(scsb_fd, SET, &new_mode) == 0) in alarm_card_occupant()
2402 scsb_mode(int fd, scsb_op_t sop, uint8_t *new_mode) in scsb_mode() argument
2413 sioc.ic_dp = (char *)new_mode; in scsb_mode()
/titanic_50/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;
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/bnu/
H A Duudecode.c103 extern mode_t newmode(char *ms, mode_t new_mode, mode_t umsk,
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c2758 uint64_t new_mode; in zfs_setattr() local
3112 new_mode = (pmode & S_IFMT) | (vap->va_mode & ~S_IFMT); in zfs_setattr()
3120 if (err = zfs_acl_chmod_setattr(zp, &aclp, new_mode)) in zfs_setattr()
3221 NULL, &new_mode, sizeof (new_mode)); in zfs_setattr()
3222 new_mode = zp->z_mode; in zfs_setattr()
3234 &new_mode, sizeof (new_mode)); in zfs_setattr()
3235 zp->z_mode = new_mode; in zfs_setattr()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c8502 uint32_t new_mode; in emlxs_dfc_loopback_mode() local
8530 new_mode = FC_ILB_MODE; in emlxs_dfc_loopback_mode()
8549 new_mode = FC_ELB_MODE; in emlxs_dfc_loopback_mode()
8592 emlxs_dfc_xlate(dfc->cmd), new_mode); in emlxs_dfc_loopback_mode()
8594 if (new_mode == FC_ILB_MODE) { in emlxs_dfc_loopback_mode()
8660 hba->flag |= new_mode; in emlxs_dfc_loopback_mode()
8736 emlxs_dfc_xlate(dfc->cmd), new_mode); in emlxs_dfc_loopback_mode()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c1609 u32 new_mode, cur_mode; in elink_set_mdio_clk() local
1625 new_mode = cur_mode & in elink_set_mdio_clk()
1627 new_mode |= clc_cnt; in elink_set_mdio_clk()
1628 new_mode |= (EMAC_MDIO_MODE_CLAUSE_45); in elink_set_mdio_clk()
1631 cur_mode, new_mode); in elink_set_mdio_clk()
1632 REG_WR(cb, emac_base + EMAC_REG_EMAC_MDIO_MODE, new_mode); in elink_set_mdio_clk()