Displaying 13 results from an estimated 13 matches for "have_setproctitle".
2003 Jan 19
1
OpenSSH build failure on NetBSD 1.5.2
...at/setproctitle.c:216: `ps_buffer_size' undeclared
(first use in this function)
../../openbsd-compat/setproctitle.c:223: `environ' undeclared (first use
in this function)
*** Error code 1
$ grep SETPROCTITLE config.h
/* #undef SETPROCTITLE_STRATEGY */
/* #undef SETPROCTITLE_PS_PADD
#define HAVE_SETPROCTITLE 1
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
Index: openbsd-compat/setproctitle.c
=...
2009 Dec 09
1
Compiling dovecot 2.0 revision 10435:73679e39f072 on AIX
Trying to compile and getting this error:
"process-title.c", line 139.14: 1506-045 (S) Undeclared identifier argv_memblock.
"process-title.c", line 140.14: 1506-045 (S) Undeclared identifier environ_memblock.
gmake[4]: *** [process-title.lo] Error 1
HAVE_SETPROCTITLE is undefined in config.h
-Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2541 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20091209/f6592545/attachment-0002.bin&g...
2004 May 01
2
[Bug 857] off-by-one error in setting argv[0]
http://bugzilla.mindrot.org/show_bug.cgi?id=857
Summary: off-by-one error in setting argv[0]
Product: Portable OpenSSH
Version: 3.8.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P3
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: Al.Smith at
2011 Feb 07
1
[PATCH] ssh: set proctitle for mux master
...sh.c
index d32ef78..8ebcc88 100644
--- a/ssh.c
+++ b/ssh.c
@@ -230,12 +230,25 @@ main(int ac, char **av)
struct servent *sp;
Forward fwd;
- /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
- sanitise_stdfd();
-
__progname = ssh_get_progname(av[0]);
init_rng();
+#ifndef HAVE_SETPROCTITLE
+ /* 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...
2000 Jul 17
0
patch for getting 2.1.1p4 to compile on SunOS 4
...arc4random_stir(void)
-{
- unsigned char rand_buf[32];
-
- if (rc4 == NULL)
- rc4 = xmalloc(sizeof(*rc4));
-
- seed_rng();
- RAND_bytes(rand_buf, sizeof(rand_buf));
-
- rc4_key(rc4, rand_buf, sizeof(rand_buf));
- memset(rand_buf, 0, sizeof(rand_buf));
-}
-#endif /* !HAVE_ARC4RANDOM */
-
#ifndef HAVE_SETPROCTITLE
void setproctitle(const char *fmt, ...)
{
@@ -159,8 +78,13 @@
#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
#if !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST)
-const char *strerror(void)
+const char *strerror(int e)
{
- return(sys_errlist[errno]);
+ exte...
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
...------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From postadal at 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;
^^^^^^^^^^^^^^^^...
2003 Apr 02
0
[Bug 529] sshd doesn't work correctly after SIGHUP
...init_rng();
+
+ /* Save argv. Duplicate so setproctitle emulation doesn't clobber it */
+ saved_argc = ac;
saved_argv = av;
+ saved_argv = xmalloc(sizeof(*saved_argv) * ac);
+ for (i = 0; i < ac; i++)
+ saved_argv[i] = xstrdup(av[i]);
+
+#ifndef HAVE_SETPROCTITLE
-------------------
If sshd uses to reload service after receive SIGHUP, it use execve to start sshd
with same parameters, which are save in saved_argv (note: it is missing in older
release, which caused problems, if some agrumends was passed to sshd throught
command line).,
therefore saved_argv...
1999 Dec 21
0
Problem with UTMP recording
...VE_MKDTEMP */
/* Define if you have the openpty function. */
/* #undef HAVE_OPENPTY */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
/* Define if you have the setlogin function. */
/* #undef HAVE_SETLOGIN */
/* Define if you have the setproctitle function. */
/* #undef HAVE_SETPROCTITLE */
/* Define if you have the snprintf function. */
#define HAVE_SNPRINTF 1
/* Define if you have the strlcat function. */
/* #undef HAVE_STRLCAT */
/* Define if you have the strlcpy function. */
/* #undef HAVE_STRLCPY */
/* Define if you have the vsnprintf function. */
#define HAVE_VSNPRINT...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...undef HAVE_SECURITY_PAM_APPL_H */
#define HAVE_SENDMSG 1
/* #undef HAVE_SETAUTHDB */
/* #undef HAVE_SETDTABLESIZE */
#define HAVE_SETEGID 1
#define HAVE_SETENV 1
#define HAVE_SETEUID 1
#define HAVE_SETGROUPS 1
/* #undef HAVE_SETLOGIN */
/* #undef HAVE_SETLUID */
/* #undef HAVE_SETPCRED */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_SETRESUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSID 1
#define HAVE_SETUTENT 1
#define HAVE_SETUTXENT 1
#define HAVE_SETVBUF 1
#define HAVE_SHADOW_H 1
#define HAVE_SIGACTION 1
#define HAVE_SIGVEC 1
#define...
2019 Oct 29
0
auth logging or auditing
...?? HAVE_SECURE_MKSTEMP
?? HAVE_SELECT
?? HAVE_SENDFILE
?? HAVE_SENDMSG
?? HAVE_SETBUFFER
?? HAVE_SETEGID
?? HAVE_SETENV
?? HAVE_SETENV_DECL
?? HAVE_SETEUID
?? HAVE_SETGID
?? HAVE_SETGROUPS
?? HAVE_SETHOSTENT
?? HAVE_SETITIMER
?? HAVE_SETLINEBUF
?? HAVE_SETLOCALE
?? HAVE_SETMNTENT
?? HAVE_SETPGID
?? HAVE_SETPROCTITLE
?? HAVE_SETPROCTITLE_INIT
?? HAVE_SETREGID
?? HAVE_SETRESGID
?? HAVE_SETRESGID_DECL
?? HAVE_SETRESUID
?? HAVE_SETRESUID_DECL
?? HAVE_SETREUID
?? HAVE_SETSID
?? HAVE_SETUID
?? HAVE_SET_MENU_ITEMS
?? HAVE_SHARED_MMAP
?? HAVE_SHMGET
?? HAVE_SHM_OPEN
?? HAVE_SHOW_PANEL
?? HAVE_SIGACTION
?? HAVE_SIGBLOC...
2020 May 29
2
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
Samba 4.12.1, single server with AD+DC on Ubuntu 18.04. Filesystem:
/dev/sdb1 on /home type ext4 (rw,relatime,stripe=32750,data=ordered)
It all work as expected, but I occasionally get the error in subject which denies access to shares. Restarting Samba will restore functionality.
What can be the cause of this problem?
Thanks.
[2020/05/27 18:24:35.795379, 8]
2020 Jun 03
3
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
...HAVE_SECURE_MKSTEMP
HAVE_SELECT
HAVE_SENDFILE
HAVE_SENDMSG
HAVE_SETBUFFER
HAVE_SETEGID
HAVE_SETENV
HAVE_SETENV_DECL
HAVE_SETEUID
HAVE_SETGID
HAVE_SETGROUPS
HAVE_SETHOSTENT
HAVE_SETITIMER
HAVE_SETLINEBUF
HAVE_SETLOCALE
HAVE_SETMNTENT
HAVE_SETPGID
HAVE_SETPROCTITLE
HAVE_SETPROCTITLE_INIT
HAVE_SETREGID
HAVE_SETRESGID
HAVE_SETRESGID_DECL
HAVE_SETRESUID
HAVE_SETRESUID_DECL
HAVE_SETREUID
HAVE_SETSID
HAVE_SETUID
HAVE_SET_MENU_ITEMS
HAVE_SHARED_MMAP
HAVE_SHOW_PANEL
HAVE_SIGACTION
HAVE_SIGBLOCK
HAVE_SIGGETMASK
HAVE_SIG...