/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtperm.c | 27 * return strperm() expression for perm 34 fmtperm(register int perm) argument 47 if (perm & S_ISVTX) 49 if (perm & S_ISUID) 51 if (perm & S_IRUSR) 53 if (perm & S_IWUSR) 55 if (perm & S_IXUSR) 57 if ((perm & (S_ISGID|S_IXGRP)) == S_ISGID) 67 if ((perm & (S_ISGID|S_IXGRP)) == (S_ISGID|S_IXGRP)) 69 if (perm [all...] |
H A D | strperm.c | 27 * apply file permission expression expr to perm 43 strperm(const char* aexpr, char** e, register int perm) argument 54 if (perm == -1) 56 perm = 0; 92 perm &= ~who; 94 perm = 0; 113 if (!S_ISDIR(perm) && !(perm & (S_IXUSR|S_IXGRP|S_IXOTH))) 126 if (perm & S_IXGRP) 130 return perm [all...] |
/osnet-11/usr/src/cmd/sendmail/db/os/ |
H A D | os_oflags.c | 58 __db_omode(perm) 59 const char *perm; 81 if (perm[0] == 'r') 83 if (perm[1] == 'w') 85 if (perm[2] == 'r') 87 if (perm[3] == 'w') 89 if (perm[4] == 'r') 91 if (perm[5] == 'w')
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
H A D | Path.t | 19 for my $perm (0111,0777) { 22 chmod $perm, "mhx", $path;
|
/osnet-11/usr/src/lib/libsec/common/ |
H A D | acltext.c | 70 aclent_perms(int perm, char *txt_perms) argument 72 if (perm & S_IROTH) 76 if (perm & S_IWOTH) 80 if (perm & S_IXOTH) 190 char perm[4]; local 205 aclent_perms(tp->a_perm, perm); 207 pruname(tp->a_id, uidp, sizeof (uidp), 0), perm); 208 aclent_perms((tp->a_perm & mask), perm); 209 (void) printf("#effective:%s\n", perm); 213 aclent_perms(tp->a_perm, perm); 839 aclent_perm_txt(dynaclstr_t *dstr, o_mode_t perm) argument [all...] |
H A D | acl.y | 51 %type <acl_perm> perms perm aclent_perm ace_perms 519 ace_perms: perm {$$ = $1;} 527 perm: perms COLON {$$ = $1;} label
|
/osnet-11/usr/src/cmd/dtrace_toolkit/ |
H A D | Makefile | 34 DTTEXECS:sh = (cd DTT; find . -type f -perm -a+x) 35 DTTFILES:sh = (cd DTT; find . -type f ! -perm -a+x)
|
/osnet-11/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 293 * Open a file in the dst_path directory. If perm is specified, the 298 * perm File permission, if creating a new file. 304 dst_s_fopen(const char *filename, const char *mode, int perm) argument 319 if (perm) 320 chmod(pathname, perm);
|
H A D | dst_internal.h | 130 FILE *dst_s_fopen (const char *filename, const char *mode, int perm);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IPC/SysV/t/ |
H A D | ipcsysv.t | 59 my $perm = S_IRWXU; 66 $msg = msgget(IPC_PRIVATE, $perm); 154 $sem = semget(IPC_PRIVATE, 10, $perm | IPC_CREAT);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | privlib.c | 480 priv_set_t *perm = NULL; local 512 perm = priv_allocset(); 513 if (perm == NULL) 517 (void) getppriv(permitted, perm); 518 (void) setppriv(PRIV_SET, effective, perm); 530 priv_emptyset(perm); 531 if (setppriv(PRIV_SET, limit, perm) != 0) 545 priv_freeset(perm);
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_openclose.c | 290 int tries, gotlock, perm, krb5_mode, ret = 0; local 298 perm = 0; 301 perm = 1; 348 if (perm) {
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | cp.c | 170 int perm; /* permissions to preserve */ member in struct:State_s 594 else if ((wfd = open(state->path, st.st_mode ? (state->wflags & ~O_EXCL) : state->wflags, ent->fts_statp->st_mode & state->perm)) < 0) 657 if ((state->preserve & PRESERVE_PERM) && (ent->fts_statp->st_mode & state->perm) != (st.st_mode & state->perm) && chmod(state->path, ent->fts_statp->st_mode & state->perm)) 658 error(ERROR_SYSTEM|2, "%s: cannot reset mode to %s", state->path, fmtmode(st.st_mode & state->perm, 0) + 1); 980 state->perm = state->uid ? S_IPERM : (S_IPERM & ~S_ISVTX);
|
H A D | cksum.c | 178 pr(State_t* state, Sfio_t* op, Sfio_t* ip, char* file, int perm, struct stat* st, Sfio_t* check) argument 234 if (perm >= 0) 236 if (perm)
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | perliol.h | 26 int fd, int imode, int perm, 172 int perm, PerlIO *old, int narg, SV **args);
|
H A D | perlio.h | 228 int fd, int imode, int perm, PerlIO *old,
|
H A D | perlio.c | 286 int imode, int perm, PerlIO *old, int narg, SV **args) 297 fd = PerlLIO_open3(name, imode, perm); 1477 int imode, int perm, PerlIO *f, int narg, SV **args) 1532 tab->name, layers, mode, fd, imode, perm, 1535 f = (*tab->Open) (aTHX_ tab, layera, n, mode, fd, imode, perm, 1871 IV n, const char *mode, int fd, int imode, int perm, 1876 return (*tab->Open) (aTHX_ tab, layers, n - 1, mode, fd, imode, perm, 2408 int perm, PerlIO *f, int narg, SV **args) 2420 perm = 0666; 2423 fd = PerlLIO_open3(path, imode, perm); 285 PerlIO_openn(pTHX_ const char *layers, const char *mode, int fd, int imode, int perm, PerlIO *old, int narg, SV **args) argument 1476 PerlIO_openn(pTHX_ const char *layers, const char *mode, int fd, int imode, int perm, PerlIO *f, int narg, SV **args) argument 1870 PerlIORaw_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *old, int narg, SV **args) argument 2406 PerlIOUnix_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *f, int narg, SV **args) argument 2696 PerlIOStdio_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *f, int narg, SV **args) argument 3404 PerlIOBuf_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, const char *mode, int fd, int imode, int perm, PerlIO *f, int narg, SV **args) argument [all...] |
H A D | iperlsys.h | 703 #define PerlLIO_open3(file, flag, perm) \ 704 (*PL_LIO->pOpen3)(PL_LIO, (file), (flag), (perm)) 748 #define PerlLIO_open3(file, flag, perm) open((file), (flag), (perm))
|
/osnet-11/usr/src/lib/liblldp/common/ |
H A D | liblldp_prop.c | 684 uint_t perm; local 686 perm = 0; 688 perm |= MAC_PROP_PERM_WRITE; 690 perm |= MAC_PROP_PERM_READ; 693 ((perm & MAC_PROP_PERM_READ) != 0) ? 'r' : '-', 694 ((perm & MAC_PROP_PERM_WRITE) != 0) ? 'w' : '-');
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/via/ |
H A D | via.xs | 205 IV n, const char *mode, int fd, int imode, int perm, 229 SV *permsv = sv_2mortal(newSViv(perm)); 262 perm, PerlIONext(f), narg, args)) {
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 1069 static char *io_usename(char *name, int *perm, int mode) argument 1082 *perm = statb.st_mode&(RW_ALL|(S_IXUSR|S_IXGRP|S_IXOTH)); 1134 int r, indx = shp->topfd, perm= -1; local 1331 tname = io_usename(fname,&perm,0); 1363 if(perm>0) 1365 fchmod(fd,perm); 1367 chmod(tname,perm);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/scalar/ |
H A D | scalar.xs | 211 const char *mode, int fd, int imode, int perm,
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/ |
H A D | find2perl.PL | 104 } elsif ($_ eq 'perm') { 107 || die "Malformed -perm argument: $onum\n"; 783 =item C<-perm PERM> 787 =item C<-perm -PERM>
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/ |
H A D | Manifest.pm | 445 my ($perm,$access,$mod) = (stat $srcFile)[2,8,9]; 449 chmod( 0444 | ( $perm & 0111 ? 0111 : 0 ), $dstFile )
|
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_prop.c | 1323 uint_t perm = atoi(buf); local 1326 ((perm & MOD_PROP_PERM_READ) != 0) ? 'r' : '-', 1327 ((perm & MOD_PROP_PERM_WRITE) != 0) ? 'w' : '-');
|