Searched refs:perm (Results 1 - 25 of 175) sorted by relevance

1234567

/macosx-10.10.1/ksh-23/ksh/src/lib/libast/string/
H A Dfmtperm.c27 * 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 Dstrperm.c27 * 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...]
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dsysv_ipc.c76 * perm->mode mode of the object
101 ipcperm(kauth_cred_t cred, struct ipc_perm *perm, int mode_req) argument
106 mode_t mode_owner = (perm->mode & S_IRWXU);
107 mode_t mode_group = (perm->mode & S_IRWXG) << 3;
108 mode_t mode_world = (perm->mode & S_IRWXO) << 6;
115 if (uid == perm->cuid || uid == perm->uid) {
135 if ((!kauth_cred_ismember_gid(cred, perm->gid, &is_member) && is_member) &&
136 ((perm->gid == perm
[all...]
/macosx-10.10.1/CrackLib-37765/cracklib27/cracklib/
H A Dgenrules.pl33 $perm = join(" ", sort(keys(%output)));
34 $perms{$perm}++;
56 foreach $perm (sort(keys(%perms)))
60 foreach $i (split(" ", $perm))
/macosx-10.10.1/xnu-2782.1.97/bsd/crypto/rc4/
H A Drc4.c65 state->perm[i] = (u_char)i;
71 j += state->perm[i] + key[i % keylen];
72 swap_bytes(&state->perm[i], &state->perm[j]);
93 state->index2 += state->perm[state->index1];
96 swap_bytes(&state->perm[state->index1],
97 &state->perm[state->index2]);
100 j = state->perm[state->index1] + state->perm[state->index2];
101 outbuf[i] = inbuf[i] ^ state->perm[
[all...]
H A Drc4.h44 u_char perm[256]; member in struct:rc4_state
/macosx-10.10.1/ruby-106/ruby/benchmark/
H A Dbm_so_fannkuch.rb9 perm = (1..n).to_a
13 puts "#{perm}"
22 if perm[0] != 1 and perm[m] != n
23 perml = perm.clone #.dup
33 perm.insert r,perm.shift
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/preroot/
H A Drealopen.c34 realopen(const char* path, int mode, int perm) argument
40 return(open(buf, mode, perm));
/macosx-10.10.1/sudo-73/src/
H A Dset_perms.c68 * Set real and effective and saved uids and gids based on perm.
74 set_perms(perm)
75 int perm;
80 noexit = ISSET(perm, PERM_NOEXIT);
81 CLR(perm, PERM_MASK);
83 if (perm == current_perm)
86 switch (perm) {
170 current_perm = perm;
184 * Set real and effective uids and gids based on perm.
190 set_perms(perm)
[all...]
/macosx-10.10.1/Libc-1044.1.2/posix1e/
H A Dacl_perm.c89 acl_add_perm(acl_permset_t permset, acl_perm_t perm) argument
92 _ACL_VALIDATE_PERM(perm);
94 permset->ap_perms |= perm;
108 acl_delete_perm(acl_permset_t permset, acl_perm_t perm) argument
111 _ACL_VALIDATE_PERM(perm);
113 permset->ap_perms &= ~perm;
118 acl_get_perm_np(acl_permset_t permset, acl_perm_t perm) argument
120 _ACL_VALIDATE_PERM(perm);
122 return((perm & permset->ap_perms) ? 1 : 0);
/macosx-10.10.1/BerkeleyDB-21/db/docs_src/ref/am_misc/
H A DMakefile4 get_bulk.html partial.html perm.html stability.html struct.html \
/macosx-10.10.1/apr-32/apr/apr/file_io/os2/
H A Ddir_make_recurse.c63 apr_status_t apr_dir_make_recursive(const char *path, apr_fileperms_t perm, argument
68 apr_err = apr_dir_make(path, perm, pool); /* Try to make PATH right out */
74 apr_err = apr_dir_make_recursive(dir, perm, pool);
77 apr_err = apr_dir_make(path, perm, pool);
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/read-only-stubs/
H A Dmain.c88 vm_prot_t perm = getPermission(addr); local
89 if ( (perm == 0) || ((perm & VM_PROT_WRITE) != 0) ) {
90 FAIL("read-only-stubs: bad permissions %d at address %p", perm, addr);
H A Dfoo.c89 vm_prot_t perm = getPermission(addr); local
90 if ( (perm == 0) || ((perm & VM_PROT_WRITE) != 0) ) {
91 FAIL("read-only-stubs: bad permissions %d at address %p", perm, addr);
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/text-relocs-perms/
H A Dfoo.c88 vm_prot_t perm = getPermission(addr); local
89 //fprintf(stderr, "perm=0x%02X\n", perm);
90 if ( (perm == 0) || ((perm & VM_PROT_EXECUTE) == 0) ) {
91 FAIL("text-reloc-perms: missing exec permission 0x%0X at address %p", perm, addr);
H A Dmain.c88 vm_prot_t perm = getPermission(addr); local
89 if ( (perm == 0) || ((perm & VM_PROT_WRITE) != 0) ) {
90 FAIL("read-only-stubs: bad permissions %d at address %p", perm, addr);
117 PASS("text-relocs-perm");
/macosx-10.10.1/bash-94.1.2/bash-3.2/builtins/
H A Dumask.c158 int who, op, perm, bits, c; local
163 who = op = perm = 0;
200 /* Parse out the `perm' section of the symbolic mode clause. */
208 perm |= S_IRUGO;
211 perm |= S_IWUGO;
214 perm |= S_IXUGO;
224 perm &= who;
229 bits |= perm;
232 bits &= ~perm;
238 bits |= perm;
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/
H A DTEA.make87 $(_v)- $(FIND) "$(DSTROOT)/$(TclExtLibDir)"/$(TclExtDir)* -type f ! -name "*.dylib" -perm -+x -print0 | $(XARGS) -0 $(CHMOD) -x
88 $(_v)- $(FIND) "$(DSTROOT)/$(TclExtLibDir)"/$(TclExtDir)* -type f -name "*.dylib" ! -perm -+x -print0 | $(XARGS) -0 $(CHMOD) +x
89 $(_v)- $(FIND) $(DSTROOT) -type f ! -perm -+x ! -perm $(Install_File_Mode) -print0 | $(XARGS) -0 $(CHMOD) $(Install_File_Mode)
90 $(_v)- $(FIND) $(DSTROOT) -type f -perm -+x ! -perm $(Install_Program_Mode) -print0 | $(XARGS) -0 $(CHMOD) $(Install_Program_Mode)
91 $(_v)- $(FIND) $(DSTROOT) -type d ! -perm $(Install_Directory_Mode) -print0 | $(XARGS) -0 $(CHMOD) $(Install_Directory_Mode)
/macosx-10.10.1/ruby-106/ruby/lib/
H A Dtempfile.rb138 perm = 0600
141 opts[:perm] = perm
142 perm = nil
144 opts = perm
149 perm or opts.freeze
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/examples/ftp/
H A Dmirror.tcl23 perm l u g size d1 d2 d3 name link linksource]
25 set type [string range $perm 0 0]
/macosx-10.10.1/tcl-105/tcl_ext/tclx/tclx/library/
H A Dedprocs.tcl37 set perm 0600
38 if {[catch {open $tmpFilename $access $perm} fp]} {
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dsetmode.c179 int perm, who; local
224 perm = (mode_t)perml;
226 ADDCMD('=', STANDARD_BITS, perm, mask);
228 ADDCMD('=', (STANDARD_BITS|S_ISTXT), perm, mask);
269 for (perm = 0, permXbits = 0;; ++p) {
272 perm |= S_IRUSR|S_IRGRP|S_IROTH;
277 perm |= S_ISUID|S_ISGID;
285 perm |= S_ISTXT;
289 perm |= S_IWUSR|S_IWGRP|S_IWOTH;
295 perm |
[all...]
/macosx-10.10.1/OpenSSH-189/openssh/
H A Dsftp-common.h39 u_int32_t perm; member in struct:Attrib
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/aso/
H A Daso-sem.c61 int perm;
82 perm = S_IRUSR|S_IWUSR;
87 if (strneq(path, "perm=", 5))
93 perm = strperm(tmp, NiL, perm);
106 if ((id = semget(key, size, IPC_CREAT|IPC_EXCL|perm)) >= 0)
127 else if ((id = semget(key, size, perm)) >= 0)
/macosx-10.10.1/curl-83.1.2/curl/tests/libtest/
H A Dlib576.c46 if(finfo->strings.perm) {
47 printf("Permissions: %s", finfo->strings.perm);
49 printf(" (parsed => %o)", finfo->perm);

Completed in 178 milliseconds

1234567