Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | patch: openssh 3.9p1 on hp-ux 10.20 |
|---|---|
| Date: | Fri, 17 Sep 2004 10:18:37 -0400 |
OpenSSH 3.9p1 does not compile on HP-UX 10.20 due to the code which was added in includes.h to work around HP-UX 11.11's behavior. The following patch lets it work on HP-UX 10.20. It should also work on HP-UX 11.11, but I can't test that (no HP-UX 11 boxes here). It uses code from http://www.faqs.org/faqs/hp/hpux-faq/section-213.html . The copyright at http://www.faqs.org/faqs/hp/hpux-faq/ is decidedly not free, but I'm hoping the copyright holder will permit the code to be used freely. I've CC'ed him on this mail. --- includes.h.orig Fri Sep 17 10:03:08 2004 +++ includes.h Fri Sep 17 09:52:03 2004 @@ -186,8 +186,20 @@ * of getspnam when _INCLUDE__STDC__ is defined, so we unset it here. */ #ifdef __hpux -# ifdef _INCLUDE__STDC__ -# undef _INCLUDE__STDC__ +# include <sys/privgrp.h> +# if defined(PRIV_PSET) +# define _hpux_11i +# elif defined(PRIV_SPUCTL) +# define __hpux_11x +# elif defined(PRIV_SERIALIZE) +# define __hpux_10x +# elif defined(PRIV_SETRUGID) +# define __hpux_9x +# endif +# if defined(_hpux_11i) || defined(__hpux_11x) +# ifdef _INCLUDE__STDC__ +# undef _INCLUDE__STDC__ +# endif # endif #endif
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: scp to pipe, Robert Hajime Lanning |
|---|---|
| Next by Date: | Re: Locking down ssh config in large env, Derek Martin |
| Previous by Thread: | Both RSA and DSA host keys needed?, Andrei Badea |
| Next by Thread: | Re: patch: openssh 3.9p1 on hp-ux 10.20, Damien Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |