Home
last modified time | relevance | path

Searched refs:mknod (Results 1 – 25 of 178) sorted by relevance

12345678

/external/ltp/testcases/kernel/syscalls/getxattr/
Dgetxattr02.c139 if (mknod(FIFO, S_IFIFO | 0777, 0) == -1) in setup()
144 if (mknod(CHR, S_IFCHR | 0777, dev) == -1) in setup()
148 if (mknod(BLK, S_IFBLK | 0777, 0) == -1) in setup()
152 if (mknod(SOCK, S_IFSOCK | 0777, 0) == -1) in setup()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_file_test.c240 show_result(mknod(filename, S_IFIFO | 0644, 0), 1); in stage_file_test()
243 show_result(mknod(filename, S_IFIFO | 0644, 0), 0); in stage_file_test()
405 show_result(mknod(filename, S_IFREG | 0644, 0), 1); in stage_file_test()
408 show_result(mknod(filename, S_IFREG | 0644, 0), 0); in stage_file_test()
413 show_result(mknod(filename, S_IFCHR | 0644, MKDEV(1, 3)), 1); in stage_file_test()
416 show_result(mknod(filename, S_IFCHR | 0644, MKDEV(1, 3)), 0); in stage_file_test()
421 show_result(mknod(filename, S_IFBLK | 0644, MKDEV(1, 0)), 1); in stage_file_test()
424 show_result(mknod(filename, S_IFBLK | 0644, MKDEV(1, 0)), 0); in stage_file_test()
429 show_result(mknod(filename, S_IFIFO | 0644, 0), 1); in stage_file_test()
432 show_result(mknod(filename, S_IFIFO | 0644, 0), 0); in stage_file_test()
[all …]
Dtomoyo_file_test.c148 show_result(mknod(mknod_reg_path, S_IFREG, 0)); in stage_file_test()
151 show_result(mknod(mknod_chr_path, S_IFCHR, MKDEV(1, 3))); in stage_file_test()
154 show_result(mknod(mknod_blk_path, S_IFBLK, MKDEV(1, 0))); in stage_file_test()
157 show_result(mknod(mknod_fifo_path, S_IFIFO, 0)); in stage_file_test()
160 show_result(mknod(mknod_sock_path, S_IFSOCK, 0)); in stage_file_test()
/external/rootdev/
Drootdev_test.sh99 mknod $dev/sda1 b 10 1
100 mknod $dev/sda2 b 10 2
101 mknod $dev/sda b 10 0
160 mknod $dev/dm-0 b 254 0
244 mknod $dev/mmcblk0 b 11 0
245 mknod $dev/mmcblk0p1 b 11 1
246 mknod $dev/mmcblk0p2 b 11 2
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod06.c146 TEST(mknod(node_name, MODE_RWX, 0)); in main()
242 if (mknod("tnode_1", MODE_RWX, 0) < 0) { in setup1()
260 if (mknod("tnode", MODE_RWX, 0) < 0) { in setup3()
Dmknod09.c101 TEST(mknod(TNODE, MODE_RWX, 0)); in main()
/external/toybox/scripts/
Druntest.sh194 mknod tmpdir4chroot/dev/tty c 5 0
195 mknod tmpdir4chroot/dev/null c 1 3
196 mknod tmpdir4chroot/dev/zero c 1 5
/external/ltp/testcases/kernel/device-drivers/nls/
DuserBlockNLS.c120 rc = mknod(DEVICE_NAME, in open_block_device()
140 rc = mknod(DEVICE_NAME, in open_block_device()
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Duser_tmod.c91 rc = mknod(DEVICE_NAME, in tmodopen()
110 rc = mknod(DEVICE_NAME, in tmodopen()
/external/ltp/testcases/kernel/device-drivers/include/
DuserBlockInclude.c120 rc = mknod(DEVICE_NAME, in open_block_device()
140 rc = mknod(DEVICE_NAME, in open_block_device()
/external/e2fsprogs/tests/d_special_files/
Dscript30 mknod pipe p
31 mknod sda b 8 0
32 mknod null c 1 3
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/
Duser_tusb.c72 rc = mknod(DEVICE_NAME, in tusbopen()
91 rc = mknod(DEVICE_NAME, in tusbopen()
/external/toybox/tests/
Dtar.test104 skipnot mknod dir/char c 12 34
110 skipnot mknod dir/block b 56 78
/external/ltp/testcases/kernel/device-drivers/base/user_base/
Duser_tbase.c87 rc = mknod("/dev/tbase", in tbaseopen()
106 rc = mknod("/dev/tbase", in tbaseopen()
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
Duser_tagp.c87 rc = mknod(DEVICE_NAME, in tagpopen()
106 rc = mknod(DEVICE_NAME, in tagpopen()
/external/linux-kselftest/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt58 [ -e /dev/console ] || mknod --mode=600 /dev/console c 5 1
59 [ -e /dev/kmsg ] || mknod --mode=644 /dev/kmsg c 1 11
60 [ -e /dev/null ] || mknod --mode=666 /dev/null c 1 3
/external/adhd/cras/src/tests/
Dfile_wait_unittest.cc81 EXPECT_EQ(0, mknod(file_path, S_IFREG | 0600, 0)); in SimpleFileWait()
189 EXPECT_EQ(0, mknod(file_path.c_str(), S_IFREG | 0600, 0)); in TEST()
211 EXPECT_EQ(0, mknod(file_path.c_str(), S_IFREG | 0600, 0)); in TEST()
/external/ltp/testcases/kernel/device-drivers/base/tbase/
Dload_tbase.sh5 mknod /dev/tbase c $major 0
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
Dload_tmod.sh5 mknod /dev/tmod c $major 0
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dload_tagp.sh5 mknod /dev/tagp c $major 0
/external/ltp/testcases/kernel/device-drivers/drm/kernel_space/
Dload_tdrm.sh7 mknod /dev/tdrm c $major $minor
/external/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c85 rc = mknod(DEVICE_NAME, in tdrmopen()
104 rc = mknod(DEVICE_NAME, in tdrmopen()
/external/toybox/toys/posix/
Dmkfifo.c49 if (mknod(*s, S_IFIFO | TT.mode, 0) < 0) perror_msg_raw(*s);
/external/strace/
Dmknod.c59 SYS_FUNC(mknod) in SYS_FUNC() argument
/external/ltp/testcases/kernel/syscalls/open/
Dopen06.c81 if (mknod(fname, S_IFIFO | 0644, 0) == -1) in setup()

12345678