/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 226 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr); in smb_pre_open() 251 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open() 252 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open() 257 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_open() 310 op->omode, in smb_com_open() 340 &sr->andx_off, &openx_flags, &op->omode, &sattr, in smb_pre_open_andx() 392 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open_andx() 393 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open_andx() 402 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_open_andx() 467 op->omode, /* (w) */ in smb_com_open_andx() [all …]
|
H A D | smb_create.c | 186 op->omode = SMB_DA_ACCESS_READ_WRITE | SMB_DA_SHARE_COMPATIBILITY; in smb_common_create() 187 op->desired_access = smb_omode_to_amask(op->omode); in smb_common_create() 188 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_common_create()
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 408 int omode = O_RDWR | O_NOFOLLOW; in fake_lookup_xattrdir() local 439 omode = O_RDONLY|O_XATTR; in fake_lookup_xattrdir() 440 fd = openat(dfd, ".", omode); in fake_lookup_xattrdir() 492 int omode = O_RDWR | O_NOFOLLOW; in fop_lookup() local 520 omode = O_RDONLY | O_NOFOLLOW; in fop_lookup() 524 fd = openat(dfd, name, omode, 0); in fop_lookup() 529 if ((omode & O_RWMASK) == O_RDWR) { in fop_lookup() 530 omode &= ~O_RWMASK; in fop_lookup() 531 omode |= O_RDONLY; in fop_lookup() 564 int err, fd, omode; in fop_create() local [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb.c | 125 int omode = fcntl(fd, F_GETFL, NULL); 129 filename, ext, fd, type, omode, euid); 145 int omode = fcntl(fd, F_GETFL, NULL); 149 filename, ext, fd, type, omode, euid);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 69 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode) argument 71 # 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 | 3596 int omode = fcntl(fd, F_GETFL, 0); local 3601 filename, ext, fd, type, omode, euid); 3626 int omode = fcntl(fd, F_GETFL, 0); local 3631 filename, ext, fd, type, omode, euid);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | stermio.h | 66 unsigned short omode; member
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/ |
H A D | delegate_common.kshlib | 1308 typeset nmode omode 1310 omode=$(get_prop $perm $fs) 1311 if [[ $omode == "off" ]]; then 1323 log_note "$user zfs set $perm=$omode $fs" 1324 user_run $user zfs set $perm=$omode $fs 1325 if [[ $(get_prop $perm $fs) != $omode ]]; then
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | ptrace.c | 480 int omode; in OpenProc() local 488 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL); in OpenProc() 490 if ((fd = open(procname, omode, 0)) < 0 || in OpenProc()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/ucbcmd/stty/ |
H A D | sttyparse.c | 357 termios->c_oflag = stermio->omode; 397 stermio->omode = termios->c_oflag;
|
H A D | stty.c | 194 m = stio.omode; in prmodes()
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smserver.h | 204 int omode; member
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | sttyparse.c | 393 termios->c_oflag = stermio->omode; 457 stermio->omode = termios->c_oflag;
|
H A D | stty.c | 245 m = stio.omode; in prmodes()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 3186 int oflag, omode, fd, ndesc = 0; in do_rw() local 3199 omode = 0; in do_rw() 3210 omode = S_IRUSR | S_IWUSR; in do_rw() 3228 fd = open(argv[0], oflag, omode); in do_rw()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | analyze.c | 908 update_mode(Rt_map *lmp, int omode, int nmode) in update_mode() argument 932 if ((omode & RTLD_LAZY) && (nmode & RTLD_NOW)) { in update_mode() 937 pmode |= ((~omode & nmode) & in update_mode()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 827 int fd, omode; in Pgrab() local 881 omode = (flags & PGRAB_RDONLY) ? O_RDONLY : O_RDWR; in Pgrab() 883 if (((fd = open(procname, omode | O_EXCL)) < 0 && in Pgrab() 884 (fd = ((flags & PGRAB_FORCE)? open(procname, omode) : -1)) < 0) || in Pgrab()
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 209 static int openfile(int omode); 8735 openfile(int omode) in openfile() argument 8738 return (openat(G_p->g_dirfd, G_p->g_attrnam_p, omode)); in openfile() 8741 get_component(G_p->g_nam_p), omode)); in openfile() 8746 openfile(int omode) in openfile() argument 8748 return (openat(G_p->g_dirfd, get_component(G_p->g_nam_p), omode)); in openfile() 9755 attropen(char *file, char *attr, int omode, mode_t cmode) in attropen() argument
|
/illumos-gate/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 | 1354 mode_t omode; in nfs3setattr() local 1421 omode = va.va_mode; in nfs3setattr() 1494 (!(mask & AT_MODE) && va.va_mode != omode))) { in nfs3setattr() 1499 va.va_mode = omode; in nfs3setattr()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 3403 mode_t fmode, omode = O_WRONLY|O_APPEND|O_NOCTTY; in cfline() local 3501 f->f_file = open64(p, omode|fmode); in cfline() 3520 (void) fcntl(f->f_file, F_SETFL, omode); in cfline()
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb_ktypes.h | 1622 uint16_t omode; member
|