Home
last modified time | relevance | path

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

1234

/external/toybox/toys/other/
Dswitch_root.c82 perror_msg("bad console '%s'", TT.console); 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()
Dlsattr.c109 if (ext2_getflag(fd, &sb, &flag) < 0) perror_msg("reading flags '%s'", path); in print_file_attr()
138 LABEL1: perror_msg("reading '%s'", path); in print_file_attr()
175 if (lstat(*toys.optargs, &sb)) perror_msg("stat '%s'", *toys.optargs); in lsattr_main()
276 perror_msg("read flags of '%s'", fpath); in update_attr()
283 perror_msg("setting flags '%s'", fpath); in update_attr()
289 perror_msg("setting flags '%s'", fpath); in update_attr()
293 perror_msg("while setting version on '%s'", fpath); in update_attr()
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);
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/toybox/toys/posix/
Dln.c63 if (unlink(new)) perror_msg("unlink '%s'", new); in ln_main()
74 if (rc && unlink(new)) perror_msg("unlink '%s'", new); in ln_main()
81 perror_msg("cannot create %s link from '%s' to '%s'", in ln_main()
Dcpio.c138 perror_msg("mkpath '%s'", name); in cpio_main()
160 perror_msg("create %s", name); in cpio_main()
243 if (st.st_size >> 32) perror_msg("skipping >2G file '%s'", name); in cpio_main()
263 else perror_msg("readlink '%s'", name); in cpio_main()
269 if (!error++) perror_msg("bad read from file '%s'", name); in cpio_main()
Dcp.c293 perror_msg("%s setxattr(%s=%s)", catch, name, value); in cp_node()
324 perror_msg("chown '%s'", pp = dirtree_path(try, 0)); in cp_node()
358 perror_msg(err, catch); in cp_node()
434 perror_msg("bad '%s'", src); in cp_main()
/external/toybox/toys/pending/
Dsetfattr.c36 perror_msg("removexattr failed"); in do_setfattr()
39 perror_msg("setxattr failed"); in do_setfattr()
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.c46 if (keys_len == -1) perror_msg("listxattr failed");
74 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()
Dgetty.c135 if (ioctl(0, TIOCSCTTY, 1) < 0) perror_msg("ioctl(TIOCSCTTY)"); in open_tty()
140 if (setsid() < 0) perror_msg("setsid failed"); in open_tty()
282 perror_msg(utmperr); in utmp_entry()
291 perror_msg(utmperr); in utmp_entry()
Dtar.c220 perror_msg("readlink"); in add_file()
258 perror_msg("can't open '%s'", name); in add_file()
391 perror_msg("can't remove: %s",file_hdr->name); in extract_to_disk()
398 perror_msg("can't link '%s' -> '%s'",file_hdr->name, file_hdr->link_target); in extract_to_disk()
407 if (dst_fd == -1) perror_msg("%s: can't open", file_hdr->name); in extract_to_disk()
411 perror_msg("%s: can't create", file_hdr->name); in extract_to_disk()
415 perror_msg("can't link '%s' -> '%s'",file_hdr->name, file_hdr->link_target); in extract_to_disk()
421 perror_msg("can't create '%s'", file_hdr->name); in extract_to_disk()
447 perror_msg("chown %d:%d '%s'", u, g, file_hdr->name);; in extract_to_disk()
Dsyslogd.c304 perror_msg("can't open %s", tf->filename); in write_rotate()
367 if (wlen < 0) perror_msg("write failed file : %s ", tf->filename + isNetwork); in logmsg()
445 perror_msg("OPEN SOCKS : failed"); in syslogd_main()
450 perror_msg("BIND SOCKS : failed sock : %s", tsd->sdu.sun_path); in syslogd_main()
494 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()
Dwget.c95 perror_msg("socket error"); in conn_svr()
100 else perror_msg("connect error"); in conn_svr()
/external/toybox/lib/
Dpassword.c123 perror_msg("Couldn't open file %s",filename); in update_password()
139 if (ret < 0) perror_msg("Couldn't lock file %s",filename); in update_password()
192 perror_msg("File Writing/Saving failed: "); in update_password()
Ddirtree.c61 perror_msg("%s%s%s", path, parent ? "/" : "", name); in dirtree_add_node()
141 perror_msg("No %s", path); in dirtree_recurse()
/external/strace/
Dutil.c1021 perror_msg("process_vm_readv"); in umoven()
1044 perror_msg("umoven: PTRACE_PEEKDATA pid:%d @0x%" PRI_klx, in umoven()
1067 perror_msg("umoven: short read (%u < %u) @0x%" PRI_klx, in umoven()
1073 perror_msg("umoven: PTRACE_PEEKDATA pid:%d @0x%" PRI_klx, in umoven()
1189 perror_msg("umovestr: short read (%d < %d) @0x%" PRI_klx, in umovestr()
1195 perror_msg("process_vm_readv"); in umovestr()
1220 perror_msg("umovestr: PTRACE_PEEKDATA pid:%d @0x%" PRI_klx, in umovestr()
1247 perror_msg("umovestr: short read (%d < %d) @0x%" PRI_klx, in umovestr()
1253 perror_msg("umovestr: PTRACE_PEEKDATA pid:%d @0x%" PRI_klx, in umovestr()
Dstrace.c352 void perror_msg(const char *fmt, ...) in perror_msg() function
444 perror_msg("ptrace(PTRACE_%s,pid:%d,sig:%u)", msg, tcp->pid, sig); in ptrace_restart()
587 perror_msg("%s", outfname); in tvprintf()
616 perror_msg("%s", outfname); in tprints()
902 perror_msg("detach: ptrace(PTRACE_DETACH,%u)", tcp->pid); in detach()
909 perror_msg("detach: tkill(%u,0)", tcp->pid); in detach()
925 perror_msg("detach: ptrace(PTRACE_INTERRUPT,%u)", tcp->pid); in detach()
931 perror_msg("detach: tkill(%u,SIGSTOP)", tcp->pid); in detach()
952 perror_msg("detach: waitpid(%u)", tcp->pid); in detach()
1061 perror_msg("attach: ptrace(%s, %d)", in attach_tcb()
[all …]
Dupoke.c36 perror_msg("upoke: PTRACE_POKEUSER pid:%d @%#lx)", pid, off); in upoke()
Dupeek.c47 perror_msg("upeek: PTRACE_PEEKUSER pid:%d @0x%lx)", pid, off); in upeek()

1234