/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 225 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr); in smb_pre_open() 250 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open() 251 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open() 256 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_open() 304 op->omode, in smb_com_open() 332 &sr->andx_off, &flags, &op->omode, &sattr, in smb_pre_open_andx() 376 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open_andx() 377 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open_andx() 386 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_open_andx() 432 op->omode, op->ftype, in smb_com_open_andx() [all …]
|
H A D | smb_create.c | 188 op->omode = SMB_DA_ACCESS_READ_WRITE | SMB_DA_SHARE_COMPATIBILITY; in smb_common_create() 189 op->desired_access = smb_omode_to_amask(op->omode); in smb_common_create() 190 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_common_create()
|
/titanic_41/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 681 safeopen(fn, omode, cmode, sff) in safeopen() argument 683 int omode; 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)) 741 truncate = bitset(O_TRUNC, omode); 743 omode &= ~O_TRUNC; [all …]
|
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 323 int omode = O_RDWR | O_NOFOLLOW; in fop_lookup() local 350 omode = O_RDONLY | O_NOFOLLOW; in fop_lookup() 353 fd = openat(dvp->v_fd, name, omode, 0); in fop_lookup() 355 if ((omode & O_RWMASK) == O_RDWR) { in fop_lookup() 356 omode &= ~O_RWMASK; in fop_lookup() 357 omode |= O_RDONLY; in fop_lookup() 390 int err, fd, omode; in fop_create() local 419 omode = O_RDWR | O_CREAT | O_NOFOLLOW; in fop_create() 421 omode |= O_EXCL; in fop_create() 423 fd = openat(dvp->v_fd, name, omode, mode); in fop_create() [all …]
|
/titanic_41/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb.c | 127 int omode = fcntl(fd, F_GETFL, NULL); 131 filename, ext, fd, type, omode, euid); 147 int omode = fcntl(fd, F_GETFL, NULL); 151 filename, ext, fd, type, omode, euid);
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 71 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode) argument 73 # define OPEN(fn, omode, cmode, sff) safeopen(fn, omode, cmode, sff) argument
|
H A D | map.c | 1706 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 |= O_TRUNC; [all …]
|
H A D | conf.c | 3595 int omode = fcntl(fd, F_GETFL, 0); local 3600 filename, ext, fd, type, omode, euid); 3625 int omode = fcntl(fd, F_GETFL, 0); local 3630 filename, ext, fd, type, omode, euid);
|
/titanic_41/usr/src/cmd/ssh/scp/ |
H A D | scp.c | 768 int amt, count, exists, first, mask, mode, ofd, omode; local 926 omode = mode; 981 if (exists || omode != mode) 983 if (fchmod(ofd, omode)) { 985 if (chmod(np, omode)) { 992 if (!exists && omode != mode) 994 if (fchmod(ofd, omode & ~mask)) { 996 if (chmod(np, omode & ~mask)) {
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | stermio.h | 68 unsigned short omode; member
|
/titanic_41/usr/src/lib/libc/i386/sys/ |
H A D | ptrace.c | 482 int omode; in OpenProc() local 490 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL); in OpenProc() 492 if ((fd = open(procname, omode, 0)) < 0 || in OpenProc()
|
/titanic_41/usr/src/lib/libc/sparc/sys/ |
H A D | ptrace.c | 490 int omode; in OpenProc() local 498 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL); in OpenProc() 500 if ((fd = open(procname, omode, 0)) < 0 || in OpenProc()
|
/titanic_41/usr/src/ucbcmd/stty/ |
H A D | sttyparse.c | 360 termios->c_oflag = stermio->omode; 400 stermio->omode = termios->c_oflag;
|
H A D | stty.c | 193 m = stio.omode; in prmodes()
|
/titanic_41/usr/src/cmd/smserverd/ |
H A D | smserver.h | 204 int omode; member
|
/titanic_41/usr/src/cmd/ttymon/ |
H A D | sttyparse.c | 387 termios->c_oflag = stermio->omode; 451 stermio->omode = termios->c_oflag;
|
H A D | stty.c | 245 m = stio.omode; in prmodes()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 3183 int oflag, omode, fd, ndesc = 0; in do_rw() local 3196 omode = 0; in do_rw() 3207 omode = S_IRUSR | S_IWUSR; in do_rw() 3225 fd = open(argv[0], oflag, omode); in do_rw()
|
/titanic_41/usr/src/cmd/sgs/rtld/common/ |
H A D | analyze.c | 909 update_mode(Rt_map *lmp, int omode, int nmode) in update_mode() argument 933 if ((omode & RTLD_LAZY) && (nmode & RTLD_NOW)) { in update_mode() 938 pmode |= ((~omode & nmode) & in update_mode()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 759 int fd, omode; in Pgrab() local 812 omode = (flags & PGRAB_RDONLY) ? O_RDONLY : O_RDWR; in Pgrab() 814 if (((fd = open(procname, omode | O_EXCL)) < 0 && in Pgrab() 815 (fd = ((flags & PGRAB_FORCE)? open(procname, omode) : -1)) < 0) || in Pgrab()
|
/titanic_41/usr/src/cmd/cpio/ |
H A D | cpio.c | 200 static int openfile(int omode); 8717 openfile(int omode) in openfile() argument 8720 return (openat(G_p->g_dirfd, G_p->g_attrnam_p, omode)); in openfile() 8723 get_component(G_p->g_nam_p), omode)); in openfile() 8728 openfile(int omode) in openfile() argument 8730 return (openat(G_p->g_dirfd, get_component(G_p->g_nam_p), omode)); in openfile() 9737 attropen(char *file, char *attr, int omode, mode_t cmode) in attropen() argument
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vnops.c | 1193 mode_t omode; in nfssetattr() local 1285 omode = va.va_mode; in nfssetattr() 1379 va.va_mode != omode))) { in nfssetattr() 1384 va.va_mode = omode; in nfssetattr()
|
H A D | nfs3_vnops.c | 1353 mode_t omode; in nfs3setattr() local 1420 omode = va.va_mode; in nfs3setattr() 1493 (!(mask & AT_MODE) && va.va_mode != omode))) { in nfs3setattr() 1498 va.va_mode = omode; in nfs3setattr()
|
/titanic_41/usr/src/uts/common/smbsrv/ |
H A D | smb_ktypes.h | 1421 uint16_t omode; member
|
/titanic_41/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 3416 mode_t fmode, omode = O_WRONLY|O_APPEND|O_NOCTTY; in cfline() local 3514 f->f_file = open64(p, omode|fmode); in cfline() 3533 (void) fcntl(f->f_file, F_SETFL, omode); in cfline()
|