Displaying 7 results from an estimated 7 matches for "compat_init_setproctitl".
Did you mean:
compat_init_setproctitle
2011 Feb 07
1
[PATCH] ssh: set proctitle for mux master
...ETPROCTITLE
+ /* Prepare for later setproctitle emulation */
+ {
+ /* Save argv. Duplicate so setproctitle emulation doesn't clobber it */
+ char **saved_argv = xcalloc(ac + 1, sizeof(*saved_argv));
+ for (i = 0; i < ac; i++)
+ saved_argv[i] = xstrdup(av[i]);
+ saved_argv[i] = NULL;
+ compat_init_setproctitle(ac, av);
+ av = saved_argv;
+ }
+#endif
+
+ /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
+ sanitise_stdfd();
+
/*
* Discard other fds that are hanging around. These can cause problem
* with backgrounded ssh processes started by ControlPersist.
@@ -965,6 +978,7 @@ con...
2011 Mar 28
15
[Bug 1883] New: use setproctitle for persistent mux master
https://bugzilla.mindrot.org/show_bug.cgi?id=1883
Summary: use setproctitle for persistent mux master
Product: Portable OpenSSH
Version: 5.8p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2004 Feb 24
3
[Bug 529] sshd doesn't work correctly after SIGHUP
...suse.cz 2004-02-24 21:28 -------
This problem is re-appeared in new 3.7.1p2 version with added followed lines on
position 832:
#ifndef HAVE_SETPROCTITLE
/* Prepare for later setproctitle emulation */
compat_init_setproctitle(ac, av);
av = saved_argv;
^^^^^^^^^^^^^^^^
#endif
The new patch follows in attachment.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are w...
2003 Jan 19
1
OpenSSH build failure on NetBSD 1.5.2
...Attached patch fixes it, but I'm not sure it does it the right way.
-Daz.
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I..
-I../../openbsd-compat -I../../openbsd-compat/.. -DHAVE_CONFIG_H -c
../../openbsd-compat/setproctitle.c
../../openbsd-compat/setproctitle.c: In function
`compat_init_setproctitle':
../../openbsd-compat/setproctitle.c:196: `save_argc' undeclared (first
use in this function)
../../openbsd-compat/setproctitle.c:196: (Each undeclared identifier is
reported only once
../../openbsd-compat/setproctitle.c:196: for each function it appears
in.)
../../openbsd-compat/setproct...
2003 Mar 19
1
cvs version / testing
...ral tests
and added more options to the CFLAGS in the Makefile. To
start with, I ran valgrind against sshd & it comes up with
this:
==24959== 112 bytes in 1 blocks are definitely lost in loss
record 297 of 310
==24959== at 0x40164650: malloc (vg_clientfuncs.c:100)
==24959== by 0x807A0D1: compat_init_setproctitle
(setproctitle.c:236)
==24959== by 0x804D606: main (sshd.c:839)
==24959== by 0x403444CD: __libc_start_main (in
/lib/libc-2.2.93.so)
==24959== by 0x804C4E0: (within /opt/openssh/sshd)
==24959==
==24959== LEAK SUMMARY:
==24959== definitely lost: 112 bytes in 1 blocks.
==24959== possibl...
2006 May 04
2
xmalloc(foo*bar) -> xcalloc(foo, bar) for Portable
Hi All.
While wandering in auth-pam.c I noticed that there's a few Portable-specific
escapees from the xmalloc(foo * bar) cleanup.
There's also a "probably can't happen" integer overflow in
ssh-rand-helper.c with the memset:
num_cmds = 64;
- entcmd = xmalloc(num_cmds * sizeof(entropy_cmd_t));
+ entcmd = xcalloc(num_cmds, sizeof(entropy_cmd_t));
2014 Jan 17
15
Call for testing: OpenSSH-6.5
Hi,
OpenSSH 6.5 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This release contains
some substantial new features and a number of bugfixes.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is available in CVS HEAD:
http://www.openbsd.org/anoncvs.html
Portable OpenSSH is