Searched defs:mode (Results 626 - 650 of 1040) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c284 (void) puts("running in standalone mode...");
748 * If running in secure mode, we map all errors to EACCESS
776 char *mode; local
784 mode = next_field(filename, &buf.data[size]);
785 cp = (mode != NULL) ? next_field(mode, &buf.data[size]) : NULL;
792 readmode ? "RRQ" : "WRQ", filename, mode);
797 if (strcasecmp(pf->f_mode, mode) == 0)
826 * fail later if we are running in secure mode because of
972 validate_filename(int mode) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ppp.c1312 uint8_t mode; local
1315 GETINT8(mode, optdata);
1316 switch (mode) {
1327 (void) sprintf(get_line(0, 0), "Mode = %d (%s)", mode, modestr);
1774 uint8_t mode; local
1780 /* check mode */
1781 GETINT8(mode, optdata);
1782 switch (mode) {
1799 (void) sprintf(get_line(0, 0), "Check Mode = %d (%s)", mode, modestr);
1801 /* process mode */
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.h80 #define S_ISSPARSE(mode) \
81 (S_ISREG(mode) && (mode & HIGH_ORD_MASK) == S_IFSPARSE)
189 #define INPUT 0 /* -i mode (used for chgreel() */
190 #define OUTPUT 1 /* -o mode (used for chgreel() */
249 char mode[8]; member in struct:b_block::bar_header
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c761 mdb_gelf_create(mdb_io_t *io, GElf_Half etype, int mode) argument
770 ASSERT(mode == GF_FILE || mode == GF_PROGRAM);
771 gf->gf_mode = mode;
H A Dmdb_kvm.c282 int mode; local
299 mode = (flags & MDB_TGT_F_RDWR) ? O_RDWR : O_RDONLY;
301 if ((cookie = kt->k_kb_ops->kb_open(kt->k_symfile, kvmfile, NULL, mode,
920 * instantiate the module's symbol table. In exact mode, we can
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c930 * mode (input) - select mode.
937 connection_file_handler(void *cookie, int fd, ulong_t mode) argument
H A Dndmpd_mover.c87 static void mover_data_read_v3(void *cookie, int fd, ulong_t mode);
88 static void accept_connection(void *cookie, int fd, ulong_t mode);
89 static void mover_data_write_v3(void *cookie, int fd, ulong_t mode);
90 static void accept_connection_v3(void *cookie, int fd, ulong_t mode);
92 ndmp_mover_mode mode, ulong_t addr, ushort_t port);
103 * Set non-blocking mode for socket.
195 session->ns_mover.md_mode = request->mode;
612 if (request->mode != NDMP_MOVER_MODE_READ &&
613 request->mode != NDMP_MOVER_MODE_WRITE) {
615 NDMP_LOG(LOG_DEBUG, "Invalid mode
2205 accept_connection(void *cookie, int fd, ulong_t mode) argument
3690 mover_data_read_v3(void *cookie, int fd, ulong_t mode) argument
3871 mover_data_write_v3(void *cookie, int fd, ulong_t mode) argument
4046 accept_connection_v3(void *cookie, int fd, ulong_t mode) argument
4168 mover_connect_sock(ndmpd_session_t *session, ndmp_mover_mode mode, ulong_t addr, ushort_t port) argument
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_ckpt.c105 mode_t mode; local
117 (void) fmd_conf_getprop(fmd.d_conf, "ckpt.mode", &mode);
118 ckp->ckp_fd = open64(ckp->ckp_src, O_WRONLY | O_CREAT | O_EXCL, mode);
H A Dfmd_conf.c557 uint_t mode = 0; local
567 mode |= cmp->cm_bits;
578 pp->cp_value.cpv_num = mode;
/illumos-gate/usr/src/cmd/fm/modules/common/ses-log-transport/
H A Dses_log_transport.c195 * mode: The mode used when creating the directory.
198 do_mkdir(const char *path, mode_t mode) argument
205 if (mkdir(path, mode) != 0)
218 * mode: The mode used when creating the directory.
221 mkpath(char *path, mode_t mode) argument
232 status = do_mkdir(path, mode);
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c1351 makepath(char *dir, mode_t mode) argument
1357 if ((mkdir(dir, mode) == 0) || (errno == EEXIST)) {
1367 err = makepath(dir, mode);
1374 return (mkdir(dir, mode));
/illumos-gate/usr/src/cmd/sendmail/db/
H A Ddb_int.h253 int mode; /* Region mode, if a file. */ member in struct:__db_reginfo
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c726 const char *name, time_t timestamp, uid_t uid, gid_t gid, mode_t mode,
733 EC_WORD(timestamp), EC_WORD(uid), EC_WORD(gid), EC_WORD(mode),
1158 /* Capture mode and owner information to apply to replacement */
725 write_member_header(const char *filename, int fd, int is_elf, const char *name, time_t timestamp, uid_t uid, gid_t gid, mode_t mode, size_t size) argument
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c593 * This uses a fancy chmod() by setting a minimal ACL which sets the mode
597 _newdac(char *file, uid_t owner, gid_t group, o_mode_t mode) argument
601 if (mode == ALLOC_MODE) {
620 if (chmod(file, mode) == -1) {
625 err = acl_strip(file, owner, group, (mode_t)mode);
702 mode_t mode = ALLOC_MODE; local
709 if ((error = _newdac(*file, uid, gid, mode)) != 0) {
723 mode)) != 0) {
896 char *mode, *cmd, *wdwcmd, *zoneroot; local
925 mode
[all...]
/illumos-gate/usr/src/cmd/audio/audioctl/
H A Daudioctl.c568 /* non-verbose mode prints don't display the enum values */
1012 int mode; local
1014 mode = O_WRONLY | O_CREAT | O_EXCL;
1022 mode &= ~O_EXCL;
1023 mode |= O_TRUNC;
1043 if ((fd = open(fname, mode, 0666)) < 0) {
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dscmadm.c63 * longer serve any purpose, and the system will always be in wrthru mode.
186 * libcfg locked (mode describes type of lock)
189 convert_config(CFGFILE *cfg, CFGLOCK mode) argument
206 if (mode != CFG_WRLOCK) {
214 mode = CFG_WRLOCK;
235 if (mode != CFG_WRLOCK) {
236 if (!cfg_lock(cfg, mode)) {
/illumos-gate/usr/src/cmd/awk/
H A Drun.c552 int (*mf)() = match, mode = 0; local
556 mode = 1;
565 pfa = makedfa(t, mode);
1606 int mode; /* '|', 'a', 'w' */ member in struct:__anon36
1636 if (a == files[i].mode ||
1637 a == APPEND && files[i].mode == GT) {
1667 files[i].mode = m;
1688 if (files[i].mode == '|' || files[i].mode == LE)
1717 if (files[i].mode
[all...]
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c41 * chmod option mode files
43 * mode is [ugoa][+-=][rwxXlstugo] or an octal number
44 * mode is [<+|->A[# <number] ]<aclspec>
45 * mode is S<attrspec>
84 static char *ms; /* Points to the mode argument */
147 static int chmodr(char *dir, char *path, mode_t mode, mode_t umsk,
329 chmodr(char *dir, char *path, mode_t mode, mode_t umsk, sec_args_t *secp, argument
361 } else if (chmod(dir, newmode_common(ms, mode, umsk, dir, path,
473 "usage:\tchmod [-fR] <absolute-mode> file ...\n"));
483 "\tchmod [-fR] <symbolic-mode
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c62 static void getit(int argc, char *argv[], int restartit, char *mode);
187 "Using %s mode to transfer files.\n",
192 "Remember to set tenex mode when transfering "
237 (void) printf("Using %s mode to transfer files.\n", typename);
245 (void) printf("%s: unknown mode\n", argv[1]);
300 * Set file transfer mode.
306 (void) printf("We only support %s mode, sorry.\n", modename);
609 getit(int argc, char *argv[], int restartit, char *mode) argument
695 recvrequest("RETR", argv[2], argv[1], mode, allowpipe);
881 (void) printf("Passive mode
1237 char *cmd, mode[1], *dest; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/
H A Dff.c76 ushort_t mode; member in struct:ilist
105 int sflg = 0; /* print only special files and files with set-user-ID mode */
434 ilist[i].mode = ip->di_mode;
444 ilist[nxfile].mode = ip->di_mode;
515 (void) printf("mode %-6o uid %-5ld gid %-5ld ino ",
516 ilist[k].mode, ilist[k].uid, ilist[k].gid);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dinode.c214 mode_t mode; local
221 * (mode == zero), so we'll work on the assumption that what
227 mode = dp->di_mode & IFMT;
228 if (mode == IFBLK || mode == IFCHR)
230 if (mode == IFLNK && dp->di_size > MAXPATHLEN) {
1259 mode_t mode; local
1265 mode = (dp->di_mode & IFMT);
1266 isdir = (mode == IFDIR) || (mode
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv.c167 int mode = RPC_SVC_MT_AUTO; local
362 * Set MT mode
365 (void) rpc_control(RPC_SVC_MTMODE_SET, &mode);
370 * Enable non-blocking mode and maximum record size checks for
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dcap.c655 Rt_map *flmp, Rt_map *clmp, const char *ref, int mode, uint_t flags,
689 nlmp = load_path(lml, nlmco, flmp, mode,
785 uint_t mode, uint_t flags, Grp_hdl **hdl, Rej_desc *rej, int *in_nfavl)
806 if ((found == 0) && ((lmp = load_path(lml, lmco, clmp, mode,
855 cap_mode mode = CAP_OVERRIDE; local
871 mode = CAP_ENABLE;
874 mode = CAP_DISABLE;
962 cap_settings[ndx - 1].cs_val[mode] |= val;
963 cap_settings[ndx - 1].cs_set[mode]++;
654 cap_filtees(Alist **alpp, Aliste oidx, const char *dir, Aliste nlmco, Rt_map *flmp, Rt_map *clmp, const char *ref, int mode, uint_t flags, int *in_nfavl) argument
784 load_cap(Lm_list *lml, Aliste lmco, const char *dir, Rt_map *clmp, uint_t mode, uint_t flags, Grp_hdl **hdl, Rej_desc *rej, int *in_nfavl) argument
H A Ddlfcns.c382 hdl_initialize(Grp_hdl *ghp, Rt_map *nlmp, int mode, int promote) argument
389 * mode hasn't been promoted, there's no need to recompute the modes of
426 (void) update_mode(dlmp, MODE(dlmp), mode);
640 dlmopen_core(Lm_list *lml, Lm_list *olml, const char *path, int mode, argument
649 (path ? path : MSG_ORIG(MSG_STR_ZERO)), in_nfavl, mode));
655 if (((mode & (RTLD_GROUP | RTLD_WORLD)) == 0) &&
656 ((mode & RTLD_NOLOAD) == 0))
657 mode |= (RTLD_GROUP | RTLD_WORLD);
658 if ((mode & RTLD_NOW) && (rtld_flags2 & RT_FL2_BINDLAZY)) {
659 mode
856 dlmopen_intn(Lm_list *lml, const char *path, int mode, Rt_map *clmp, uint_t flags, uint_t orig) argument
973 dlmopen_check(Lm_list *lml, const char *path, int mode, Rt_map *clmp) argument
1016 dlopen(const char *path, int mode) argument
1041 dlmopen(Lmid_t lmid, const char *path, int mode) argument
[all...]
/illumos-gate/usr/src/cmd/sqlite/
H A Dshell.c170 int mode; member in struct:previous_mode_data
177 ** state and mode information.
184 int mode; /* An output mode setting */ member in struct:callback_data
185 int showHeader; /* True to show column names in List or Column mode */
188 int colWidth[100]; /* Requested width of each column when in column mode*/
193 /* Holds the mode information just before
209 #define MODE_NUM_OF 6 /* The number of modes (not a mode itself) */
292 switch( p->mode ){
370 }else if( p->mode
[all...]

Completed in 221 milliseconds

<<21222324252627282930>>