Searched refs:omode (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_open_andx.c225 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr);
251 op->desired_access = smb_omode_to_amask(op->omode);
252 op->share_access = smb_denymode_to_sharemode(op->omode,
257 if (op->omode & SMB_DA_WRITE_THROUGH)
308 op->omode,
337 &sr->andx_off, &flags, &op->omode, &sattr,
383 op->desired_access = smb_omode_to_amask(op->omode);
384 op->share_access = smb_denymode_to_sharemode(op->omode,
393 if (op->omode & SMB_DA_WRITE_THROUGH)
442 op->omode, o
[all...]
H A Dsmb_create.c189 op->omode = SMB_DA_ACCESS_READ_WRITE | SMB_DA_SHARE_COMPATIBILITY;
190 op->desired_access = smb_omode_to_amask(op->omode);
191 op->share_access = smb_denymode_to_sharemode(op->omode,
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c672 ** omode -- the open-style mode flags.
681 safeopen(fn, omode, cmode, sff)
683 int omode;
696 sm_dprintf("safeopen: fn=%s, omode=%x, cmode=%x, sff=%lx\n",
697 fn, omode, cmode, sff);
699 if (bitset(O_CREAT, omode))
701 omode &= ~O_CREAT;
702 switch (omode & O_ACCMODE)
732 omode |= O_CREAT | (bitset(SFF_NOTEXCL, sff) ? 0 : O_EXCL);
733 else if (bitset(SFF_CREAT, sff) && bitset(O_EXCL, omode))
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dstermio.h68 unsigned short omode; member in struct:stio
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c127 int omode = fcntl(fd, F_GETFL, NULL);
130 syslog(LOG_ERR, "cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
131 filename, ext, fd, type, omode, euid);
147 int omode = fcntl(fd, F_GETFL, NULL);
150 syslog(LOG_ERR, "cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
151 filename, ext, fd, type, omode, euid);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c323 int omode = O_RDWR | O_NOFOLLOW; local
350 omode = O_RDONLY | O_NOFOLLOW;
353 fd = openat(dvp->v_fd, name, omode, 0);
355 if ((omode & O_RWMASK) == O_RDWR) {
356 omode &= ~O_RWMASK;
357 omode |= O_RDONLY;
390 int err, fd, omode; local
419 omode = O_RDWR | O_CREAT | O_NOFOLLOW;
421 omode |= O_EXCL;
423 fd = openat(dvp->v_fd, name, omode, mod
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dbf.c71 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode)
73 # define OPEN(fn, omode, cmode, sff) safeopen(fn, omode, cmode, sff)
H A Dmap.c1706 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
1714 if (map->map_class->map_open(map, omode))
1718 if ((omode & O_ACCMODE) == O_RDWR)
2007 int omode; variable
2038 omode = mode;
2075 omode |= O_CREAT|O_EXCL;
2081 omode |= O_TRUNC|O_EXLOCK;
2083 omode |= O_SHLOCK;
2091 fd = open(buf, omode, DBMMODE);
2126 omode |
2355 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
[all...]
H A Dconf.c3595 int omode = fcntl(fd, F_GETFL, 0); local
3599 syserr("cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
3600 filename, ext, fd, type, omode, euid);
3625 int omode = fcntl(fd, F_GETFL, 0); local
3629 syserr("cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
3630 filename, ext, fd, type, omode, euid);
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmserver.h204 int omode; member in struct:smedia_reqopen
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib1290 typeset nmode omode
1292 omode=$(get_prop $perm $fs)
1293 if [[ $omode == "off" ]]; then
1305 log_note "$user zfs set $perm=$omode $fs"
1306 user_run $user zfs set $perm=$omode $fs
1307 if [[ $(get_prop $perm $fs) != $omode ]]; then
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c387 termios->c_oflag = stermio->omode;
451 stermio->omode = termios->c_oflag;
H A Dstty.c245 m = stio.omode;
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c360 termios->c_oflag = stermio->omode;
400 stermio->omode = termios->c_oflag;
H A Dstty.c193 m = stio.omode;
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c482 int omode; local
490 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL);
492 if ((fd = open(procname, omode, 0)) < 0 ||
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c490 int omode; local
498 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL);
500 if ((fd = open(procname, omode, 0)) < 0 ||
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c3183 int oflag, omode, fd, ndesc = 0; local
3196 omode = 0;
3207 omode = S_IRUSR | S_IWUSR;
3225 fd = open(argv[0], oflag, omode);
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Danalyze.c909 update_mode(Rt_map *lmp, int omode, int nmode) argument
933 if ((omode & RTLD_LAZY) && (nmode & RTLD_NOW)) {
938 pmode |= ((~omode & nmode) &
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c1193 mode_t omode; local
1285 omode = va.va_mode;
1379 va.va_mode != omode))) {
1384 va.va_mode = omode;
H A Dnfs3_vnops.c1353 mode_t omode; local
1420 omode = va.va_mode;
1493 (!(mask & AT_MODE) && va.va_mode != omode))) {
1498 va.va_mode = omode;
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c769 int fd, omode; local
822 omode = (flags & PGRAB_RDONLY) ? O_RDONLY : O_RDWR;
824 if (((fd = open(procname, omode | O_EXCL)) < 0 &&
825 (fd = ((flags & PGRAB_FORCE)? open(procname, omode) : -1)) < 0) ||
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c200 static int openfile(int omode);
8717 openfile(int omode) argument
8720 return (openat(G_p->g_dirfd, G_p->g_attrnam_p, omode));
8723 get_component(G_p->g_nam_p), omode));
8728 openfile(int omode) argument
8730 return (openat(G_p->g_dirfd, get_component(G_p->g_nam_p), omode));
9737 attropen(char *file, char *attr, int omode, mode_t cmode) argument
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h1457 uint16_t omode; member in struct:open_param
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c3416 mode_t fmode, omode = O_WRONLY|O_APPEND|O_NOCTTY; local
3514 f->f_file = open64(p, omode|fmode);
3533 (void) fcntl(f->f_file, F_SETFL, omode);

Completed in 428 milliseconds

12