search for: sigttou

Displaying 20 results from an estimated 21 matches for "sigttou".

Did you mean: sigstop
2003 Feb 04
0
[PATCH] openssh-3.5p1: restore SIGTTOU in readpassphrase()
...9:13 2002 +++ openssh-3.5p1/openbsd-compat/readpassphrase.c Tue Feb 4 08:30:06 2003 @@ -152,6 +152,7 @@ (void)sigaction(SIGTERM, &saveterm, NULL); (void)sigaction(SIGTSTP, &savetstp, NULL); (void)sigaction(SIGTTIN, &savettin, NULL); + (void)sigaction(SIGTTOU, &savettou, NULL); if (input != STDIN_FILENO) (void)close(input); believe it or not, on Solaris 2.6 to 9 when running the csh, ssh never gets a SIGTTIN in readpassphrase() if it's in the background, so it needs to restore the SIGTTOU handler before it resends itse...
2016 Sep 27
10
[Bug 2619] New: infinite loop, 100% cpu use in ssh if ^Z is pressed at password prompt
https://bugzilla.mindrot.org/show_bug.cgi?id=2619 Bug ID: 2619 Summary: infinite loop, 100% cpu use in ssh if ^Z is pressed at password prompt Product: Portable OpenSSH Version: 7.3p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component:
2012 Dec 07
0
Rsync / ssh high cpu load
...clude=.svn root 29297 99.9 0.0 59760 3476 pts/1 R Dec06 770:20 ssh -l root xxx.com rsync --server -vlogDtpre.iLs . /tmp/data/ root 29306 0.0 0.0 55160 2028 ? Ss Dec06 0:00 scp -f -- /yyy/zzz.sql # strace -fF -v -p 29297 Process 29297 attached - interrupt to quit --- SIGTTOU (Stopped (tty output)) @ 0 (0) --- rt_sigreturn(0x16) = -1 EINTR (Interrupted system call) ioctl(4, SNDCTL_TMR_CONTINUE or TCSETSF, {c_iflags=0x500, c_oflags=0x5, c_cflags=0xbf, c_lflags=0x8a3b, c_line=0, c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x...
2009 Oct 02
0
[PATCH] configurator: update some migration examples
...hitting a thundering herd (especially in the "preload_app false") case. Also comment on the per-worker listen usage in the RDoc, not just a hidden comment. --- I just pushed this out earlier, this example was inspired by Chris Wanstrath''s before_fork hook but modified to use SIGTTOU instead of SIGQUIT for all but the last worker to minimize memory explosions during upgrades. The :tries and :delay options were also inspired by Chris and will be in v0.93.0 which will probably be released. lib/unicorn/configurator.rb | 21 +++++++++++++++++---- 1 files changed, 17 insert...
2012 Jul 16
0
timeout vs. winexe
...ediately when other commands exit. Am I missing something obvious that might make it wait in this scenario? Strace show a loop of these filling the time after I think it has completed: ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon echo ...}) = ? ERESTARTSYS (To be restarted) --- SIGTTOU (Stopped (tty output)) @ 0 (0) --- --- SIGTTOU (Stopped (tty output)) @ 0 (0) --- -- Les Mikesell lesmikesell at gmail.com
2006 Jun 06
1
Asterisk 1.2.7.1 bad file descriptor
...SA_RESTART}, 8) = 0 rt_sigaction(SIGTERM, {0x4003e1a0, [], 0}, {0x80a6420, [TERM], SA_RESTART}, 8) = 0 rt_sigaction(SIGQUIT, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGALRM, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTSTP, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTTOU, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTTIN, {0x4003e1a0, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGWINCH, {0x4003e270, [], SA_RESTART}, {SIG_DFL}, 8) = 0 write(1, "*CLI> ", 6*CLI> ) = 6 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(-1, 0xbffff8...
2009 Feb 19
1
NUT 2.4.1 crashes on FreeBSD - additional info
...= 0 (0x0) > mmap(0x0,21112,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 672673792 > (0x28183000) > munmap(0x28183000,21112) = 0 (0x0) > sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) > = 0 (0x0) > sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) > __sysctl(0xbfbfeaa4,0x2,0x2816fae0,0xbfbfeaac,0x0,0x0) = 0 (0x0) > sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM...
2007 Dec 17
1
problem with samba 3.0.28/Solaris 8/smbclient
...SIGINT, 0xFFBED4C0, 0xFFBED5C0) = 0 21056: sigaction(SIGTERM, 0xFFBED4C0, 0xFFBED5C0) = 0 21056: sigaction(SIGQUIT, 0xFFBED4C0, 0xFFBED5C0) = 0 21056: sigaction(SIGALRM, 0xFFBED4C0, 0xFFBED5C0) = 0 21056: sigaction(SIGTSTP, 0xFFBED4C0, 0xFFBED5C0) = 0 21056: sigaction(SIGTTOU, 0xFFBED4C0, 0xFFBED5C0) = 0 21056: sigaction(SIGTTIN, 0xFFBED4C0, 0xFFBED5C0) = 0 21056: sigaction(SIGWINCH, 0xFFBED4C0, 0xFFBED5C0) = 0 21056: time() = 1197919173 21056: write(6, "\0\0\0 bFF S M B 2\0\0\0".., 102) = 102 2105...
2005 Apr 24
0
Solaris console problem
Hi, I'm using openssh 3.9p1, and here is what bothers me. If ssh is executed from an X application, when a password is prompted, ssh manages to grap on to /dev/tty, but then the SIGTTOU is constantly sent to the ssh and that loops the password prompt function infinetely, since it actually gets to the console. Because of Solaris implemenation (I guess), that also gives no cycles to other applications. It took me few hours (!) to login remotely and kill the ssh process. (And them my...
2020 Aug 27
0
[klibc:master] alpha: Fix definitions of _NSIG and struct sigaction
...+#define SIGFPE 8 +#define SIGKILL 9 +#define SIGBUS 10 +#define SIGSEGV 11 +#define SIGSYS 12 +#define SIGPIPE 13 +#define SIGALRM 14 +#define SIGTERM 15 +#define SIGURG 16 +#define SIGSTOP 17 +#define SIGTSTP 18 +#define SIGCONT 19 +#define SIGCHLD 20 +#define SIGTTIN 21 +#define SIGTTOU 22 +#define SIGIO 23 +#define SIGXCPU 24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGINFO 29 +#define SIGUSR1 30 +#define SIGUSR2 31 + +#define SIGPOLL SIGIO +#define SIGPWR SIGINFO +#define SIGIOT SIGABRT + +#define SA_ONSTACK 0x0000000...
2010 Jan 11
0
[PATCH] Fix arm signals
...efine SIGFPE 8 +#define SIGKILL 9 +#define SIGUSR1 10 +#define SIGSEGV 11 +#define SIGUSR2 12 +#define SIGPIPE 13 +#define SIGALRM 14 +#define SIGTERM 15 +#define SIGSTKFLT 16 +#define SIGCHLD 17 +#define SIGCONT 18 +#define SIGSTOP 19 +#define SIGTSTP 20 +#define SIGTTIN 21 +#define SIGTTOU 22 +#define SIGURG 23 +#define SIGXCPU 24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +/* +#define SIGLOST 29 +*/ +#define SIGPWR 30 +#define SIGSYS 31 +#define SIGUNUSED 31 + +/* These should not be considere...
2001 Jan 04
2
Patch to allow openssh-2.2.0-p1 to be started from /etc/inittab
...,111 ---- return (0); } ! #endif ! ! int ! sshd_daemon(nochdir, noclose) ! int nochdir, noclose; ! { ! int fd; ! ! if (getppid() != 1) ! { ! switch (fork()) { ! case -1: ! return (-1); ! case 0: ! break; ! default: ! _exit(0); ! } ! } ! ! signal(SIGTTOU, SIG_IGN); ! signal(SIGTTIN, SIG_IGN); ! ! if (setsid() == -1 && getppid() != 1) ! return (-1); ! ! if (!nochdir) ! (void)chdir("/"); ! ! if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { ! (void)dup2(fd, STDIN_FILENO); ! (void)dup2(fd, STDOUT_...
2003 Nov 28
1
problems when exec()ing /sbin/init from an initramfs
...0 rt_sigaction(SIGTERM, {0x4000000000003ef0, [], SA_RESTART}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGQUIT, {0x4000000000003ef0, [], SA_RESTART}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {0x4000000000003ef0, [], SA_RESTART}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTTIN, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTTOU, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTSTP, {SIG_IGN}, {SIG_DFL}, 8) = 0 fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(5, 1), ...}) = 0 stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/proc", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 mount("pro...
2002 Feb 08
3
SCP Problem with OpenSSH 3.0.2p1 linux->solaris
Hello, i am experiencing scp hangs. This command is executed: system("/usr/bin/scp -v -v -v -C root\@$ip:$LOG_DIR_CLIENT$SYSTEM_LOG"."_transfer $LOG_DIR_SERVER$SYSTEM_LOG-$ip >$SSH_STEP3_LOG 2>&1"); from within a perl script.
2009 Mar 25
0
CentOS won't shutdown ... or do anything else
...f62000, 4096) = 0 rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTSTP, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTTIN, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTTOU, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {0x8049938, [], SA_RESTORER|SA_RESTART, 0x400898}, NULL, 8) = 0 chdir("/") = 0 getuid32() = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_GETFL) =...
2002 Mar 26
1
Two patches for OpenSSH 3.1p1
.../* Disconnect from the controlling tty. */ #ifdef TIOCNOTTY --- 834,862 ---- #ifdef TIOCNOTTY int fd; #endif /* TIOCNOTTY */ ! ! if (!init_flag) ! { ! if (daemon(0, 0) < 0) fatal("daemon() failed: %.200s", strerror(errno)); + } + else + { + signal(SIGTTOU, SIG_IGN); + signal(SIGTTIN, SIG_IGN); + + (void) setsid(); + (void) chdir("/"); + + if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) + { + (void)dup2(fd, STDIN_FILENO); + (void)dup2(fd, STDOUT_FILENO); + (void)dup2(fd, STDERR_FILENO); + i...
2016 May 30
21
[Bug 2576] New: ssh-agent enters busy loop when running out of fds
.... I noticed that while creating a ton of ssh connections to my local system in a tight loop, which uses the ssh keyring. (When ssh-agent is in this mode, and you start further ssh instances with the & suffix in a shell (to make it background), then they will also enter a busy loop handling of SIGTTOU. I don't have further details about this, though, was too lazy to figure out what is really going on there). > Jakub Jelen 2016-05-26 17:01:26 CEST I was trying to burn my virtual box with a lot of requests to ssh-agent but only with partial success. But the behavior you explain sounds p...
2011 Aug 08
0
[PATCH/RFC] Add initial avr32 port
...9 +#define SIGUSR1 10 +#define SIGSEGV 11 +#define SIGUSR2 12 +#define SIGPIPE 13 +#define SIGALRM 14 +#define SIGTERM 15 +#define SIGSTKFLT 16 +#define SIGCHLD 17 +#define SIGCONT 18 +#define SIGSTOP 19 +#define SIGTSTP 20 +#define SIGTTIN 21 +#define SIGTTOU 22 +#define SIGURG 23 +#define SIGXCPU 24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +/* +#define SIGLOST 29 +*/ +#define SIGPWR 30 +#define SIGSYS 31 +#define SIGUNUSE...
2006 Jun 26
0
[klibc 24/43] i386 support for klibc
...11 +#define SIGUSR2 12 +#define SIGPIPE 13 +#define SIGALRM 14 +#define SIGTERM 15 +#define SIGSTKFLT 16 +#define SIGCHLD 17 +#define SIGCONT 18 +#define SIGSTOP 19 +#define SIGTSTP 20 +#define SIGTTIN 21 +#define SIGTTOU 22 +#define SIGURG 23 +#define SIGXCPU 24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +#define SIGPWR 30 +#define SIGSYS 31 +#def...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: