Home
last modified time | relevance | path

Searched refs:perror_msg (Results 1 – 25 of 82) sorted by relevance

1234

/external/toybox/toys/other/
Dswitch_root.c82 perror_msg("bad console '%s'", TT.c); in switch_root_main()
91 perror_msg("mount"); in switch_root_main()
97 perror_msg("chroot"); in switch_root_main()
103 perror_msg("chdir"); in switch_root_main()
113 perror_msg("Failed to exec '%s'", *cmdline); in switch_root_main()
Dmakedevs.c94 perror_msg("can't create directory '%s'", ptr);
99 perror_msg("line %d: file '%s' does not exist", line_no, ptr);
103 perror_msg("line %d: can't create node '%s'", line_no, ptr);
108 perror_msg("line %d: can't chown/chmod '%s'", line_no, ptr);
Dlsattr.c165 if (ext2_getflag(fd, &sb, &flag) < 0) perror_msg("reading flags '%s'", path); in print_file_attr()
187 LABEL1: perror_msg("reading '%s'", path); in print_file_attr()
223 if (lstat(*toys.optargs, &sb)) perror_msg("stat '%s'", *toys.optargs); in lsattr_main()
309 perror_msg("read flags of '%s'", fpath); in update_attr()
324 perror_msg("%s: setting flags to =%s failed", fpath, attrstr(new, 0)); in update_attr()
330 perror_msg("%s: setting version to %d failed", fpath, v); in update_attr()
338 perror_msg("%s: setting projid to %u failed", fpath, fsx.fsx_projid); in update_attr()
Dpartprobe.c24 if (ioctl(fd, BLKRRPART, 0)) perror_msg("ioctl failed"); in do_partprobe()
Dreadahead.c31 if (rc) perror_msg("readahead: %s", name); in do_readahead()
Dfsync.c26 perror_msg("can't sync '%s'", name); in do_fsync()
/external/strace/
Ducopy.c130 perror_msg("umoven: short read (%u < %u) @0x%" PRI_klx, in umoven_peekdata()
136 perror_msg("umoven: PTRACE_PEEKDATA pid:%d @0x%" PRI_klx, in umoven_peekdata()
190 perror_msg("process_vm_readv: pid:%d @0x%" PRI_klx, in umoven()
226 perror_msg("umovestr: short read (%d < %d) @0x%" PRI_klx, in umovestr_peekdata()
232 perror_msg("umovestr: PTRACE_PEEKDATA pid:%d @0x%" PRI_klx, in umovestr_peekdata()
313 perror_msg("umovestr: short read (%d < %d) @0x%" PRI_klx, in umovestr()
321 perror_msg("process_vm_readv: pid:%d @0x%" PRI_klx, in umovestr()
Derror_prints.h45 void perror_msg(const char *fmt, ...) ATTRIBUTE_FORMAT((printf, 1, 2));
62 perror_msg(__VA_ARGS__); \
69 perror_msg("%s: " fmt_, __func__, ##__VA_ARGS__)
Dupoke.c37 perror_msg("upoke: PTRACE_POKEUSER pid:%d @%#lx)", in upoke()
Dupeek.c47 perror_msg("upeek: PTRACE_PEEKUSER pid:%d @0x%lx)", in upeek()
/external/toybox/toys/lsb/
Dgzip.c90 if (len>0 || err == Z_ERRNO) perror_msg(dd ? "write" : "read");
94 if (gzclose(gz) != Z_OK) perror_msg("gzclose"), err++;
130 if (fstat(ifd, &sb)) return perror_msg("%s", in); in do_gzip()
149 if (!FLAG(k) && in && unlink(in)) perror_msg("unlink %s", in); in do_gzip()
/external/toybox/toys/posix/
Dln.c78 if (unlink(new)) perror_msg("unlink '%s'", new);
89 if (rc && unlink(new)) perror_msg("unlink '%s'", new);
95 if (rc) perror_msg("cannot create %s link from '%s' to '%s'",
Dtar.c273 perror_msg("readlink"); in add_to_tar()
308 perror_msg("can't open '%s'", name); in add_to_tar()
375 perror_msg("%s: seek %lld", name, TT.sparse[i*2]); in add_to_tar()
392 perror_msg("settime %lld %s", sec, s); in wsettime()
460 perror_msg("ftruncate"); in sendfile_sparse()
469 if (fd!=1) perror_msg(0); in sendfile_sparse()
492 return perror_msg(":%s: can't mkdir", name); in extract_to_disk()
497 else if (errno!=ENOENT) return perror_msg("can't remove: %s", name); in extract_to_disk()
504 return perror_msg("can't link '%s' -> '%s'", name, TT.hdr.link_target); in extract_to_disk()
515 return perror_msg("%s: can't create", TT.hdr.name); in extract_to_disk()
[all …]
Dcpio.c158 perror_msg("mkpath '%s'", name); in cpio_main()
182 perror_msg("create %s", name); in cpio_main()
270 if (st.st_size >> 32) perror_msg("skipping >2G file '%s'", name); in cpio_main()
291 if (!error++) perror_msg("bad read from file '%s'", name); in cpio_main()
Dcp.c295 perror_msg("%s setxattr(%s=%s)", catch, name, value); in cp_node()
326 perror_msg("chown '%s'", pp = dirtree_path(try, 0)); in cp_node()
360 perror_msg(err, catch); in cp_node()
467 perror_msg("bad '%s'", src); in cp_main()
520 if (lchown(*ss, TT.uid, TT.gid)) perror_msg("chown '%s'", *ss); in install_main()
/external/toybox/toys/pending/
Dipcs.c56 perror_msg("msgctl"); in show_msg_id()
84 perror_msg("semctl"); in show_sem_id()
124 perror_msg("shmctl"); in show_shm_id()
157 perror_msg("kernel not configured for shared memory"); in shm_array()
260 perror_msg("kernel is not configured for semaphores"); in sem_array()
346 perror_msg("kernel not configured for message queue"); in msg_array()
Dgetfattr.c47 if (keys_len == -1) perror_msg("listxattr failed");
75 if (value_len == -1) perror_msg("getxattr failed");
Dipcrm.c57 perror_msg("key (%s)", name);
66 if (ret < 0) perror_msg("%s (%s)", ((key)? "key": "id"), name);
Duserdel.c46 perror_msg("Couldn't lock file %s",filename); in update_groupfiles()
86 perror_msg("File Writing/Saving failed: "); in update_groupfiles()
Dsyslogd.c303 perror_msg("can't open %s", tf->filename); in write_rotate()
366 if (wlen < 0) perror_msg("write failed file : %s ", tf->filename + isNetwork); in logmsg()
444 perror_msg("OPEN SOCKS : failed"); in syslogd_main()
449 perror_msg("BIND SOCKS : failed sock : %s", tsd->sdu.sun_path); in syslogd_main()
493 if (errno != EINTR) perror_msg("Error in select "); in syslogd_main()
Dtftp.c147 perror_msg("server read timed out"); in read_server()
150 perror_msg("server read failed"); in read_server()
172 perror_msg("server write failed"); in write_server()
204 perror_msg("lseek failed"); in mkpkt_data()
/external/toybox/lib/
Dpassword.c122 perror_msg("Couldn't open file %s",filename); in update_password()
138 if (ret < 0) perror_msg("Couldn't lock file %s",filename); in update_password()
191 perror_msg("File Writing/Saving failed: "); in update_password()
/external/strace/linux/arm/
Dset_scno.c15 perror_msg("arch_set_scno: PTRACE_SET_SYSCALL pid:%d scno:%#x", in arch_set_scno()
/external/toybox/toys/android/
Dsetenforce.c31 if (ret == -1) perror_msg("Couldn't set enforcing status to '%s'", new); in setenforce_main()
/external/strace/linux/aarch64/
Dset_scno.c19 perror_msg("arch_set_scno: NT_ARM_SYSTEM_CALL pid:%d scno:%#x", in arch_set_scno()

1234