Displaying 20 results from an estimated 37 matches for "mysign".
2003 Aug 24
2
[Bug 628] Review usage of mysignal() vs signal()
http://bugzilla.mindrot.org/show_bug.cgi?id=628
Summary: Review usage of mysignal() vs signal()
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
OS/Version: OpenBSD
Status: NEW
Severity: normal
Priority: P2
Component: Miscellaneous
AssignedTo: openssh-bugs at mindrot.org
Re...
2003 Sep 22
1
openssh on NeXTstep
Hi all,
I've been running OpenSSH portable on NeXTstep 3.3 since version
2.5.something with no/little problems. 3.7.1p1 still compiles fine but
sshd hangs at startup. I've tried to debug it but when stepping through
sshd using gdb it segfaults in mysignal in bsd-misc.c instead of hanging.
Before I dig any deeper into this I'd like to know if there's anybody else
running openssh who is perhaps not/as well experiencing these problems. Is
hanging/segfaulting in mysignal perhaps experienced on other platforms as
well?
--
bye, Michael
a di...
2001 Jan 19
1
Core dumps on HP-UX
Hello,
I've been trying to get openssh working at our site recently, but have
been running into these problems. In using the "release" version
(openssh-2.3.0p1) we kept getting these broken pipe errors:
zcat: stdout: Broken pipe
Damien suggested we try out the snapshot versions, so I've been trying
out the daily versions since last week. With the snapshots, the pipe
problem
2003 Sep 15
1
SCO 3.2v4.2 and OpenSSH -current --> connection hangs and does no t close
Greetings,
I have a problem with OpenSSH -current and SCO 3.2v4.2,
when I execute a remote command or exit from a session,
the connection hangs, ( line 326 of serverloop.c).
This problem only exists when using ssh2.
server side debug (-d -d -d ):
debug1: Received SIGCHLD.
debug2: channel 0: read failed
debug2: channel 0: close_read
debug2: channel 0: input open -> drain
debug2: channel 0:
2002 Feb 06
2
SFTP Status Bar..
...1);
+
if (count != 0 && wrerr == NO &&
(j = atomicio(write, ofd, bp->buf, count)) != count) {
wrerr = YES;
@@ -1079,140 +1060,17 @@
}
static void
-updateprogressmeter(int ignore)
+updateprogressmeter(int done)
{
- int save_errno = errno;
-
- progressmeter(0);
- mysignal(SIGALRM, updateprogressmeter);
- alarm(PROGRESSTIME);
- errno = save_errno;
-}
-
-static int
-foregroundproc(void)
-{
- static pid_t pgrp = -1;
- int ctty_pgrp;
-
- if (pgrp == -1)
- pgrp = getpgrp();
+ int save_errno = errno;
-#ifdef HAVE_TCGETPGRP
- return ((ctty_pgrp = tcgetpgrp(STDO...
2005 May 03
3
Lattice dotplot with symbols sized and colored
...my dots are colored differently depending on if positive or negative and
sized by sp.nc.bdrs.data$mwZ
I have tried...
dotplot(sporder ~ cvarorder | direct, data=sp.nc.bdrs.data,
cex=abs(sp.nc.bdrs.data$mwZ * 0.05),
xlab="climate variables",
ylab="species",col= sp.nc.bdrs.data$mysign,
scales = list(y = list(labels = as.character(spname),at = 1:12, cex = 0.5),
x = list(labels = as.character(my.ylabel), at = 1:66, rot=90, cex = 0.5),
alternating = 3))
This sizes my symbols correctly but colors all four conditional plots
(direct = 'e', 'n', 's' & ...
2001 Jul 22
2
Patches for Cray T3Es running Unicossmk and SV1s running Unicos
This patch is against Cray patch against openssh-SNAP-20010710. Here
a few notes about them:
1) rijndael does not work on cray due to the fact it is rooted in 32 bits.
I looking for a fix, it may come form Wendy Palam. For now the cray
default to the following cihpers for ssh version 2 ssh are:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour
2) Crays don't have setitimer so I
2002 Oct 13
1
[PATCH] AIX password expiration
...39;)
+ *p = ' ';
+ }
+ /* Remove trailing newline */
+ *--p = '\0';
+}
+
+int
+is_aix_password_change_required(void)
+{
+ return aix_password_change_required;
+}
+
+void
+do_aix_change_password(struct passwd *pw)
+{
+ pid_t pid;
+ int status;
+ mysig_t old_signal;
+
+ old_signal = mysignal(SIGCHLD, SIG_DFL);
+
+ if ((pid = fork()) == -1)
+ fatal("Couldn't fork: %s", strerror(errno));
+
+ if (pid == 0) {
+ setuid(pw->pw_uid);
+ execl("/usr/bin/passwd","passwd",pw->pw_name,
+ (char *)NULL);
+ }
+
+ if (waitpid(pid, &status, 0) == -1)
+...
2001 Sep 04
0
AIX Warning for expired password
...n", aixloginmsg);
+#endif /* WITH_AIXAUTHENTICATE */
+
+#ifdef WITH_AIXAUTHENTICATE
+
+ retval = passwdexpired(pw->pw_name,&msg);
+
+ if (msg && *msg)
+ printf("%s\n",msg);
+
+ if (retval == 1) {
+
+ pid_t pid;
+ int status;
+ mysig_t old_signal;
+
+ old_signal = mysignal(SIGCHLD, SIG_DFL);
+
+ if ((pid = fork()) == -1)
+ fatal("Couldn't fork: %s", strerror(errno));
+
+ if (pid == 0) {
+ setuid(pw->pw_uid);
+ execl("/usr/bin/passwd","passwd",pw->pw_name,
+ (char *)NULL);
+ }
+
+ if (waitpid(pid, &status, 0)...
2003 Sep 15
0
SCO 3.2v4.2 and OpenSSH -current --> connection hangs and does n o t close
...r 2003 08:53
> To: Vikash Badal - PCS
> Cc: 'openssh-unix-dev at mindrot.org'
> Subject: Re: SCO 3.2v4.2 and OpenSSH -current --> connection hangs and
> does no t close
>
> go into bsd-misc.c and comment out the define and try it
> again. We should
> be using mysignal by default now, but it may have
> disagreeable results.
>
> - Ben
>
Commented out the
#define signal (a,b) mysignal(a,b)
in bsd-misc.h,
recompiled ( make clean && make )
still the same problem exists:
(gdb)
wait_until_can_do_something (readsetp=0x7ffff8e4, writesetp=0x7...
2001 Nov 27
2
3.0.1p1 losing tty modes?
...rig Tue Nov 27 02:32:50 2001
+++ sshpty.c Tue Nov 27 02:33:45 2001
@@ -252,6 +252,7 @@
int fd;
#ifdef USE_VHANGUP
void *old;
+ struct termios tio;
#endif /* USE_VHANGUP */
#ifdef _CRAY
@@ -310,6 +311,7 @@
#endif /* HAVE_NEWS4 */
#ifdef USE_VHANGUP
old = mysignal(SIGHUP, SIG_IGN);
+ tcgetattr(*ttyfd,&tio);
vhangup();
mysignal(SIGHUP, old);
#endif /* USE_VHANGUP */
@@ -320,6 +322,7 @@
#ifdef USE_VHANGUP
close(*ttyfd);
*ttyfd = fd;
+ tcsetattr(*ttyfd,TCSANOW,&tio);
#else /* USE_V...
2002 Mar 29
1
Two patches for OpenSSH 3.1p1 (fwd)
...card: Ssh.bin
diff -r -c openssh-3.1p1/serverloop.c openssh-3.1p1-peter/serverloop.c
*** openssh-3.1p1/serverloop.c Fri Feb 8 12:07:17 2002
--- openssh-3.1p1-peter/serverloop.c Mon Mar 18 22:01:02 2002
***************
*** 673,679 ****
/* We no longer want our SIGCHLD handler to be called. */
mysignal(SIGCHLD, SIG_DFL);
! wait_pid = waitpid(-1, &wait_status, 0);
if (wait_pid == -1)
packet_disconnect("wait: %.100s", strerror(errno));
else if (wait_pid != pid)
--- 673,681 ----
/* We no longer want our SIGCHLD handler to be called. */
mysignal(SIGCHLD, SIG_DFL);...
2016 May 18
0
Bug#820862: AW: Bug#820862: Info received (AW: Bug#820862: Acknowledgement (xen-hypervisor-4.4-amd64: Xen VM on Jessie freezes often with INFO: task jbd2/xvda2-8:111 blocked for more than 120 seconds))
...4.4.1-9+deb8u5 amd64 Xenstore command line utilities for Xen
Best regards, Chris Keller
-----Urspr?ngliche Nachricht-----
Von: Debian Bug Tracking System [mailto:owner at bugs.debian.org]
Gesendet: Dienstag, 19. April 2016 14:42
An: MySign AG - Infrastrcture <infrastructure at mysign.ch>
Betreff: Bug#820862: Info received (AW: Bug#820862: Acknowledgement (xen-hypervisor-4.4-amd64: Xen VM on Jessie freezes often with INFO: task jbd2/xvda2-8:111 blocked for more than 120 seconds))
Thank you for the additional information you h...
2016 Apr 19
0
Bug#820862: AW: Bug#820862: Acknowledgement (xen-hypervisor-4.4-amd64: Xen VM on Jessie freezes often with INFO: task jbd2/xvda2-8:111 blocked for more than 120 seconds)
...93] [<ffffffff81087fe0>] ? kthread_create_on_node+0x180/0x180
Copying and backuping the Dom0 results in no error!
Best regards, Chris Keller
-----Urspr?ngliche Nachricht-----
Von: Debian Bug Tracking System [mailto:owner at bugs.debian.org]
Gesendet: Mittwoch, 13. April 2016 11:06
An: MySign AG - Infrastrcture <infrastructure at mysign.ch>
Betreff: Bug#820862: Acknowledgement (xen-hypervisor-4.4-amd64: Xen VM on Jessie freezes often with INFO: task jbd2/xvda2-8:111 blocked for more than 120 seconds)
Thank you for filing a new Bug report with Debian.
This is an automatically gen...
2002 Dec 21
6
[PATCH] PAM chauthtok + Privsep
...atch, MONITOR_REQ_PTYCLEANUP, 1);
+ monitor_permit(mon_dispatch, MONITOR_REQ_PAM_CHAUTHTOK, 1);
}
for (;;)
@@ -746,6 +754,56 @@
xfree(user);
return (0);
+}
+
+int
+mm_answer_pam_chauthtok(int socket, Buffer *m)
+{
+ pid_t pid;
+ int ttyfd, status;
+ mysig_t old_signal;
+
+ old_signal = mysignal(SIGCHLD, SIG_DFL);
+
+ ttyfd = mm_receive_fd(socket);
+ debug3("%s: ttyfd=%d, ttyname=%s", __func__, ttyfd, ttyname(ttyfd));
+
+ if ((pid = fork()) == 0) {
+ /* acquire controlling tty */
+ pty_make_controlling_tty(ttyfd, ttyname(ttyfd));
+
+ /* set up stdin, stdout and stderr */
+...
2002 Mar 26
1
Two patches for OpenSSH 3.1p1
...card: Ssh.bin
diff -r -c openssh-3.1p1/serverloop.c openssh-3.1p1-peter/serverloop.c
*** openssh-3.1p1/serverloop.c Fri Feb 8 12:07:17 2002
--- openssh-3.1p1-peter/serverloop.c Mon Mar 18 22:01:02 2002
***************
*** 673,679 ****
/* We no longer want our SIGCHLD handler to be called. */
mysignal(SIGCHLD, SIG_DFL);
! wait_pid = waitpid(-1, &wait_status, 0);
if (wait_pid == -1)
packet_disconnect("wait: %.100s", strerror(errno));
else if (wait_pid != pid)
--- 673,681 ----
/* We no longer want our SIGCHLD handler to be called. */
mysignal(SIGCHLD, SIG_DFL);...
2003 Jul 09
0
[PATCH] Add expired password handling for AIX.
...0);
#endif /* !HAVE_OSF_SIA */
+}
+
+/*
+ * Perform generic password change via tty. Like do_pam_chauthtok(),
+ * it throws a fatal error if the password can't be changed.
+ */
+int
+do_tty_change_password(struct passwd *pw)
+{
+ pid_t pid;
+ int status;
+ mysig_t old_signal;
+
+ old_signal = mysignal(SIGCHLD, SIG_DFL);
+
+ if ((pid = fork()) == -1)
+ fatal("Couldn't fork: %s", strerror(errno));
+
+ if (pid == 0) {
+ permanently_set_uid(pw);
+ if (geteuid() == 0)
+ execl(PASSWD_PROGRAM_PATH, PASSWD_PROGRAM_PATH,
+ pw->pw_name, (char *)NULL);
+ else
+ execl(PASSW...
2001 Oct 31
2
suggested fix for the sigchld race
comments?
alternatives: sigsetjmp(ugly) and pselect(not portable, available)
drawback: additional filedescriptors.
Index: serverloop.c
===================================================================
RCS file: /home/markus/cvs/ssh/serverloop.c,v
retrieving revision 1.82
diff -u -r1.82 serverloop.c
--- serverloop.c 10 Oct 2001 22:18:47 -0000 1.82
+++ serverloop.c 11 Oct 2001 18:06:33 -0000
@@
2003 Jul 30
1
[PATCH] Password expiry merge (AIX parts)
...dif
#endif /* !HAVE_OSF_SIA */
+}
+
+/*
+ * Perform generic password change via tty. Like do_pam_chauthtok(),
+ * it throws a fatal error if the password can't be changed.
+ */
+int
+do_tty_change_password(struct passwd *pw)
+{
+ pid_t pid;
+ int status;
+ mysig_t old_signal;
+
+ old_signal = mysignal(SIGCHLD, SIG_DFL);
+
+ if ((pid = fork()) == -1)
+ fatal("Couldn't fork: %s", strerror(errno));
+
+ if (pid == 0) {
+ permanently_set_uid(pw);
+ if (geteuid() == 0)
+ execl(PASSWD_PROGRAM_PATH, PASSWD_PROGRAM_PATH,
+ pw->pw_name, (char *)NULL);
+ else
+ execl(PASSW...
2002 Nov 20
0
[PATCH #9] Password expiration via /bin/passwd.
..._PAM && !HAVE_OSF_SIA */
+}
+
+/*
+ * Perform generic password change via tty
+ * Like do_pam_chauthtok(), it throws a fatal error if the password can't be changed.
+ */
+void
+do_tty_change_password(struct passwd *pw)
+{
+ pid_t pid;
+ int status;
+ mysig_t old_signal;
+
+ old_signal = mysignal(SIGCHLD, SIG_DFL);
+
+ if ((pid = fork()) == -1)
+ fatal("Couldn't fork: %s", strerror(errno));
+
+ if (pid == 0) {
+ setuid(pw->pw_uid);
+ if (geteuid() == 0)
+ execl(PASSWD_PROGRAM_PATH, "passwd", pw->pw_name,
+ (char *)NULL);
+ else
+ execl(PASSWD_P...