Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. [Switching to Thread 1671.1671]
  2. server_accept_loop (config_s=0x0, newsock=<synthetic pointer>, sock_out=<synthetic pointer>,
  3. sock_in=<synthetic pointer>) at sshd.c:1323
  4. 1323 platform_post_fork_child();
  5. (gdb) n
  6. 1324 startup_pipe = startup_p[1];
  7. (gdb) n
  8. 1314 if ((pid = fork()) == 0) {
  9. (gdb) n
  10. 1324 startup_pipe = startup_p[1];
  11. (gdb) n
  12. 1325 close_startup_pipes();
  13. (gdb) n
  14. 1326 close_listen_socks();
  15. (gdb) n
  16. 1329 log_init(__progname,
  17. (gdb) n
  18. 1333 if (rexec_flag)
  19. (gdb) n
  20. 1238 *newsock = accept(listen_socks[i],
  21. (gdb) info inf
  22. Num Description Executable
  23. * 2 process 1671 /opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd
  24. 1 process 1662 /opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd
  25. (gdb) inferior 1
  26. [Switching to inferior 1 [process 1662] (/opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd)]
  27. [Switching to thread 1 (Thread 1662.1662)]
  28. #0 0xb6c0ac4c in __libc_fork () at ../sysdeps/nptl/fork.c:124
  29. 124 ../sysdeps/nptl/fork.c: No such file or directory.
  30. (gdb) fin
  31. Run till exit from #0 0xb6c0ac4c in __libc_fork () at ../sysdeps/nptl/fork.c:124
  32. 0xb6eead34 in server_accept_loop (config_s=0x0, newsock=<synthetic pointer>,
  33. sock_out=<synthetic pointer>, sock_in=<synthetic pointer>) at sshd.c:1314
  34. 1314 if ((pid = fork()) == 0) {
  35. Value returned is $1 = 1671
  36. (gdb) n
  37. 1339 platform_post_fork_parent(pid);
  38. (gdb) n
  39. 1340 if (pid < 0)
  40. (gdb) n
  41. 1343 debug("Forked child %ld.", (long)pid);
  42. (gdb) n
  43. 1345 close(startup_p[1]);
  44. (gdb) detach inferior 2
  45. Detaching from program: /opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd, process 1671
  46. (gdb) info inf
  47. Num Description Executable
  48. * 2 <null> /opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd
  49. 1 process 1662 /opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd
  50. (gdb) n
  51. The program is not being run.
  52. (gdb) inferior 1
  53. [Switching to inferior 1 [process 1662] (/opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd)]
  54. [Switching to thread 1 (Thread 1662.1662)]
  55. #0 server_accept_loop (config_s=0x0, newsock=<synthetic pointer>, sock_out=<synthetic pointer>,
  56. sock_in=<synthetic pointer>) at sshd.c:1345
  57. 1345 close(startup_p[1]);
  58. (gdb) info inferior
  59. Num Description Executable
  60. 2 <null> /opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd
  61. * 1 process 1662 /opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd
  62. (gdb) remove-inferiors 2
  63. (gdb) info inf
  64. Num Description Executable
  65. * 1 process 1662 /opt/bia/2015.11/sysroots/cortexa9hf-vfp-neon-bia-linux-gnueabi/usr/sbin/sshd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement