/netbsd-current/lib/libc/posix1e/ |
H A D | acl_perm.c | 44 _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 D | acl_compat.c | 47 __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 D | acl_support.h | 61 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 D | acl_support.c | 282 _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 D | ipc.h | 74 __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 D | gcore-relro-pie.exp | 37 set perm [file attributes ${binfile} -permissions] 38 file attributes ${stripped_binfile} -permissions $perm
|
H A D | gcore-tls-pie.exp | 41 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 D | gcore-relro-pie.exp | 38 set perm [file attributes ${binfile} -permissions] 39 file attributes ${stripped_binfile} -permissions $perm
|
H A D | gcore-tls-pie.exp | 42 set perm [file attributes ${binfile} -permissions] 43 file attributes ${stripped_binfile} -permissions $perm
|
/netbsd-current/external/cddl/osnet/dist/common/zfs/ |
H A D | zfs_deleg.c | 72 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 D | zfs_deleg.h | 83 const char *zfs_deleg_canonicalize_perm(const char *perm);
|
/netbsd-current/distrib/common/ |
H A D | parselist.awk | 78 # 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 D | subr_acl_posix1e.c | 63 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 D | sysv_ipc.c | 261 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 D | sftp-common.h | 41 u_int32_t perm; member in struct:Attrib
|
/netbsd-current/lib/libc/gen/ |
H A D | setmode.c | 186 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 D | nfs_commonacl.c | 170 * 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 D | Makefile | 6 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 D | dsl_deleg.c | 107 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 D | dsl_deleg.h | 68 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 D | ipc.h | 106 #define IXSEQ_TO_IPCID(ix,perm) (((perm._seq) << 16) | (ix & 0xffff))
|
/netbsd-current/lib/libpam/modules/pam_login_access/ |
H A D | login_access.c | 78 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 D | i915_params.c | 35 #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 D | cd9660_node.c | 177 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 D | crypt.c | 864 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...] |