Searched refs:aa_g_path_max (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | path.c | 95 int buflen = aa_g_path_max - isdir; in d_namespace_path() 172 strcpy(&buf[aa_g_path_max - 2], "/"); in d_namespace_path()
|
H A D | lsm.c | 1364 unsigned int aa_g_path_max = 2 * PATH_MAX; variable 1365 module_param_named(path_max, aa_g_path_max, aauint, S_IRUSR); 1445 aa_g_path_max = max_t(uint32_t, aa_g_path_max, sizeof(union aa_buffer)); in param_set_aauint() 1446 pr_info("AppArmor: buffer size set to %d bytes\n", aa_g_path_max); in param_set_aauint() 1618 aa_buf = kmalloc(aa_g_path_max, flags); in aa_get_buffer() 1689 * disabled early at boot if aa_g_path_max is extremly high. in alloc_buffers() 1698 aa_buf = kmalloc(aa_g_path_max, GFP_KERNEL | in alloc_buffers()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | path.c | 95 int buflen = aa_g_path_max - isdir; in d_namespace_path() 172 strcpy(&buf[aa_g_path_max - 2], "/"); in d_namespace_path()
|
H A D | lsm.c | 1445 unsigned int aa_g_path_max = 2 * PATH_MAX; variable 1446 module_param_named(path_max, aa_g_path_max, aauint, S_IRUSR); 1526 aa_g_path_max = max_t(uint32_t, aa_g_path_max, sizeof(union aa_buffer)); in param_set_aauint() 1527 pr_info("AppArmor: buffer size set to %d bytes\n", aa_g_path_max); in param_set_aauint() 1698 aa_buf = kmalloc(aa_g_path_max, flags); in aa_get_buffer() 1769 * disabled early at boot if aa_g_path_max is extremly high. in alloc_buffers() 1778 aa_buf = kmalloc(aa_g_path_max, GFP_KERNEL | in alloc_buffers()
|
/kernel/linux/linux-5.10/security/apparmor/include/ |
H A D | apparmor.h | 43 extern unsigned int aa_g_path_max;
|
/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | apparmor.h | 52 extern unsigned int aa_g_path_max;
|
Completed in 7 milliseconds