Home
last modified time | relevance | path

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

123

/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.c106 if (ext2_getflag(fd, &sb, &flag) < 0) perror_msg("reading flags '%s'", path); in print_file_attr()
135 LABEL1: perror_msg("reading '%s'", path); in print_file_attr()
172 if (lstat(*toys.optargs, &sb)) perror_msg("stat '%s'", *toys.optargs); in lsattr_main()
273 perror_msg("read flags of '%s'", fpath); in update_attr()
280 perror_msg("setting flags '%s'", fpath); in update_attr()
286 perror_msg("setting flags '%s'", fpath); in update_attr()
290 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()
Dfsync.c26 perror_msg("can't sync '%s'", name); in do_fsync()
Dreadahead.c31 if (rc) perror_msg("readahead: %s", name); in do_readahead()
Dchcon.c33 perror_msg("'%s' to %s", path, con); in do_chcon()
/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.c136 perror_msg("mkpath '%s'", name); in cpio_main()
158 perror_msg("create %s", name); in cpio_main()
241 if (st.st_size >> 32) perror_msg("skipping >2G file '%s'", name); in cpio_main()
260 else perror_msg("readlink '%s'", name); in cpio_main()
266 if (!error++) perror_msg("bad read from file '%s'", name); in cpio_main()
Dcp.c310 perror_msg("%s setxattr(%s=%s)", catch, name, value); in cp_node()
341 perror_msg("chown '%s'", pp = dirtree_path(try, 0)); in cp_node()
365 if (err) perror_msg(err, catch); in cp_node()
437 perror_msg("bad '%s'", src); in cp_main()
Dmkdir.c53 perror_msg("'%s'", *s);
/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()
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.c219 perror_msg("readlink"); in add_file()
257 perror_msg("can't open '%s'", name); in add_file()
382 perror_msg("can't remove: %s",file_hdr->name); in extract_to_disk()
389 perror_msg("can't link '%s' -> '%s'",file_hdr->name, file_hdr->link_target); in extract_to_disk()
398 if (dst_fd == -1) perror_msg("%s: can't open", file_hdr->name); in extract_to_disk()
402 perror_msg("%s: can't create", file_hdr->name); in extract_to_disk()
406 perror_msg("can't link '%s' -> '%s'",file_hdr->name, file_hdr->link_target); in extract_to_disk()
412 perror_msg("can't create '%s'", file_hdr->name); in extract_to_disk()
438 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()
/external/strace/
Dutil.c1061 perror_msg("process_vm_readv");
1084 perror_msg("umoven: PTRACE_PEEKDATA pid:%d @0x%lx",
1107 perror_msg("umoven: short read (%u < %u) @0x%lx",
1113 perror_msg("umoven: PTRACE_PEEKDATA pid:%d @0x%lx",
1256 perror_msg("umovestr: short read (%d < %d) @0x%lx",
1262 perror_msg("process_vm_readv");
1287 perror_msg("umovestr: PTRACE_PEEKDATA pid:%d @0x%lx",
1314 perror_msg("umovestr: short read (%d < %d) @0x%lx",
1320 perror_msg("umovestr: PTRACE_PEEKDATA pid:%d @0x%lx",
1346 perror_msg("upeek: PTRACE_PEEKUSER pid:%d @0x%lx)", pid, off);
Dstrace.c341 void perror_msg(const char *fmt, ...) in perror_msg() function
424 perror_msg("ptrace(PTRACE_%s,pid:%d,sig:%d)", msg, tcp->pid, sig); in ptrace_restart()
568 perror_msg("%s", outfname); in tprintf()
589 perror_msg("%s", outfname); in tprints()
817 perror_msg("detach: ptrace(PTRACE_DETACH,%u)", tcp->pid); in detach()
824 perror_msg("detach: tkill(%u,0)", tcp->pid); in detach()
840 perror_msg("detach: ptrace(PTRACE_INTERRUPT,%u)", tcp->pid); in detach()
847 perror_msg("detach: tkill(%u,SIGSTOP)", tcp->pid); in detach()
868 perror_msg("detach: waitpid(%u)", tcp->pid); in detach()
1062 perror_msg("attach: ptrace(PTRACE_ATTACH, ...)"); in startup_attach()
[all …]
/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.c60 perror_msg("%s%s%s", path, parent ? "/" : "", name); in dirtree_add_node()
145 perror_msg("No %s", path); in dirtree_recurse()
/external/strace/linux/crisv10/
Darch_sigreturn.c7 perror_msg("sigreturn: PTRACE_GETREGS"); in arch_sigreturn()
/external/toybox/toys/android/
Dsetenforce.c31 if (ret == -1) perror_msg("Couldn't set enforcing status to '%s'", new); in setenforce_main()
Drestorecon.c45 perror_msg("restorecon failed: %s", *s); in restorecon_main()

123