Home
last modified time | relevance | path

Searched refs:m (Results 1 – 15 of 15) sorted by relevance

/security/integrity/ima/
Dima_fs.c66 static void *ima_measurements_start(struct seq_file *m, loff_t *pos) in ima_measurements_start() argument
83 static void *ima_measurements_next(struct seq_file *m, void *v, loff_t *pos) in ima_measurements_next() argument
99 static void ima_measurements_stop(struct seq_file *m, void *v) in ima_measurements_stop() argument
103 static void ima_putc(struct seq_file *m, void *data, int datalen) in ima_putc() argument
106 seq_putc(m, *(char *)data++); in ima_putc()
116 static int ima_measurements_show(struct seq_file *m, void *v) in ima_measurements_show() argument
134 ima_putc(m, &pcr, sizeof pcr); in ima_measurements_show()
137 ima_putc(m, e->digest, IMA_DIGEST_SIZE); in ima_measurements_show()
141 ima_putc(m, &namelen, sizeof namelen); in ima_measurements_show()
144 ima_putc(m, (void *)e->template_name, namelen); in ima_measurements_show()
[all …]
Dima.h108 void ima_template_show(struct seq_file *m, void *e, enum ima_show_type show);
/security/apparmor/
Dfile.c34 char *m = str; in audit_file_mask() local
37 *m++ = 'm'; in audit_file_mask()
39 *m++ = 'r'; in audit_file_mask()
42 *m++ = 'w'; in audit_file_mask()
44 *m++ = 'a'; in audit_file_mask()
46 *m++ = 'c'; in audit_file_mask()
48 *m++ = 'd'; in audit_file_mask()
50 *m++ = 'l'; in audit_file_mask()
52 *m++ = 'k'; in audit_file_mask()
54 *m++ = 'x'; in audit_file_mask()
[all …]
/security/keys/
Dproc.c26 static int proc_keys_show(struct seq_file *m, void *v);
47 static int proc_key_users_show(struct seq_file *m, void *v);
183 static int proc_keys_show(struct seq_file *m, void *v) in proc_keys_show() argument
245 seq_printf(m, "%08x %c%c%c%c%c%c %5d %4s %08x %5d %5d %-9.9s ", in proc_keys_show()
263 key->type->describe(key, m); in proc_keys_show()
264 seq_putc(m, '\n'); in proc_keys_show()
332 static int proc_key_users_show(struct seq_file *m, void *v) in proc_key_users_show() argument
341 seq_printf(m, "%5u: %5d %d/%d %d/%d %d/%d\n", in proc_key_users_show()
Duser_defined.c178 void user_describe(const struct key *key, struct seq_file *m) in user_describe() argument
180 seq_puts(m, key->description); in user_describe()
182 seq_printf(m, ": %u", key->datalen); in user_describe()
Drequest_key_auth.c56 struct seq_file *m) in request_key_auth_describe() argument
60 seq_puts(m, "key:"); in request_key_auth_describe()
61 seq_puts(m, key->description); in request_key_auth_describe()
63 seq_printf(m, " pid:%d ci:%zu", rka->pid, rka->callout_len); in request_key_auth_describe()
Dkeyring.c64 static void keyring_describe(const struct key *keyring, struct seq_file *m);
169 static void keyring_describe(const struct key *keyring, struct seq_file *m) in keyring_describe() argument
174 seq_puts(m, keyring->description); in keyring_describe()
176 seq_puts(m, "[anon]"); in keyring_describe()
182 seq_printf(m, ": %u/%u", klist->nkeys, klist->maxkeys); in keyring_describe()
184 seq_puts(m, ": empty"); in keyring_describe()
/security/smack/
Dsmackfs.c613 unsigned char m; in cipso_seq_show() local
622 for (m = 0x80; m != 0; m >>= 1) { in cipso_seq_show()
623 if (m & cbp[i]) { in cipso_seq_show()
844 struct smk_netlbladdr *m, *m_next; in smk_netlbladdr_insert() local
851 m = list_entry_rcu(smk_netlbladdr_list.next, in smk_netlbladdr_insert()
855 if (new->smk_mask.s_addr > m->smk_mask.s_addr) { in smk_netlbladdr_insert()
860 list_for_each_entry_rcu(m, &smk_netlbladdr_list, list) { in smk_netlbladdr_insert()
861 if (list_is_last(&m->list, &smk_netlbladdr_list)) { in smk_netlbladdr_insert()
862 list_add_rcu(&new->list, &m->list); in smk_netlbladdr_insert()
865 m_next = list_entry_rcu(m->list.next, in smk_netlbladdr_insert()
[all …]
Dsmack.h377 struct vfsmount *m) in smk_ad_setfield_u_fs_path_mnt() argument
Dsmack_lsm.c1832 unsigned char m; in smack_set_catset() local
1845 for (m = 0x80; m != 0; m >>= 1, cat++) { in smack_set_catset()
1846 if ((m & *cp) == 0) in smack_set_catset()
/security/tomoyo/
Dutil.c97 u8 m; in tomoyo_convert_time() local
112 for (m = 0; m < 11 && time >= tomoyo_eom[r][m]; m++) in tomoyo_convert_time()
114 if (m) in tomoyo_convert_time()
115 time -= tomoyo_eom[r][m - 1]; in tomoyo_convert_time()
117 stamp->month = ++m; in tomoyo_convert_time()
/security/
Ddevice_cgroup.c240 static void set_majmin(char *str, unsigned m) in set_majmin() argument
242 if (m == ~0) in set_majmin()
245 sprintf(str, "%u", m); in set_majmin()
249 struct seq_file *m) in devcgroup_seq_read() argument
260 seq_printf(m, "%c %s:%s %s\n", type_to_char(wh->type), in devcgroup_seq_read()
Dsecurity.c273 int security_sb_show_options(struct seq_file *m, struct super_block *sb) in security_sb_show_options() argument
275 return security_ops->sb_show_options(m, sb); in security_sb_show_options()
Dcapability.c87 static int cap_sb_show_options(struct seq_file *m, struct super_block *sb) in cap_sb_show_options() argument
/security/selinux/
Dhooks.c982 static void selinux_write_opts(struct seq_file *m, in selinux_write_opts() argument
1010 seq_putc(m, ','); in selinux_write_opts()
1011 seq_puts(m, LABELSUPP_STR); in selinux_write_opts()
1018 seq_putc(m, ','); in selinux_write_opts()
1019 seq_puts(m, prefix); in selinux_write_opts()
1021 seq_putc(m, '\"'); in selinux_write_opts()
1022 seq_puts(m, opts->mnt_opts[i]); in selinux_write_opts()
1024 seq_putc(m, '\"'); in selinux_write_opts()
1028 static int selinux_sb_show_options(struct seq_file *m, struct super_block *sb) in selinux_sb_show_options() argument
1041 selinux_write_opts(m, &opts); in selinux_sb_show_options()