Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/controllers/cgroup_xattr/
Dcgroup_xattr.c66 static struct tst_key tkeys[] = { variable
158 for (i = 0; i < ARRAY_SIZE(tkeys); ++i) { in setup()
159 if (!strcmp(tkeys[i].name, "security.")) { in setup()
160 tkeys[i].good = tst_kvercmp(3, 15, 0) < 0; in setup()
161 } else if (!strcmp(tkeys[i].name, "trusted.")) { in setup()
162 tkeys[i].good = tst_kvercmp(4, 5, 0) < 0; in setup()
333 for (i = 0; i < ARRAY_SIZE(tkeys); ++i) { in set_xattrs()
334 err = setxattr(file, tkeys[i].name, in set_xattrs()
337 fail = err && tkeys[i].good; in set_xattrs()
342 (tkeys[i].good) ? "can" : "can't", in set_xattrs()
[all …]