Home
last modified time | relevance | path

Searched refs:policy_update (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/security/apparmor/
H A Dapparmorfs.c411 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update() function
444 int error = policy_update(AA_MAY_LOAD_POLICY, buf, size, pos, ns); in profile_load()
461 int error = policy_update(AA_MAY_LOAD_POLICY | AA_MAY_REPLACE_POLICY, in profile_replace()
/kernel/linux/linux-6.6/security/apparmor/
H A Dapparmorfs.c414 static ssize_t policy_update(u32 mask, const char __user *buf, size_t size, in policy_update() function
447 int error = policy_update(AA_MAY_LOAD_POLICY, buf, size, pos, ns); in profile_load()
464 int error = policy_update(AA_MAY_LOAD_POLICY | AA_MAY_REPLACE_POLICY, in profile_replace()

Completed in 7 milliseconds