criu/include
Cyrill Gorcunov 6e7c9ea84d util: Extend reopen_fd_as_safe
Our loggin engine prints file:line only at invoke point,
so it's unable to see where exactly reopen_fd_as_safe is
failed.

With this patch the output is more human readable

 | Error (util.c:96): fd 7 already in use (called at files.c:359)

Ideally we need full backtrace here, but it's different task.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-16 12:35:51 +04:00
..
atomic.h Gather futex helpers into lock.h 2011-12-26 23:54:18 +04:00
bitops.h restore: Add mutexes via futex syscall and order threads creation 2011-11-18 16:09:01 +04:00
compiler.h files: Use sys_kcmp to find file descriptor duplicates v4 2012-02-28 19:13:47 +04:00
crtools.h files: Support dumping/restoring of completely unlinked files 2012-04-13 17:54:36 +04:00
file-ids.h vma: Remove FDINFO_MAP fd type 2012-04-09 12:57:38 +04:00
files.h files: Support dumping/restoring of completely unlinked files 2012-04-13 17:54:36 +04:00
image.h magics: Move them one tab right 2012-04-13 18:02:50 +04:00
inet_diag.h Trivial whitespace cleanup 2012-01-30 21:29:42 +04:00
ipc_ns.h show: Introduce ->show callback for fdset 2012-03-27 12:01:14 +04:00
kcmp-ids.h kcmp: Introduce generic object ID generator 2012-04-09 18:01:18 +04:00
libnetlink.h net: Define named constant for nlmsg_seq 2011-12-27 20:13:18 +04:00
list.h list: Cleanup spaces/tabs mess 2012-02-01 14:38:49 +04:00
lock.h lock: Restore ability to abort on futex waiting 2012-04-05 14:07:39 +04:00
log.h log: log-engine slight redesign 2012-03-02 01:05:43 +04:00
memcpy_64.h Add builtin_memcpy helper 2012-03-29 15:14:06 +04:00
namespaces.h show: Introduce ->show callback for fdset 2012-03-27 12:01:14 +04:00
parasite-syscall.h fd: Handle close-on-exec bits 2012-04-10 18:36:59 +04:00
parasite.h parasite, restorer: Cleanup ld scripts 2012-04-02 22:43:22 +04:00
proc_parse.h proc: Make small stat parsing read pgid and sid 2012-04-11 22:09:12 +04:00
processor-flags.h Add processor-flags.h 2012-02-14 17:18:08 +04:00
ptrace.h xids: Save pgid and sid on pstree_Item and pstree_entry 2012-04-11 22:10:09 +04:00
rbtree.h rb: Drop rb_attach_node 2012-03-28 20:28:29 +04:00
restorer-log.h logfd: Distinguish functions which do setup logdf 2012-03-02 01:05:43 +04:00
restorer.h rst: Wait till everyone completes forking on restore 2012-04-11 22:06:36 +04:00
sockets.h files: Generalize file open, get rid of explicit types switch 2012-04-06 20:39:48 +04:00
syscall-codes.h syscall: Add fcntl syscall and F_GETFD cmd 2012-04-10 18:35:54 +04:00
syscall.h syscall: Add fcntl syscall and F_GETFD cmd 2012-04-10 18:35:54 +04:00
sysctl.h show: Use pr_msg for showing contents on console 2012-03-02 11:12:59 +04:00
types.h types: Add F_GETOWNER_UIDS opcode 2012-04-12 12:27:54 +04:00
unix_diag.h sockets: Update unix_diag.h 2012-01-10 17:26:50 +04:00
util-net.h util-net: Make send/recv fds carry fd flags in message 2012-04-10 18:36:13 +04:00
util.h util: Extend reopen_fd_as_safe 2012-04-16 12:35:51 +04:00
uts_ns.h show: Introduce ->show callback for fdset 2012-03-27 12:01:14 +04:00