Lines Matching full:relative
28 // "strict relative" rules:
30 // 1. Use strict relative lookups in capability mode or when operating
31 // relative to a capability.
32 // 2. When performing strict relative lookups, absolute paths (including
40 FORK_TEST(Openat, Relative) { in FORK_TEST() argument
77 // Lookups relative to capabilities should be strictly relative. in FORK_TEST()
86 // Relative lookups that go upward are not allowed. in FORK_TEST()
90 // A file opened relative to a capability should itself be a capability. in FORK_TEST()
112 // Enter capability mode; now ALL lookups are strictly relative. in FORK_TEST()
115 // Relative lookups on regular files or capabilities with CAP_LOOKUP in FORK_TEST()
121 // Lookup relative to capabilities without CAP_LOOKUP should fail. in FORK_TEST()
137 // A file opened relative to a capability should itself be a capability. in FORK_TEST()
311 // Any kind of symlink can be opened relative to an ordinary directory FD. in TEST_F()