Searched refs:mode (Results 26 - 50 of 1589) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dchmod.c35 fchmodat(int fd, const char *path, mode_t mode, int flag) argument
37 return (syscall(SYS_fchmodat, fd, path, mode, flag));
42 chmod(const char *path, mode_t mode) argument
45 return (syscall(SYS_chmod, path, mode));
47 return (fchmodat(AT_FDCWD, path, mode, 0));
53 fchmod(int fd, mode_t mode) argument
56 return (syscall(SYS_fchmod, fd, mode));
58 return (fchmodat(fd, NULL, mode, 0));
H A Dmknod.c32 mknodat(int fd, const char *path, mode_t mode, dev_t dev) argument
34 return (syscall(SYS_mknodat, fd, path, mode, dev));
39 mknod(const char *path, mode_t mode, dev_t dev) argument
42 return (syscall(SYS_mknod, path, mode, dev));
44 return (mknodat(AT_FDCWD, path, mode, dev));
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfdopen.c27 fdopen(int fd, const char* mode) argument
31 if (fd < 0 || !(flags = _sftype(mode, NiL, NiL)))
H A Dfwide.c27 fwide(Sfio_t* f, int mode) argument
29 STDIO_INT(f, "fwide", int, (Sfio_t*, int), (f, mode))
31 if (mode > 0)
36 else if (mode < 0)
H A Dfmemopen.c27 fmemopen(void* buf, size_t size, const char* mode) argument
29 STDIO_PTR(0, "fmemopen", Sfio_t*, (void*, size_t, const char*), (buf, size, mode))
31 return sfnew(NiL, buf, size, -1, SF_STRING|_sftype(mode, NiL, NiL));
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Dmulti_stats.c92 if (mode & SDBC) {
95 if (sdbc_err && !(mode & MULTI))
97 if (sdbc_err && (mode & MULTI) && sdbc_err != EAGAIN)
101 if (mode & SNDR) {
104 if (sndr_err && !(mode & MULTI))
106 if (sndr_err && (mode & MULTI) && sndr_err != EAGAIN)
110 if (mode & IIMG) {
113 if (ii_err && !(mode & MULTI))
115 if (ii_err && ii_err != EAGAIN && (mode & MULTI))
144 if (mode
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_access.c33 access_com(char *path, int mode) argument
37 if (mode == W_OK || mode == X_OK)
49 return (_syscall(SYS_faccessat, AT_FDCWD, path, mode, 0));
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dsvc-zonestat27 mode=$1
29 case "$mode" in
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dcreat64.c33 creat64(const char* path, mode_t mode)
35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
H A Deaccess.c52 register int mode;
73 mode = 0;
83 mode |= S_IRUSR;
85 mode |= S_IWUSR;
87 mode |= S_IXUSR;
95 mode |= S_IRGRP;
97 mode |= S_IWGRP;
99 mode |= S_IXGRP;
124 mode |= S_IROTH;
126 mode |
[all...]
/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrmode.c27 * return modex canonical representation of file mode bits
28 * given ls -l style file mode string
39 int mode; local
41 mode = 0;
47 mode |= (p->mask1 & (c << p->shift1)) | (p->mask2 & (c << p->shift2));
50 return(mode);
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Daccess.cc33 vroot_result= access(path, vroot_args.access.mode);
37 int access_vroot(char *path, int mode, pathpt vroot_path, pathpt vroot_vroot) argument
39 vroot_args.access.mode= mode;
H A Dchmod.cc30 extern int chmod(const char *path, mode_t mode);
37 vroot_result= chmod(path, vroot_args.chmod.mode);
41 int chmod_vroot(char *path, int mode, pathpt vroot_path, pathpt vroot_vroot) argument
43 vroot_args.chmod.mode= mode;
H A Dcreat.cc31 extern int creat(const char *path, mode_t mode);
38 vroot_result= creat(path, vroot_args.creat.mode);
42 int creat_vroot(char *path, int mode, pathpt vroot_path, pathpt vroot_vroot) argument
44 vroot_args.creat.mode= mode;
H A Dmkdir.cc30 extern int mkdir(const char *path, mode_t mode);
37 vroot_result= mkdir(path, vroot_args.mkdir.mode);
41 int mkdir_vroot(char *path, int mode, pathpt vroot_path, pathpt vroot_vroot) argument
43 vroot_args.mkdir.mode= mode;
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_tools_ext.h38 extern int pcitool_dev_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode);
39 extern int pcitool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode);
40 extern int pcitool_intr_admn(dev_info_t *dip, void *arg, int cmd, int mode);
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_tools_ext.h38 extern int pcitool_dev_reg_ops(dev_t dev, void *arg, int cmd, int mode);
39 extern int pcitool_bus_reg_ops(dev_t dev, void *arg, int cmd, int mode);
40 extern int pcitool_intr_admn(dev_t dev, void *arg, int cmd, int mode);
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_tools_ext.h34 int pxtool_dev_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode);
35 int pxtool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode);
36 int pxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode);
/illumos-gate/usr/src/lib/libsec/common/
H A Daclmode.c41 unsigned long mode; local
54 mode = tp->a_perm;
55 if (mode > 07)
57 *modep |= (mode << 6);
75 mode = tp->a_perm;
76 if (mode > 07)
78 *modep |= mode;
93 mode_t mode; local
104 mode = (*modep & 0700);
105 tp->a_perm = (mode >>
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dcert.c305 cert_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
313 if (mode == MODE_CREATE) {
321 return (template_check_required_base_attributes(tmpl, mode));
328 cert_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
334 if (mode != MODE_CREATE) {
345 template_validate_base_attribute(tmpl, attr, mode));
350 cert_x509_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) { argument
362 return (cert_check_required_attributes(tmpl, mode));
375 cert_x509_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
381 if (mode)
416 cert_x509_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
443 cert_vendor_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
449 cert_vendor_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
[all...]
/illumos-gate/usr/src/cmd/genmsg/
H A Dgenmsg.h52 * Genmsg action mode is for genmsg to identify its tasks.
54 #define IsActiveMode(mode) (active_mode & (mode))
55 #define SetActiveMode(mode) (active_mode |= (mode))
56 #define ResetActiveMode(mode) (active_mode &= ~(mode))
60 #define NoMode (0L) /* internal-mode */
61 #define ReplaceMode (1L<<0) /* internal-mode */
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsftell.c36 reg int mode; local
42 /* set the stream to the right mode */
43 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
56 else p = f->here + ((f->mode&SF_WRITE) ? f->next-f->data : f->next-f->endb);
H A Dsfwalk.c43 if(sfstdin->mode & SF_INIT)
44 _sfmode(sfstdin, (sfstdin->mode & SF_RDWR), 0);
45 if(sfstdout->mode & SF_INIT)
46 _sfmode(sfstdout, (sfstdout->mode & SF_RDWR), 0);
47 if(sfstderr->mode & SF_INIT)
48 _sfmode(sfstderr, (sfstderr->mode & SF_RDWR), 0);
/illumos-gate/usr/src/cmd/make/include/vroot/
H A Dargs.h45 struct { int mode;} access; member in struct:Args::__anon35
46 struct { int mode;} chmod; member in struct:Args::__anon36
48 struct { int mode;} creat; member in struct:Args::__anon38
51 struct { int mode;} mkdir; member in struct:Args::__anon41
52 struct { char *name; int mode;} mount; member in struct:Args::__anon42
53 struct { int flags; int mode;} open; member in struct:Args::__anon43
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathaccess.c27 * return path to file a/b with access mode using : separated dirs
30 * if (mode&PATH_REGULAR) then path must not be a directory
31 * if (mode&PATH_ABSOLUTE) then path must be rooted
38 pathaccess(register char* path, register const char* dirs, const char* a, const char* b, register int mode) argument
48 if ((!sib || *path == '/') && pathexists(path, mode))
50 if (*path == '/' || !(mode & PATH_ABSOLUTE))

Completed in 111 milliseconds

1234567891011>>