Home
last modified time | relevance | path

Searched refs:policy_str (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c185 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/security/safesetid/
H A Dsecurityfs.c80 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()
H A Dlsm.h60 char *policy_str; member