Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c294 static void change_userns(struct __test_metadata *_metadata, int syncfds[2]) in change_userns()
299 close_prot_errno_disarm(syncfds[1]); in change_userns()
307 ret = write_nointr(syncfds[0], "1", 1); in change_userns()
312 ret = read_nointr(syncfds[0], &buf, 1); in change_userns()
317 close_prot_errno_disarm(syncfds[0]); in change_userns()
324 static void change_idmaps(struct __test_metadata *_metadata, int syncfds[2], pid_t pid) in change_idmaps()
330 close_prot_errno_disarm(syncfds[0]); in change_idmaps()
332 ret = read_nointr(syncfds[1], &buf, 1); in change_idmaps()
349 ret = write_nointr(syncfds[1], "1", 1); in change_idmaps()
354 close_prot_errno_disarm(syncfds[1]); in change_idmaps()
[all …]