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

1234567891011>>

/netbsd-current/lib/libc/posix1e/
H A Dacl_perm.c44 _perm_is_invalid(acl_perm_t perm) argument
48 if ((perm & -perm) == perm &&
49 (perm & (ACL_POSIX1E_BITS | ACL_NFS4_PERM_BITS)) == perm)
58 * acl_add_perm() (23.4.1): add the permission contained in perm to the
62 acl_add_perm(acl_permset_t permset_d, acl_perm_t perm) argument
70 if (_perm_is_invalid(perm))
73 *permset_d |= perm;
101 acl_delete_perm(acl_permset_t permset_d, acl_perm_t perm) argument
118 acl_get_perm_np(acl_permset_t permset_d, acl_perm_t perm) argument
[all...]
H A Dacl_compat.c47 __oldacl_get_perm_np(acl_permset_t permset_d, oldacl_perm_t perm) argument
50 return (acl_get_perm_np(permset_d, perm));
54 __oldacl_add_perm(acl_permset_t permset_d, oldacl_perm_t perm) argument
57 return (acl_add_perm(permset_d, perm));
61 __oldacl_delete_perm(acl_permset_t permset_d, oldacl_perm_t perm) argument
64 return (acl_delete_perm(permset_d, perm));
H A Dacl_support.h61 int _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len,
63 int _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm);
65 acl_perm_t perm);
H A Dacl_support.c282 _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len, char *buf) argument
290 if ((perm | ACL_PERM_BITS) != ACL_PERM_BITS) {
297 if (perm & ACL_READ)
302 if (perm & ACL_WRITE)
307 if (perm & ACL_EXECUTE)
319 _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm) argument
344 *perm = myperm;
352 _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm) argument
365 e->ae_perm = perm;
/netbsd-current/sys/compat/sys/
H A Dipc.h74 __ipc_perm14_to_native(const struct ipc_perm14 *operm, struct ipc_perm *perm) argument
77 memset(perm, 0, sizeof *perm);
78 #define CVT(x) perm->x = operm->x
88 __native_to_ipc_perm14(const struct ipc_perm *perm, struct ipc_perm14 *operm) argument
92 #define CVT(x) operm->x = perm->x
103 operm->seq = perm->_seq;
104 operm->key = perm->_key;
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dgcore-relro-pie.exp37 set perm [file attributes ${binfile} -permissions]
38 file attributes ${stripped_binfile} -permissions $perm
H A Dgcore-tls-pie.exp41 set perm [file attributes ${binfile} -permissions]
42 file attributes ${stripped_binfile} -permissions $perm
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dgcore-relro-pie.exp38 set perm [file attributes ${binfile} -permissions]
39 file attributes ${stripped_binfile} -permissions $perm
H A Dgcore-tls-pie.exp42 set perm [file attributes ${binfile} -permissions]
43 file attributes ${stripped_binfile} -permissions $perm
/netbsd-current/external/cddl/osnet/dist/common/zfs/
H A Dzfs_deleg.c72 zfs_valid_permission_name(const char *perm) argument
74 if (zfs_deleg_canonicalize_perm(perm))
77 return (permset_namecheck(perm, NULL, NULL));
81 zfs_deleg_canonicalize_perm(const char *perm) argument
87 if (strcmp(perm, zfs_deleg_perm_tab[i].z_perm) == 0)
88 return (perm);
91 prop = zfs_name_to_prop(perm);
H A Dzfs_deleg.h83 const char *zfs_deleg_canonicalize_perm(const char *perm);
/netbsd-current/distrib/common/
H A Dparselist.awk78 # IMP COPY src dest [perm] copy src to dest. perm defaults to 0444
166 err("Usage: COPY src dest [perm]");
303 function copy (src, dest, perm) \
305 if (perm == "")
306 perm = 444;
310 perm, src, ENVIRON["TARGETDIR"], dest)
312 printf("./%s mode=%s\n", dest, perm);
316 printf("chmod %s %s/%s\n", perm, ENVIRON["TARGETDIR"], dest);
320 function link (src, dest, perm) \
[all...]
/netbsd-current/sys/kern/
H A Dsubr_acl_posix1e.c63 acl_perm_t perm = 0; local
68 perm |= ACL_EXECUTE;
70 perm |= ACL_READ;
72 perm |= ACL_WRITE;
73 return (perm);
77 perm |= ACL_EXECUTE;
79 perm |= ACL_READ;
81 perm |= ACL_WRITE;
82 return (perm);
86 perm |
[all...]
H A Dsysv_ipc.c261 struct ipc_perm *perm; local
271 perm = arg1;
275 if (kauth_cred_geteuid(cred) == perm->uid ||
276 kauth_cred_geteuid(cred) == perm->cuid)
283 if (kauth_cred_geteuid(cred) == perm->uid ||
284 kauth_cred_geteuid(cred) == perm->cuid) {
289 return ((perm->mode & mask) == mask ? KAUTH_RESULT_ALLOW : KAUTH_RESULT_DEFER /* EACCES */);
292 if (kauth_cred_groupmember(cred, perm->gid) == 0 ||
293 kauth_cred_groupmember(cred, perm->cgid) == 0) {
298 return ((perm
313 ipcperm(kauth_cred_t cred, struct ipc_perm *perm, int mode) argument
[all...]
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dsftp-common.h41 u_int32_t perm; member in struct:Attrib
/netbsd-current/lib/libc/gen/
H A Dsetmode.c186 mode_t mask, perm, permXbits, who; local
233 perm = (mode_t)lval;
234 ADDCMD('=', (STANDARD_BITS|S_ISTXT), perm, mask);
272 for (perm = 0, permXbits = 0;; ++p) {
275 perm |= S_IRUSR|S_IRGRP|S_IROTH;
283 perm |= S_ISUID|S_ISGID;
292 perm |= S_ISTXT;
296 perm |= S_IWUSR|S_IWGRP|S_IWOTH;
302 perm |= S_IXUSR|S_IXGRP|S_IXOTH;
312 if (perm) {
[all...]
/netbsd-current/sys/fs/nfs/common/
H A Dnfs_commonacl.c170 * And turn the mask into perm bits.
191 acl_perm_t perm = 0x0; local
196 perm |= ACL_READ_DATA;
200 perm |= ACL_LIST_DIRECTORY;
204 perm |= ACL_WRITE_DATA;
208 perm |= ACL_ADD_FILE;
212 perm |= ACL_APPEND_DATA;
216 perm |= ACL_ADD_SUBDIRECTORY;
220 perm |= ACL_READ_NAMED_ATTRS;
224 perm |
[all...]
/netbsd-current/usr.bin/at/
H A DMakefile6 SRCS= at.c panic.c parsetime.c perm.c privs.c stime.c
/netbsd-current/external/cddl/osnet/dist/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...]
/netbsd-current/external/cddl/osnet/dist/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);
/netbsd-current/sys/sys/
H A Dipc.h106 #define IXSEQ_TO_IPCID(ix,perm) (((perm._seq) << 16) | (ix & 0xffff))
/netbsd-current/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c78 char *perm; /* becomes permission field */ local
108 if (!(perm = strtok(line, fs))
116 if (perm[0] != '+' && perm[0] != '-') {
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_params.c35 #define i915_param_named(name, T, perm, desc) \
36 module_param_named(name, i915_modparams.name, T, perm); \
38 #define i915_param_named_unsafe(name, T, perm, desc) \
39 module_param_named_unsafe(name, i915_modparams.name, T, perm); \
/netbsd-current/sys/fs/cd9660/
H A Dcd9660_node.c177 if (!(ap->perm[1]&0x10))
179 if (!(ap->perm[1]&0x40))
181 if (!(ap->perm[0]&0x01))
183 if (!(ap->perm[0]&0x04))
185 if (!(ap->perm[0]&0x10))
187 if (!(ap->perm[0]&0x40))
/netbsd-current/lib/libcrypt/
H A Dcrypt.c864 static unsigned char perm[64], tmp32[32]; /* "static" for speed */ local
870 perm[i] = 0;
882 perm[i] = k;
885 prtab("pc1tab", perm, 8);
887 init_perm(PC1ROT, perm, 8, 8);
895 perm[i] = pc2inv[i] = 0;
906 perm[i] = pc2inv[k];
909 prtab("pc2tab", perm, 8);
911 init_perm(PC2ROT[j], perm, 8, 8);
929 perm[
997 init_perm(C_block perm[64/CHUNKBITS][1<<CHUNKBITS], const unsigned char p[64], int chars_in, int chars_out) argument
[all...]

Completed in 234 milliseconds

1234567891011>>