Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 24 of 24) sorted by relevance

/security/tomoyo/
Drealpath.c92 static char *tomoyo_get_absolute_path(struct path *path, char * const buffer, in tomoyo_get_absolute_path()
121 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, in tomoyo_get_dentry_path()
147 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, in tomoyo_get_local_path()
219 static char *tomoyo_get_socket_name(struct path *path, char * const buffer, in tomoyo_get_socket_name()
Daudit.c25 char *buffer = kzalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_bprm() local
153 char *buffer = kmalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_header() local
Dutil.c236 void tomoyo_print_ulong(char *buffer, const int buffer_len, in tomoyo_print_ulong()
414 void tomoyo_normalize_line(unsigned char *buffer) in tomoyo_normalize_line()
571 bool tomoyo_domain_def(const unsigned char *buffer) in tomoyo_domain_def()
Dcommon.c195 static void tomoyo_addprintf(char *buffer, int len, const char *fmt, ...) in tomoyo_addprintf()
434 char buffer[128]; in tomoyo_print_number_union_nospace() local
1783 char buffer[128]; in tomoyo_read_group() local
1950 char *buffer; in tomoyo_add_entry() local
2525 ssize_t tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer, in tomoyo_read_control()
2598 const char __user *buffer, const int buffer_len) in tomoyo_write_control()
Dnetwork.c89 static void tomoyo_print_ipv4(char *buffer, const unsigned int buffer_len, in tomoyo_print_ipv4()
106 static void tomoyo_print_ipv6(char *buffer, const unsigned int buffer_len, in tomoyo_print_ipv6()
Dfile.c215 char buffer[64]; in tomoyo_audit_path_number_log() local
/security/apparmor/
Dpath.c30 static int prepend(char **buffer, int buflen, const char *str, int namelen) in prepend()
159 static int get_name_to_buffer(struct path *path, int flags, char *buffer, in get_name_to_buffer()
205 int aa_path_name(struct path *path, int flags, char **buffer, const char **name, in aa_path_name()
Dlib.c88 void *buffer = NULL; in kvmalloc() local
126 void kvfree(void *buffer) in kvfree()
Dfile.c279 char *buffer = NULL; in aa_path_perm() local
355 char *buffer = NULL, *buffer2 = NULL; in aa_path_link() local
Dlsm.c776 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp) in param_get_aalockpolicy()
790 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool()
804 static int param_get_aauint(char *buffer, const struct kernel_param *kp) in param_get_aauint()
811 static int param_get_audit(char *buffer, struct kernel_param *kp) in param_get_audit()
844 static int param_get_mode(char *buffer, struct kernel_param *kp) in param_get_mode()
Ddomain.c348 char *buffer = NULL; in apparmor_bprm_set_creds() local
/security/keys/
Dtrusted.h16 #define LOAD32(buffer, offset) (ntohl(*(uint32_t *)&buffer[offset])) argument
17 #define LOAD32N(buffer, offset) (*(uint32_t *)&buffer[offset]) argument
18 #define LOAD16(buffer, offset) (ntohs(*(uint16_t *)&buffer[offset])) argument
Dkeyctl.c501 char __user *buffer, in keyctl_describe_key()
672 long keyctl_read_key(key_serial_t keyid, char __user *buffer, size_t buflen) in keyctl_read_key()
938 static long copy_from_user_iovec(void *buffer, const struct iovec *iov, in copy_from_user_iovec()
1361 char __user *buffer, in keyctl_get_security()
Duser_defined.c191 long user_read(const struct key *key, char __user *buffer, size_t buflen) in user_read()
Drequest_key_auth.c71 char __user *buffer, size_t buflen) in request_key_auth_read()
Dtrusted.c174 static int TSS_checkhmac1(unsigned char *buffer, in TSS_checkhmac1()
255 static int TSS_checkhmac2(unsigned char *buffer, in TSS_checkhmac2()
1082 static long trusted_read(const struct key *key, char __user *buffer, in trusted_read()
Dkeyring.c195 char __user *buffer, size_t buflen) in keyring_read()
/security/
Dmin_addr.c32 void __user *buffer, size_t *lenp, loff_t *ppos) in mmap_min_addr_handler()
Ddevice_cgroup.c329 int filetype, const char *buffer) in devcgroup_update_access()
423 const char *buffer) in devcgroup_access_write()
Dcapability.c235 void **buffer, bool alloc) in cap_inode_getsecurity()
246 static int cap_inode_listsecurity(struct inode *inode, char *buffer, in cap_inode_listsecurity()
Dsecurity.c628 int security_inode_getsecurity(const struct inode *inode, const char *name, void **buffer, bool all… in security_inode_getsecurity()
642 int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) in security_inode_listsecurity()
/security/keys/encrypted-keys/
Dencrypted.c892 static long encrypted_read(const struct key *key, char __user *buffer, in encrypted_read()
/security/smack/
Dsmack_lsm.c953 const char *name, void **buffer, in smack_inode_getsecurity()
1009 static int smack_inode_listsecurity(struct inode *inode, char *buffer, in smack_inode_listsecurity()
/security/selinux/
Dhooks.c1155 char *buffer, *path; in selinux_genfs_get_sid() local
2977 static int selinux_inode_getsecurity(const struct inode *inode, const char *name, void **buffer, bo… in selinux_inode_getsecurity()
3037 static int selinux_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) in selinux_inode_listsecurity()