Searched refs:policy_str (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/tools/testing/selftests/safesetid/ |
D | safesetid-test.c | 185 static char *policy_str = UGID_POLICY_STRING; in write_uid_policies() local 192 written = write(fd, policy_str, strlen(policy_str)); in write_uid_policies() 193 if (written != strlen(policy_str)) { in write_uid_policies() 209 static char *policy_str = UGID_POLICY_STRING; in write_gid_policies() local 216 written = write(fd, policy_str, strlen(policy_str)); in write_gid_policies() 217 if (written != strlen(policy_str)) { in write_gid_policies()
|
/Linux-v6.6/security/safesetid/ |
D | securityfs.c | 80 kfree(pol->policy_str); in __release_ruleset() 149 pol->policy_str = NULL; in handle_policy_update() 158 pol->policy_str = kstrdup(buf, GFP_KERNEL); in handle_policy_update() 159 if (pol->policy_str == NULL) { in handle_policy_update() 273 kbuf = pol->policy_str; in safesetid_file_read()
|
D | lsm.h | 60 char *policy_str; member
|
/Linux-v6.6/drivers/pci/pcie/ |
D | aspm.c | 86 static const char *policy_str[] = { variable 1166 i = sysfs_match_string(policy_str, val); in pcie_aspm_set_policy() 1187 for (i = 0; i < ARRAY_SIZE(policy_str); i++) in pcie_aspm_get_policy() 1189 cnt += sprintf(buffer + cnt, "[%s] ", policy_str[i]); in pcie_aspm_get_policy() 1191 cnt += sprintf(buffer + cnt, "%s ", policy_str[i]); in pcie_aspm_get_policy()
|