Home
last modified time | relevance | path

Searched refs:resolve (Results 1 - 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
H A Dresolve_test.c139 .path = "/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
142 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
145 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
148 .path = "..", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
151 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
154 .path = "cheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
157 .path = "abscheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
160 .path = "cheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
163 .path = "abscheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
167 .path = "root", .how.resolve in test_openat2_opath_tests()
[all...]
H A Drename_attack_test.c73 const char *flagname(int resolve) in flagname() argument
75 switch (resolve) { in flagname()
84 void test_rename_attack(int resolve) in test_rename_attack() argument
93 .resolve = resolve, in test_rename_attack()
97 how.resolve = 0; in test_rename_attack()
140 flagname(resolve), ROUNDS, escapes); in test_rename_attack()
H A Dopenat2_test.c213 /* ->resolve must only contain RESOLVE_* flags. */ in test_openat2_flags()
214 { .name = "invalid how.resolve and O_RDONLY", in test_openat2_flags()
216 .how.resolve = 0x1337, .err = -EINVAL }, in test_openat2_flags()
217 { .name = "invalid how.resolve and O_CREAT", in test_openat2_flags()
219 .how.resolve = 0x1337, .err = -EINVAL }, in test_openat2_flags()
220 { .name = "invalid how.resolve and O_TMPFILE", in test_openat2_flags()
222 .how.resolve = 0x1337, .err = -EINVAL }, in test_openat2_flags()
223 { .name = "invalid how.resolve and O_PATH", in test_openat2_flags()
225 .how.resolve = 0x1337, .err = -EINVAL }, in test_openat2_flags()
H A Dhelpers.h28 * Arguments for how openat2(2) should open the target path. If @resolve is
37 * @resolve: RESOLVE_* flags.
42 __u64 resolve; member
51 /* how->resolve flags for openat2(2). */
H A Dhelpers.c19 return how->resolve != 0; in needs_openat2()
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/
H A Dresolve_test.c139 .path = "/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
142 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
145 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
148 .path = "..", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
151 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
154 .path = "cheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
157 .path = "abscheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
160 .path = "cheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
163 .path = "abscheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
167 .path = "root", .how.resolve in test_openat2_opath_tests()
[all...]
H A Drename_attack_test.c73 const char *flagname(int resolve) in flagname() argument
75 switch (resolve) { in flagname()
84 void test_rename_attack(int resolve) in test_rename_attack() argument
93 .resolve = resolve, in test_rename_attack()
97 how.resolve = 0; in test_rename_attack()
140 flagname(resolve), ROUNDS, escapes); in test_rename_attack()
H A Dopenat2_test.c217 /* ->resolve flags must not conflict. */ in test_openat2_flags()
218 { .name = "incompatible resolve flags (BENEATH | IN_ROOT)", in test_openat2_flags()
220 .how.resolve = RESOLVE_BENEATH | RESOLVE_IN_ROOT, in test_openat2_flags()
223 /* ->resolve must only contain RESOLVE_* flags. */ in test_openat2_flags()
224 { .name = "invalid how.resolve and O_RDONLY", in test_openat2_flags()
226 .how.resolve = 0x1337, .err = -EINVAL }, in test_openat2_flags()
227 { .name = "invalid how.resolve and O_CREAT", in test_openat2_flags()
229 .how.resolve = 0x1337, .err = -EINVAL }, in test_openat2_flags()
230 { .name = "invalid how.resolve and O_TMPFILE", in test_openat2_flags()
232 .how.resolve in test_openat2_flags()
[all...]
H A Dhelpers.h28 * Arguments for how openat2(2) should open the target path. If @resolve is
37 * @resolve: RESOLVE_* flags.
42 __u64 resolve; member
51 /* how->resolve flags for openat2(2). */
H A Dhelpers.c19 return how->resolve != 0; in needs_openat2()
/kernel/linux/linux-5.10/kernel/locking/
H A Dtest-ww_mutex.c153 bool resolve; member
170 if (abba->resolve && err == -EDEADLK) { in test_abba_work()
184 static int test_abba(bool resolve) in test_abba() argument
195 abba.resolve = resolve; in test_abba()
206 if (resolve && err == -EDEADLK) { in test_abba()
221 if (resolve) { in test_abba()
223 pr_err("%s: failed to resolve ABBA deadlock, A err=%d, B err=%d\n", in test_abba()
/kernel/linux/linux-6.6/kernel/locking/
H A Dtest-ww_mutex.c182 bool resolve, trylock; member
204 if (abba->resolve && err == -EDEADLK) { in test_abba_work()
218 static int test_abba(bool trylock, bool resolve) in test_abba() argument
230 abba.resolve = resolve; in test_abba()
246 if (resolve && err == -EDEADLK) { in test_abba()
261 if (resolve) { in test_abba()
263 pr_err("%s: failed to resolve ABBA deadlock, A err=%d, B err=%d\n", in test_abba()
/kernel/linux/linux-6.6/tools/net/ynl/lib/
H A Dnlspec.py20 to maintain correct ordering of instantiation is painful, so the resolve()
53 up.resolve()
56 def resolve(self): member in SpecElement
305 # Added by resolve:
309 def resolve(self): member in SpecOperation
320 raise Exception(f"Can't resolve attribute set for op '{self.name}'")
418 elem.resolve()
510 def resolve(self): member in SpecFamily
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dopenat2.h17 * @resolve: RESOLVE_* flags.
22 __u64 resolve; member
25 /* how->resolve flags for openat2(2). */
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dopenat2.h17 * @resolve: RESOLVE_* flags.
22 __u64 resolve; member
25 /* how->resolve flags for openat2(2). */
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dopenat2.h17 * @resolve: RESOLVE_* flags.
22 __u64 resolve; member
25 /* how->resolve flags for openat2(2). */
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dopenat2.h25 __u64 resolve; member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dopenat2.h17 * @resolve: RESOLVE_* flags.
22 __u64 resolve; member
25 /* how->resolve flags for openat2(2). */
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dopenat2.h25 __u64 resolve; member
/kernel/linux/linux-5.10/fs/
H A Dopen.c1018 if (how->resolve & ~VALID_RESOLVE_FLAGS) in build_open_flags()
1022 if ((how->resolve & RESOLVE_BENEATH) && (how->resolve & RESOLVE_IN_ROOT)) in build_open_flags()
1092 if (how->resolve & RESOLVE_NO_XDEV) in build_open_flags()
1094 if (how->resolve & RESOLVE_NO_MAGICLINKS) in build_open_flags()
1096 if (how->resolve & RESOLVE_NO_SYMLINKS) in build_open_flags()
1098 if (how->resolve & RESOLVE_BENEATH) in build_open_flags()
1100 if (how->resolve & RESOLVE_IN_ROOT) in build_open_flags()
1102 if (how->resolve & RESOLVE_CACHED) { in build_open_flags()
/kernel/linux/linux-6.6/fs/
H A Dopen.c1243 if (how->resolve & ~VALID_RESOLVE_FLAGS) in build_open_flags()
1247 if ((how->resolve & RESOLVE_BENEATH) && (how->resolve & RESOLVE_IN_ROOT)) in build_open_flags()
1325 if (how->resolve & RESOLVE_NO_XDEV) in build_open_flags()
1327 if (how->resolve & RESOLVE_NO_MAGICLINKS) in build_open_flags()
1329 if (how->resolve & RESOLVE_NO_SYMLINKS) in build_open_flags()
1331 if (how->resolve & RESOLVE_BENEATH) in build_open_flags()
1333 if (how->resolve & RESOLVE_IN_ROOT) in build_open_flags()
1335 if (how->resolve & RESOLVE_CACHED) { in build_open_flags()
/kernel/linux/linux-5.10/net/atm/
H A Dlec.h46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force, member
/kernel/linux/linux-6.6/net/atm/
H A Dlec.h46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force, member
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dphylink.c72 struct work_struct resolve; member
643 struct phylink *pl = container_of(w, struct phylink, resolve); in phylink_resolve()
680 * re-trigger the resolve. Otherwise, re-read the in phylink_resolve()
700 * down, and re-resolve. in phylink_resolve()
750 queue_work(system_power_efficient_wq, &pl->resolve); in phylink_resolve()
758 queue_work(system_power_efficient_wq, &pl->resolve); in phylink_run_resolve()
767 queue_work(system_power_efficient_wq, &pl->resolve); in phylink_run_resolve_and_disable()
768 flush_work(&pl->resolve); in phylink_run_resolve_and_disable()
836 INIT_WORK(&pl->resolve, phylink_resolve); in phylink_create()
930 cancel_work_sync(&pl->resolve); in phylink_destroy()
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dgenerate_rust_analyzer.py94 crates[-1]["env"]["OBJTREE"] = str(objtree.resolve(True))

Completed in 17 milliseconds

12