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

12345

/freebsd-9.3-release/lib/libc/posix1e/
H A Dacl_perm.c39 _perm_is_invalid(acl_perm_t perm) argument
43 if ((perm & -perm) == perm &&
44 (perm & (ACL_POSIX1E_BITS | ACL_NFS4_PERM_BITS)) == perm)
53 * acl_add_perm() (23.4.1): add the permission contained in perm to the
57 acl_add_perm(acl_permset_t permset_d, acl_perm_t perm) argument
65 if (_perm_is_invalid(perm))
68 *permset_d |= perm;
96 acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm) argument
113 acl_get_perm_np(acl_permset_t permset_d, acl_perm_t perm) argument
[all...]
H A Dacl_compat.c37 __oldacl_get_perm_np(acl_permset_t permset_d, oldacl_perm_t perm) argument
40 return (acl_get_perm_np(permset_d, perm));
44 __oldacl_add_perm(acl_permset_t permset_d, oldacl_perm_t perm) argument
47 return (acl_add_perm(permset_d, perm));
51 __oldacl_delete_perm(acl_permset_t permset_d, oldacl_perm_t perm) argument
54 return (acl_delete_perm(permset_d, perm));
H A Dacl_support.h57 int _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len,
59 int _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm);
61 acl_perm_t perm);
H A Dacl_support.c277 _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len, char *buf) argument
285 if ((perm | ACL_PERM_BITS) != ACL_PERM_BITS) {
292 if (perm & ACL_READ)
297 if (perm & ACL_WRITE)
302 if (perm & ACL_EXECUTE)
314 _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm) argument
339 *perm = myperm;
347 _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm) argument
360 e->ae_perm = perm;
/freebsd-9.3-release/etc/periodic/security/
H A D110.neggrpperm46 \( \( ! -perm +010 -and -perm +001 \) -or \
47 \( ! -perm +020 -and -perm +002 \) -or \
48 \( ! -perm +040 -and -perm +004 \) \) \
H A D100.chksetuid48 \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
49 \( -perm -u+s -or -perm -g+s \) -exec ls -liTd \{\} \+ |
/freebsd-9.3-release/sys/crypto/rc4/
H A Drc4.c68 state->perm[i] = (u_char)i;
74 j += state->perm[i] + key[k];
75 swap_bytes(&state->perm[i], &state->perm[j]);
98 state->index2 += state->perm[state->index1];
101 swap_bytes(&state->perm[state->index1],
102 &state->perm[state->index2]);
105 j = state->perm[state->index1] + state->perm[state->index2];
106 outbuf[i] = inbuf[i] ^ state->perm[
[all...]
H A Drc4.h44 u_char perm[256]; member in struct:rc4_state
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfs_deleg.c71 zfs_valid_permission_name(const char *perm) argument
73 if (zfs_deleg_canonicalize_perm(perm))
76 return (permset_namecheck(perm, NULL, NULL));
80 zfs_deleg_canonicalize_perm(const char *perm) argument
86 if (strcmp(perm, zfs_deleg_perm_tab[i].z_perm) == 0)
87 return (perm);
90 prop = zfs_name_to_prop(perm);
H A Dzfs_deleg.h83 const char *zfs_deleg_canonicalize_perm(const char *perm);
/freebsd-9.3-release/crypto/openssh/
H A Dsftp-common.h39 u_int32_t perm; member in struct:Attrib
/freebsd-9.3-release/lib/libc/gen/
H A Dsetmode.c171 int perm, who; local
211 perm = (mode_t)perml;
212 ADDCMD('=', (STANDARD_BITS|S_ISTXT), perm, mask);
250 for (perm = 0, permXbits = 0;; ++p) {
253 perm |= S_IRUSR|S_IRGRP|S_IROTH;
258 perm |= S_ISUID|S_ISGID;
264 perm |= S_ISTXT;
268 perm |= S_IWUSR|S_IWGRP|S_IWOTH;
274 perm |= S_IXUSR|S_IXGRP|S_IXOTH;
284 if (perm) {
[all...]
/freebsd-9.3-release/sys/fs/nfs/
H A Dnfs_commonacl.c168 * And turn the mask into perm bits.
189 acl_perm_t perm = 0x0; local
194 perm |= ACL_READ_DATA;
198 perm |= ACL_LIST_DIRECTORY;
202 perm |= ACL_WRITE_DATA;
206 perm |= ACL_ADD_FILE;
210 perm |= ACL_APPEND_DATA;
214 perm |= ACL_ADD_SUBDIRECTORY;
218 perm |= ACL_READ_NAMED_ATTRS;
222 perm |
[all...]
/freebsd-9.3-release/games/caesar/
H A Dcaesar.c61 #define ROTATE(ch, perm) \
63 isupper(ch) ? ('A' + (ch - 'A' + perm) % 26) : \
64 islower(ch) ? ('a' + (ch - 'a' + perm) % 26) : ch) : ch
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dmoduleparam.h45 u16 perm; member in struct:kernel_param
78 #define module_param_call(name, set, get, arg, perm) \
80 { #name, perm, 0, set, get, { arg } }; \
/freebsd-9.3-release/usr.bin/at/
H A DMakefile6 SRCS= at.c panic.c parsetime.c perm.c
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddsl_deleg.c107 const char *perm = nvpair_name(permpair); local
109 if (strcmp(perm, ZFS_DELEG_PERM_ALLOW) == 0)
112 if ((error = dsl_deleg_access(ddname, perm, cr)) != 0)
188 const char *perm = nvpair_name(permpair); local
192 perm, 8, 1, &n, tx) == 0);
194 "%s %s", whokey, perm);
238 const char *perm = nvpair_name(permpair); local
241 (void) zap_remove(mos, jumpobj, perm, tx);
249 "%s %s", whokey, perm);
405 * there is no perm i
408 dsl_check_access(objset_t *mos, uint64_t zapobj, char type, char checkflag, void *valp, const char *perm) argument
429 dsl_check_user_access(objset_t *mos, uint64_t zapobj, const char *perm, int checkflag, cred_t *cr) argument
543 dsl_deleg_access_impl(dsl_dataset_t *ds, const char *perm, cred_t *cr) argument
647 dsl_deleg_access(const char *dsname, const char *perm, cred_t *cr) argument
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddsl_deleg.h68 int dsl_deleg_access(const char *ddname, const char *perm, cred_t *cr);
69 int dsl_deleg_access_impl(struct dsl_dataset *ds, const char *perm, cred_t *cr);
/freebsd-9.3-release/sys/kern/
H A Dsysv_ipc.c86 ipcperm(struct thread *td, struct ipc_perm *perm, int acc_mode) argument
92 if (cred->cr_uid == perm->cuid || cred->cr_uid == perm->uid) {
93 obj_mode = perm->mode;
95 } else if (groupmember(perm->gid, cred) ||
96 groupmember(perm->cgid, cred)) {
97 obj_mode = perm->mode;
100 obj_mode = perm->mode;
H A Dsubr_acl_posix1e.c376 acl_perm_t perm = 0; local
381 perm |= ACL_EXECUTE;
383 perm |= ACL_READ;
385 perm |= ACL_WRITE;
386 return (perm);
390 perm |= ACL_EXECUTE;
392 perm |= ACL_READ;
394 perm |= ACL_WRITE;
395 return (perm);
399 perm |
[all...]
/freebsd-9.3-release/sys/sys/
H A Dipc.h124 #define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | (ix & 0xffff))
/freebsd-9.3-release/crypto/heimdal/appl/login/
H A Dlogin_access.c62 char *perm; /* becomes permission field */ local
100 if (!(perm = strtok_r(line, fs, &foo))
109 if (perm[0] != '+' && perm[0] != '-') {
/freebsd-9.3-release/crypto/heimdal/appl/rsh/
H A Dlogin_access.c62 char *perm; /* becomes permission field */ local
100 if (!(perm = strtok_r(line, fs, &foo))
109 if (perm[0] != '+' && perm[0] != '-') {
/freebsd-9.3-release/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c58 char *perm; /* becomes permission field */ local
88 if (!(perm = strtok(line, fs))
96 if (perm[0] != '+' && perm[0] != '-') {
/freebsd-9.3-release/sys/fs/cd9660/
H A Dcd9660_node.c149 if (!(ap->perm[0]&0x40))
151 if (!(ap->perm[0]&0x10))
153 if (!(ap->perm[0]&4))
155 if (!(ap->perm[0]&1))
157 if (!(ap->perm[1]&0x40))
159 if (!(ap->perm[1]&0x10))

Completed in 265 milliseconds

12345