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

12345678910

/freebsd-11-stable/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.c41 __oldacl_get_perm_np(acl_permset_t permset_d, oldacl_perm_t perm) argument
44 return (acl_get_perm_np(permset_d, perm));
48 __oldacl_add_perm(acl_permset_t permset_d, oldacl_perm_t perm) argument
51 return (acl_add_perm(permset_d, perm));
55 __oldacl_delete_perm(acl_permset_t permset_d, oldacl_perm_t perm) argument
58 return (acl_delete_perm(permset_d, perm));
H A Dacl_support.h59 int _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len,
61 int _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm);
63 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-11-stable/etc/periodic/security/
H A D110.neggrpperm54 \( \( ! -perm +010 -and -perm +001 \) -or \
55 \( ! -perm +020 -and -perm +002 \) -or \
56 \( ! -perm +040 -and -perm +004 \) \) \
H A D100.chksetuid56 \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
57 \( -perm -u+s -or -perm -g+s \) -exec ls -liTd \{\} \+ |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dmoduleparam.h48 #define LINUXKPI_PARAM_PERM(perm) (((perm) & 0222) ? CTLFLAG_RWTUN : CTLFLAG_RDTUN)
57 #define LINUXKPI_PARAM_bool(name, var, perm) \
60 LINUXKPI_PARAM_NAME(name), LINUXKPI_PARAM_PERM(perm), &(var), 0, \
63 #define LINUXKPI_PARAM_byte(name, var, perm) \
66 LINUXKPI_PARAM_NAME(name), LINUXKPI_PARAM_PERM(perm), &(var), 0, \
69 #define LINUXKPI_PARAM_short(name, var, perm) \
72 LINUXKPI_PARAM_NAME(name), LINUXKPI_PARAM_PERM(perm), &(var), 0, \
75 #define LINUXKPI_PARAM_ushort(name, var, perm) \
78 LINUXKPI_PARAM_NAME(name), LINUXKPI_PARAM_PERM(perm),
[all...]
/freebsd-11-stable/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-11-stable/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfs_deleg.c73 zfs_valid_permission_name(const char *perm) argument
75 if (zfs_deleg_canonicalize_perm(perm))
78 return (permset_namecheck(perm, NULL, NULL));
82 zfs_deleg_canonicalize_perm(const char *perm) argument
88 if (strcmp(perm, zfs_deleg_perm_tab[i].z_perm) == 0)
89 return (perm);
92 prop = zfs_name_to_prop(perm);
H A Dzfs_deleg.h84 const char *zfs_deleg_canonicalize_perm(const char *perm);
/freebsd-11-stable/crypto/openssh/
H A Dsftp-common.h40 u_int32_t perm; member in struct:Attrib
/freebsd-11-stable/lib/libc/gen/
H A Dsetmode.c175 mode_t mask, perm, permXbits, who; local
215 perm = (mode_t)perml;
216 ADDCMD('=', (STANDARD_BITS|S_ISTXT), perm, mask);
255 for (perm = 0, permXbits = 0;; ++p) {
258 perm |= S_IRUSR|S_IRGRP|S_IROTH;
263 perm |= S_ISUID|S_ISGID;
269 perm |= S_ISTXT;
273 perm |= S_IWUSR|S_IWGRP|S_IWOTH;
279 perm |= S_IXUSR|S_IXGRP|S_IXOTH;
289 if (perm) {
[all...]
/freebsd-11-stable/sys/fs/nfs/
H A Dnfs_commonacl.c166 * And turn the mask into perm bits.
187 acl_perm_t perm = 0x0; local
192 perm |= ACL_READ_DATA;
196 perm |= ACL_LIST_DIRECTORY;
200 perm |= ACL_WRITE_DATA;
204 perm |= ACL_ADD_FILE;
208 perm |= ACL_APPEND_DATA;
212 perm |= ACL_ADD_SUBDIRECTORY;
216 perm |= ACL_READ_NAMED_ATTRS;
220 perm |
[all...]
/freebsd-11-stable/usr.bin/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-11-stable/usr.bin/at/
H A DMakefile6 SRCS= at.c panic.c parsetime.c perm.c
/freebsd-11-stable/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);
404 * there is no perm i
407 dsl_check_access(objset_t *mos, uint64_t zapobj, char type, char checkflag, void *valp, const char *perm) argument
428 dsl_check_user_access(objset_t *mos, uint64_t zapobj, const char *perm, int checkflag, cred_t *cr) argument
542 dsl_deleg_access_impl(dsl_dataset_t *ds, const char *perm, cred_t *cr) argument
646 dsl_deleg_access(const char *dsname, const char *perm, cred_t *cr) argument
[all...]
/freebsd-11-stable/contrib/apr-util/dbm/
H A Dapr_dbm.c196 apr_fileperms_t perm,
203 rv = (vtable->open)(pdb, pathname, mode, perm, pool);
209 apr_int32_t mode, apr_fileperms_t perm,
212 return apr_dbm_open_ex(pdb, DBM_NAME, pathname, mode, perm, pool);
299 APU_DECLARE(int) apr_posix_perms2mode(apr_fileperms_t perm) argument
303 mode |= 0700 & (perm >> 2); /* User is off-by-2 bits */
304 mode |= 0070 & (perm >> 1); /* Group is off-by-1 bit */
305 mode |= 0007 & (perm); /* World maps 1 for 1 */
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_dbm.h80 * @param perm Permissions to apply to if created
91 apr_int32_t mode, apr_fileperms_t perm,
106 * @param perm Permissions to apply to if created
112 apr_int32_t mode, apr_fileperms_t perm,
/freebsd-11-stable/contrib/apr-util/include/private/
H A Dapr_dbm_private.h42 APU_DECLARE(int) apr_posix_perms2mode(apr_fileperms_t perm); variable
53 apr_int32_t mode, apr_fileperms_t perm,
/freebsd-11-stable/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.c378 acl_perm_t perm = 0; local
383 perm |= ACL_EXECUTE;
385 perm |= ACL_READ;
387 perm |= ACL_WRITE;
388 return (perm);
392 perm |= ACL_EXECUTE;
394 perm |= ACL_READ;
396 perm |= ACL_WRITE;
397 return (perm);
401 perm |
[all...]
/freebsd-11-stable/crypto/openssh/regress/
H A Dsftp-chroot.sh15 if ! $OBJ/check-perm -m chroot "$CHROOT" ; then
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddsl_deleg.h69 int dsl_deleg_access(const char *ddname, const char *perm, cred_t *cr);
70 int dsl_deleg_access_impl(struct dsl_dataset *ds, const char *perm, cred_t *cr);
/freebsd-11-stable/sys/sys/
H A Dipc.h124 #define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | (ix & 0xffff))

Completed in 481 milliseconds

12345678910