Searched refs:perms (Results 1 - 25 of 89) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/selinux/include/
H A Davc_ss.h16 const char *perms[sizeof(u32) * 8 + 1]; member in struct:security_class_mapping
H A Davc.h86 u16 tclass, u32 perms,
89 u16 tclass, u32 perms);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Davcodec.h38 * @param perms permissions to assign to the new buffer reference
42 AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame, int perms);
49 * @param perms permissions to assign to the new buffer reference
54 int perms);
60 * @param perms permissions to assign to the new buffer reference
66 int perms);
H A Df_perms.c59 PermsContext *perms = ctx->priv; local
61 if (perms->mode == MODE_RANDOM) {
64 if (perms->random_seed == -1)
65 perms->random_seed = av_get_random_seed();
66 seed = perms->random_seed;
68 av_lfg_init(&perms->lfg, seed);
81 PermsContext *perms = ctx->priv; local
86 switch (perms->mode) {
88 case MODE_RANDOM: out_perm = av_lfg_get(&perms->lfg) & 1 ? RW : RO; break;
150 AVFILTER_DEFINE_CLASS(perms); variable
[all...]
H A Davcodec.c33 int perms)
36 avfilter_get_video_buffer_ref_from_arrays(frame->data, frame->linesize, perms,
49 int perms)
61 (uint8_t **)frame->extended_data, frame->linesize[0], perms,
74 int perms)
78 return avfilter_get_video_buffer_ref_from_frame(frame, perms);
80 return avfilter_get_audio_buffer_ref_from_frame(frame, perms);
32 avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame, int perms) argument
48 avfilter_get_audio_buffer_ref_from_frame(const AVFrame *frame, int perms) argument
72 avfilter_get_buffer_ref_from_frame(enum AVMediaType type, const AVFrame *frame, int perms) argument
H A Daudio.c85 int linesize,int perms,
114 samplesref->perms = perms | AV_PERM_READ;
160 int linesize,int perms,
166 return avfilter_get_audio_buffer_ref_from_arrays_channels(data, linesize, perms,
84 avfilter_get_audio_buffer_ref_from_arrays_channels(uint8_t **data, int linesize,int perms, int nb_samples, enum AVSampleFormat sample_fmt, int channels, uint64_t channel_layout) argument
159 avfilter_get_audio_buffer_ref_from_arrays(uint8_t **data, int linesize,int perms, int nb_samples, enum AVSampleFormat sample_fmt, uint64_t channel_layout) argument
H A Dvideo.c64 avfilter_get_video_buffer_ref_from_arrays(uint8_t * const data[4], const int linesize[4], int perms, argument
82 picref->perms = perms | AV_PERM_READ;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/apparmor/
H A Dfile.c92 * @perms: the permissions computed for the request (NOT NULL)
104 int aa_audit_file(struct aa_profile *profile, struct file_perms *perms, argument
120 u32 mask = perms->audit;
125 /* mask off perms that are not being force audited */
133 sa.aad.fs.request = sa.aad.fs.request & ~perms->allow;
135 if (sa.aad.fs.request & perms->kill)
139 if ((sa.aad.fs.request & perms->quiet) &&
142 sa.aad.fs.request &= ~perms->quiet;
148 sa.aad.fs.denied = sa.aad.fs.request & ~perms->allow;
153 * map_old_perms - map old file perms layou
195 struct file_perms perms; local
228 aa_str_perms(struct aa_dfa *dfa, unsigned int start, const char *name, struct path_cond *cond, struct file_perms *perms) argument
272 struct file_perms perms = {}; local
355 struct file_perms lperms, perms; local
[all...]
H A Ddomain.c96 * @request: requested perms
106 struct file_perms perms; local
111 perms.allow = AA_MAY_CHANGE_PROFILE | AA_MAY_ONEXEC;
112 perms.audit = perms.quiet = perms.kill = 0;
113 return perms;
118 aa_str_perms(profile->file.dfa, start, name, &cond, &perms);
119 if (COMBINED_PERM_MASK(perms) & request)
120 return perms;
350 struct file_perms perms = {}; local
607 struct file_perms perms = {}; local
732 struct file_perms perms = {}; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/scripts/selinux/genheaders/
H A Dgenheaders.c10 const char *perms[sizeof(unsigned) * 8 + 1]; member in struct:security_class_mapping
62 for (j = 0; map->perms[j]; j++)
63 map->perms[j] = stoupperx(map->perms[j]);
106 for (j = 0; map->perms[j]; j++) {
108 map->perms[j]);
109 for (k = 0; k < max(1, 40 - strlen(map->name) - strlen(map->perms[j])); k++)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/testsuite/smbd/
H A Dse_access_check_printer.c92 uint32 perms[] = { variable
105 for (i = 0; perms[i]; i++) {
117 result = test_user(name, perms[i], &acc_granted);
120 pace_str(perms[i]),
125 switch (perms[i]) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/apparmor/include/
H A Dfile.h145 int aa_audit_file(struct aa_profile *profile, struct file_perms *perms,
152 * @perms: permission table indexed by the matched state accept entry of @dfa
157 * an index into @perms. If a named exec transition is required it is
163 /* struct perms perms; */
170 struct file_perms *perms);
201 u32 perms = ACC_FMODE(file->f_mode); local
203 if ((flags & O_APPEND) && (perms & MAY_WRITE))
204 perms = (perms
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavfilter/
H A Dvf_vflip.c42 static AVFilterBufferRef *get_video_buffer(AVFilterLink *link, int perms, argument
49 if (!(perms & AV_PERM_NEG_LINESIZES))
50 return avfilter_default_get_video_buffer(link, perms, w, h);
52 picref = avfilter_get_video_buffer(link->dst->outputs[0], perms, w, h);
H A Davfilter.h138 int perms; ///< permissions, see the AV_PERM_* flags member in struct:AVFilterBufferRef
361 AVFilterBufferRef *(*get_video_buffer)(AVFilterLink *link, int perms, int w, int h);
369 AVFilterBufferRef *(*get_audio_buffer)(AVFilterLink *link, int perms,
455 int perms, int w, int h);
458 AVFilterBufferRef *avfilter_default_get_audio_buffer(AVFilterLink *link, int perms,
486 int perms, int w, int h);
489 AVFilterBufferRef *avfilter_null_get_audio_buffer(AVFilterLink *link, int perms,
644 * @param perms the required access permissions
650 AVFilterBufferRef *avfilter_get_video_buffer(AVFilterLink *link, int perms,
659 * @param perms th
[all...]
H A Davfilter.c68 ret->perms &= pmask;
220 static char *ff_get_ref_perms_string(char *buf, size_t buf_size, int perms) argument
223 perms & AV_PERM_READ ? "r" : "",
224 perms & AV_PERM_WRITE ? "w" : "",
225 perms & AV_PERM_PRESERVE ? "p" : "",
226 perms & AV_PERM_REUSE ? "u" : "",
227 perms & AV_PERM_REUSE2 ? "U" : "",
228 perms & AV_PERM_NEG_LINESIZES ? "n" : "");
237 "ref[%p buf:%p refcount:%d perms:%s data:%p linesize[%d, %d, %d, %d] pts:%"PRId64" pos:%"PRId64,
238 ref, ref->buf, ref->buf->refcount, ff_get_ref_perms_string(buf, sizeof(buf), ref->perms), re
289 avfilter_get_video_buffer(AVFilterLink *link, int perms, int w, int h) argument
312 avfilter_get_video_buffer_ref_from_arrays(uint8_t *data[4], int linesize[4], int perms, int w, int h, enum PixelFormat format) argument
351 avfilter_get_audio_buffer(AVFilterLink *link, int perms, enum AVSampleFormat sample_fmt, int size, uint64_t channel_layout, int planar) argument
404 int perms = picref->perms; local
[all...]
H A Ddefaults.c38 AVFilterBufferRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms, int w, int h) argument
49 perms, w, h, link->format);
58 AVFilterBufferRef *avfilter_default_get_audio_buffer(AVFilterLink *link, int perms, argument
82 ref->perms = perms | AV_PERM_READ;
288 AVFilterBufferRef *avfilter_null_get_video_buffer(AVFilterLink *link, int perms, int w, int h) argument
290 return avfilter_get_video_buffer(link->dst->outputs[0], perms, w, h);
293 AVFilterBufferRef *avfilter_null_get_audio_buffer(AVFilterLink *link, int perms, argument
297 return avfilter_get_audio_buffer(link->dst->outputs[0], perms, sample_fmt,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/libads/
H A Ddisp_sec.c26 } perms[] = { variable in typeref:struct:perm_mask_str
61 printf("%s\n", perms[j].str);
67 for (j = 1; perms[j].str; j ++) {
68 if (perms[j].mask == (((unsigned) 1) << i)) {
69 printf("\n\t%s", perms[j].str);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/src/
H A Dftp-ls.c53 int perms = 0, i; local
59 perms <<= 3;
60 perms += (((s[0] == 'r') << 2) + ((s[1] == 'w') << 1) +
63 return perms;
165 cur.perms = 0644;
168 cur.perms = 0755;
171 /*cur.perms = 1023;*/ /* #### What is this? --hniksic */
172 cur.perms = 0644;
174 DEBUGP (("implicit perms %0o; ", cur.perms));
676 int perms; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/mod_db4/
H A Dsem_utils.c46 int perms = 0777; local
50 while((semid = semget(key, semnum, IPC_CREAT | IPC_EXCL | perms)) == -1) {
55 semid = semget(key, 1, perms);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/selinux/
H A Davc.c73 u16 tclass, u32 perms,
79 u32 perms; member in struct:avc_callback_node
106 const char **perms; local
114 perms = secclass_map[tclass-1].perms;
120 if ((perm & av) && perms[i]) {
121 audit_log_format(ab, " %s", perms[i]);
541 * @perms: permissions
545 * and the permissions @perms, interpreting
546 * @perms base
549 avc_add_callback(int (*callback)(u32 event, u32 ssid, u32 tsid, u16 tclass, u32 perms, u32 *out_retained), u32 events, u32 ssid, u32 tsid, u16 tclass, u32 perms) argument
592 avc_update_node(u32 event, u32 perms, u32 ssid, u32 tsid, u16 tclass, u32 seqno) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/scripts/selinux/mdp/
H A Dmdp.c41 const char *perms[sizeof(unsigned) * 8 + 1]; member in struct:security_class_mapping
87 for (j = 0; map->perms[j]; j++)
88 fprintf(fout, "\t%s\n", map->perms[j]);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/
H A Dposix_acls.c46 mode_t perms; /* Only use S_I(R|W|X)USR mode bits here. */ member in struct:canon_ace
584 dbgtext( "perms ");
585 dbgtext( "%c", pace->perms & S_IRUSR ? 'r' : '-');
586 dbgtext( "%c", pace->perms & S_IWUSR ? 'w' : '-');
587 dbgtext( "%c\n", pace->perms & S_IXUSR ? 'x' : '-');
606 Map POSIX ACL perms to canon_ace permissions (a mode_t containing only S_(R|W|X)USR bits).
731 curr_ace_outer->perms |= curr_ace->perms;
769 curr_ace->perms &= ~curr_ace_outer->perms;
3393 mode_t perms; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/
H A Dcatalog.c70 void hfsplus_cat_set_perms(struct inode *inode, struct hfsplus_perm *perms) argument
73 perms->rootflags |= HFSPLUS_FLG_IMMUTABLE;
75 perms->rootflags &= ~HFSPLUS_FLG_IMMUTABLE;
77 perms->rootflags |= HFSPLUS_FLG_APPEND;
79 perms->rootflags &= ~HFSPLUS_FLG_APPEND;
81 perms->userflags = HFSPLUS_I(inode).userflags;
82 perms->mode = cpu_to_be16(inode->i_mode);
83 perms->owner = cpu_to_be32(inode->i_uid);
84 perms->group = cpu_to_be32(inode->i_gid);
87 perms
[all...]
H A Dinode.c364 static void hfsplus_get_perms(struct inode *inode, struct hfsplus_perm *perms, int dir) argument
369 mode = be16_to_cpu(perms->mode);
371 inode->i_uid = be32_to_cpu(perms->owner);
375 inode->i_gid = be32_to_cpu(perms->group);
388 HFSPLUS_I(inode).userflags = perms->userflags;
389 if (perms->rootflags & HFSPLUS_FLG_IMMUTABLE)
393 if (perms->rootflags & HFSPLUS_FLG_APPEND)
399 static void hfsplus_set_perms(struct inode *inode, struct hfsplus_perm *perms) argument
402 perms->rootflags |= HFSPLUS_FLG_IMMUTABLE;
404 perms
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus/
H A Dinode.c212 static void hfsplus_get_perms(struct inode *inode, struct hfsplus_perm *perms, int dir) argument
217 mode = be16_to_cpu(perms->mode);
219 inode->i_uid = be32_to_cpu(perms->owner);
223 inode->i_gid = be32_to_cpu(perms->group);
236 HFSPLUS_I(inode).rootflags = perms->rootflags;
237 HFSPLUS_I(inode).userflags = perms->userflags;
238 if (perms->rootflags & HFSPLUS_FLG_IMMUTABLE)
242 if (perms->rootflags & HFSPLUS_FLG_APPEND)
248 static void hfsplus_set_perms(struct inode *inode, struct hfsplus_perm *perms) argument
251 perms
[all...]

Completed in 386 milliseconds

1234