Lines Matching refs:die

30 static void die(char *fmt, ...)  in die()  function
50 die("vsnprintf failed: %s\n", strerror(errno)); in vmaybe_write_file()
53 die("vsnprintf output truncated\n"); in vmaybe_write_file()
59 die("open of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file()
65 die("short write to %s\n", filename); in vmaybe_write_file()
67 die("write to %s failed: %s\n", in vmaybe_write_file()
73 die("close of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file()
100 die("unshare(CLONE_NEWUSER) failed: %s\n", strerror(errno)); in create_and_enter_ns()
107 die("setgid(0) failed %s\n", strerror(errno)); in create_and_enter_ns()
109 die("setuid(0) failed %s\n", strerror(errno)); in create_and_enter_ns()
112 die("unshare(CLONE_NEWNS) failed: %s\n", strerror(errno)); in create_and_enter_ns()
121 die("creat failed: %s\n", strerror(errno)); in setup_symlink()
125 die("symlink failed: %s\n", strerror(errno)); in setup_symlink()
128 die("close of %s failed: %s\n", DATA, strerror(errno)); in setup_symlink()
138 die("link traversal unexpected result: %d, %s\n", in test_link_traversal()
143 die("link traversal failed: %s\n", strerror(errno)); in test_link_traversal()
146 die("close of link failed: %s\n", strerror(errno)); in test_link_traversal()
159 die("readlink failed: %s\n", strerror(errno)); in test_readlink()
161 die("readlink strcmp failed: '%s' '%s'\n", buf, DATA); in test_readlink()
169 die("realpath failed: %s\n", strerror(errno)); in test_realpath()
171 die("realpath strcmp failed\n"); in test_realpath()
183 die("statfs failed: %s\n", strerror(errno)); in test_statfs()
187 die("ST_NOSYMFOLLOW not set on %s\n", TMP); in test_statfs()
190 die("ST_NOSYMFOLLOW set on %s\n", TMP); in test_statfs()
207 die("mount failed: %s\n", strerror(errno)); in main()
213 die("remount failed: %s\n", strerror(errno)); in main()