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

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/keys/
H A Dpermission.c21 * @perm: The permissions to check for
30 key_perm_t perm)
43 kperm = key->perm >> 16;
49 if (key->gid != -1 && key->perm & KEY_GRP_ALL) {
51 kperm = key->perm >> 8;
57 kperm = key->perm >> 8;
65 kperm = key->perm;
73 kperm |= key->perm >> 24;
75 kperm = kperm & perm & KEY_ALL;
77 if (kperm != perm)
29 key_task_permission(const key_ref_t key_ref, const struct cred *cred, key_perm_t perm) argument
[all...]
H A Dinternal.h99 key_perm_t perm);
138 key_perm_t perm);
154 key_perm_t perm);
156 static inline int key_permission(const key_ref_t key_ref, key_perm_t perm) argument
158 return key_task_permission(key_ref, current_cred(), perm);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dmoduleparam.h49 u16 perm; member in struct:kernel_param
78 * @perm: visibility in sysfs.
84 * @perm is 0 if the the variable is not to appear in sysfs, or 0444
99 #define module_param(name, type, perm) \
100 module_param_named(name, name, type, perm)
107 * @perm: visibility in sysfs.
113 #define module_param_named(name, value, type, perm) \
115 module_param_cb(name, &param_ops_##type, &value, perm); \
122 * @perm: visibility in sysfs.
126 #define module_param_cb(name, ops, arg, perm) \
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/selinux/
H A Dnlmsgtab.c27 u32 perm; member in struct:nlmsg_perm
123 static int nlmsg_perm(u16 nlmsg_type, u32 *perm, struct nlmsg_perm *tab, size_t tabsize) argument
129 *perm = tab[i].perm;
137 int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) argument
143 err = nlmsg_perm(nlmsg_type, perm, nlmsg_route_perms,
149 err = nlmsg_perm(nlmsg_type, perm, nlmsg_firewall_perms,
154 err = nlmsg_perm(nlmsg_type, perm, nlmsg_tcpdiag_perms,
159 err = nlmsg_perm(nlmsg_type, perm, nlmsg_xfrm_perms,
168 *perm
[all...]
H A Dnetlabel.c350 u32 perm; local
368 perm = UDP_SOCKET__RECVFROM;
371 perm = TCP_SOCKET__RECVFROM;
374 perm = RAWIP_SOCKET__RECVFROM;
377 rc = avc_has_perm(sksec->sid, nlbl_sid, sksec->sclass, perm, ad);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/docs_src/ref/am_misc/
H A DMakefile4 get_bulk.html partial.html perm.html stability.html struct.html \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/ipc/
H A Dnamespace.c67 struct kern_ipc_perm *perm; local
76 perm = idr_find(&ids->ipcs_idr, next_id);
77 if (perm == NULL)
79 ipc_lock_by_ptr(perm);
80 free(ns, perm);
H A Dutil.h130 struct ipc64_perm *perm, int extra_perm);
160 static inline void ipc_lock_by_ptr(struct kern_ipc_perm *perm) argument
163 spin_lock(&perm->lock);
166 static inline void ipc_unlock(struct kern_ipc_perm *perm) argument
168 spin_unlock(&perm->lock);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/bftpd-1.6.6/
H A Ddirlist.c155 char temp[MAXCMD + 3], linktarget[MAXCMD + 5], perm[11], timestr[17], uid[USERLEN + 1], gid[USERLEN + 1]; local
191 //strcpy(perm, "lrwxrwxrwx");
192 strcpy(perm, "drwxrwxrwx");
204 strcpy(perm, "----------");
206 perm[0] = 'd';
208 perm[1] = 'r';
210 perm[2] = 'w';
212 perm[3] = 'x';
214 perm[4] = 'r';
216 perm[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ppc/
H A Dmpegvideoencdsp.c39 vector unsigned char perm = vec_lvsl(0, pix); local
47 vector unsigned char pixv = vec_perm(pixl, pixr, perm);
67 vector unsigned char perm = vec_lvsl(0, pix); local
75 vector unsigned char t1 = vec_perm(pixl, pixr, perm);
H A Dpixblockdsp.c42 vector unsigned char perm = vec_lvsl(0, pixels); local
52 vector unsigned char bytes = vec_perm(pixl, pixr, perm);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/tomoyo/
H A Dfile.c515 if (acl->perm & (1 << r->param.path.operation)) {
529 return (acl->perm & (1 << r->param.path_number.operation)) &&
541 return (acl->perm & (1 << r->param.path2.operation)) &&
552 return (acl->perm & (1 << r->param.mkdev.operation)) &&
577 ->perm;
578 u16 perm = *a_perm; local
579 const u16 b_perm = container_of(b, struct tomoyo_path_acl, head)->perm;
581 perm &= ~b_perm;
582 if ((perm & TOMOYO_RW_MASK) != TOMOYO_RW_MASK)
583 perm
649 u8 perm = *a_perm; local
717 u8 perm = *a_perm; local
830 u8 perm = *a_perm; local
[all...]
H A Dutil.c917 u16 perm; local
920 perm = container_of(ptr, struct tomoyo_path_acl, head)
921 ->perm;
923 if (perm & (1 << i))
925 if (perm & (1 << TOMOYO_TYPE_READ_WRITE))
929 perm = container_of(ptr, struct tomoyo_path2_acl, head)
930 ->perm;
932 if (perm & (1 << i))
936 perm = container_of(ptr, struct tomoyo_path_number_acl,
937 head)->perm;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/
H A Dvt_ioctl.c205 do_kdsk_ioctl(int cmd, struct kbentry __user *user_kbe, int perm, struct kbd_struct *kbd) argument
214 perm = 0;
227 if (!perm)
293 do_kbkeycode_ioctl(int cmd, struct kbkeycode __user *user_kbkc, int perm) argument
307 if (!perm)
316 do_kdgkb_ioctl(int cmd, struct kbsentry __user *user_kdgkb, int perm) argument
329 perm = 0;
364 if (!perm) {
429 do_fontx_ioctl(int cmd, struct consolefontdesc __user *user_cfd, int perm, struct console_font_op *op) argument
439 if (!perm)
469 do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, int perm, struct vc_data *vc) argument
508 int i, perm; local
1379 compat_fontx_ioctl(int cmd, struct compat_consolefontdesc __user *user_cfd, int perm, struct console_font_op *op) argument
1427 compat_kdfontop_ioctl(struct compat_console_font_op __user *fontop, int perm, struct console_font_op *op, struct vc_data *vc) argument
1453 compat_unimap_ioctl(unsigned int cmd, struct compat_unimapdesc __user *user_ud, int perm, struct vc_data *vc) argument
1487 int perm; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/libtest/
H A Dlib576.c46 if(finfo->strings.perm) {
47 printf("Permissions: %s", finfo->strings.perm);
49 printf(" (parsed => %o)", finfo->perm);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Deatgq.c62 uint8_t *perm = s->scantable.permutated; local
68 block[perm[i++]] = 0;
70 block[perm[i++]] = 0;
78 block[perm[i++]] = 0;
82 block[perm[i]] = -s->qtable[perm[i]];
87 block[perm[i]] = s->qtable[perm[i]];
95 block[perm[i]] = get_sbits(gb,8)*s->qtable[perm[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Deatgq.c63 uint8_t *perm = s->scantable.permutated; local
69 block[perm[i++]] = 0;
71 block[perm[i++]] = 0;
79 block[perm[i++]] = 0;
83 block[perm[i]] = -s->qtable[perm[i]];
88 block[perm[i]] = s->qtable[perm[i]];
96 block[perm[i]] = get_sbits(gb, 8) * s->qtable[perm[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/acl/
H A Dunix.c349 acl_perm_t perm = 0; local
363 perm |= ACL_EXECUTE;
366 perm |= ACL_WRITE;
369 perm |= ACL_READ;
371 ret = acl_add_perm(permset, perm);
454 acl_perm_t perm = 0; local
468 perm |= ACL_EXECUTE;
471 perm |= ACL_WRITE;
474 perm |= ACL_READ;
476 ret = acl_add_perm(permset, perm);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ceph/crush/
H A Dcrush.c74 kfree(b->h.perm);
83 kfree(b->h.perm);
98 kfree(b->h.perm);
H A Dmapper.c83 bucket->perm[0] = s;
89 bucket->perm[i] = i;
94 bucket->perm[i] = i;
95 bucket->perm[bucket->perm[0]] = 0;
101 dprintk(" perm_choose have %d: %d\n", i, bucket->perm[i]);
109 unsigned t = bucket->perm[p + i];
110 bucket->perm[p + i] = bucket->perm[p];
111 bucket->perm[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mfd/
H A Dab3550-core.c85 * @perm: access permissions for the range
90 u8 perm; member in struct:ab3550_reg_range
124 .perm = AB3550_PERM_RW,
129 .perm = AB3550_PERM_RW,
142 .perm = AB3550_PERM_RW,
147 .perm = AB3550_PERM_RW,
159 .perm = AB3550_PERM_RO,
172 .perm = AB3550_PERM_RW,
182 .perm = AB3550_PERM_RW,
194 .perm
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/utils/
H A Dsharesec.c33 const char *perm; member in struct:perm_value
86 for (v = standard_values; v->perm; v++) {
88 fprintf(f, "%s", v->perm);
99 for (v = special_values; v->perm; v++) {
102 fprintf(f, "%s", v->perm);
237 for (v = standard_values; v->perm; v++) {
238 if (strcmp(tok, v->perm) == 0) {
249 for (v = special_values; v->perm; v++) {
250 if (v->perm[0] == *p) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/modules/
H A Dvfs_posixacl.c29 static int smb_acl_set_mode(acl_entry_t entry, SMB_ACL_PERM_T perm);
247 static int smb_acl_set_mode(acl_entry_t entry, SMB_ACL_PERM_T perm) argument
258 if ((perm & SMB_ACL_READ) &&
262 if ((perm & SMB_ACL_WRITE) &&
266 if ((perm & SMB_ACL_EXECUTE) &&
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Df_perms.c74 enum perm { RO, RW }; enum
83 enum perm in_perm = av_frame_is_writable(frame) ? RW : RO;
84 enum perm out_perm;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/core/seq/oss/
H A Dseq_oss_midi.c332 int perm; local
345 perm = 0;
347 perm |= PERM_WRITE;
349 perm |= PERM_READ;
350 perm &= mdev->flags;
351 if (perm == 0) {
357 if ((mdev->opened & perm) == perm) {
362 perm &= ~mdev->opened;
366 if (perm
[all...]

Completed in 379 milliseconds

1234567891011>>