search for: binary_pip

Displaying 11 results from an estimated 11 matches for "binary_pip".

Did you mean: binary_pipe
2000 Sep 02
2
[PATCH]: Cygwin port of 2.2.0p1
...bsd-mktemp.c: Define `open' as `binary_open' when HAVE_CYGWIN is set. - channels.c: Disable check for uid 0 when HAVE_CYGWIN is set. - config.h.in: Add HAVE_CYGWIN. - configure.in: Add *-*-cygwin as target. Call AC_EXEEXT now. - cygwin_util.c: New file containing `binary_open' and `binary_pipe' function. - defines.h: Check for BROKEN_VHANGUP to set USE_VHANGUP. - includes.h: Use HAVE_CYGWIN to care for include files. Define `open' as `binary_open' and `pipe' as `binary_pipe' when HAVE_CYGWIN is set. - loginrec.c: Disable check for uid 0 when HAVE_CYGWIN is s...
2006 Sep 01
0
[PATCH] Cygwin: Avoid implicit declaration warnings
...too long. When compiling openbsd-compat/bsd-cygwin_util.c, the following warnings appear: openbsd-compat/bsd-cygwin_util.c: In function `binary_open': openbsd-compat/bsd-cygwin_util.c:67: warning: implicit declaration of function `open' openbsd-compat/bsd-cygwin_util.c: In function `binary_pipe': openbsd-compat/bsd-cygwin_util.c:73: warning: implicit declaration of function `pipe' The below patch fixes that. Index: openbsd-compat/bsd-cygwin_util.c =================================================================== RCS file: /cvs/openssh/openbsd-compat/bsd-cygwin_util.c,v retr...
2001 Nov 20
1
[PATCH]: Allow SSHD to install as service under WIndows 9x/Me
...file: /cvs/openssh_cvs/openbsd-compat/bsd-cygwin_util.h,v retrieving revision 1.4 diff -u -p -r1.4 bsd-cygwin_util.h --- openbsd-compat/bsd-cygwin_util.h 2001/04/13 14:28:43 1.4 +++ openbsd-compat/bsd-cygwin_util.h 2001/11/20 12:44:23 @@ -26,6 +26,7 @@ int binary_open(const char *filename, in int binary_pipe(int fd[2]); int check_nt_auth(int pwd_authenticated, uid_t uid); int check_ntsec(const char *filename); +void register_9x_service(void); #define open binary_open #define pipe binary_pipe Index: openbsd-compat/daemon.c =================================================================== RCS fi...
2001 Dec 18
2
[PATCH]: Fix potential security hole in Cygwin version
...======================== RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-cygwin_util.c,v retrieving revision 1.6 diff -u -p -r1.6 bsd-cygwin_util.c --- openbsd-compat/bsd-cygwin_util.c 27 Nov 2001 01:19:44 -0000 1.6 +++ openbsd-compat/bsd-cygwin_util.c 18 Dec 2001 19:07:14 -0000 @@ -58,7 +58,7 @@ int binary_pipe(int fd[2]) return ret; } -int check_nt_auth(int pwd_authenticated, uid_t uid) +int check_nt_auth(int pwd_authenticated, struct passwd *pw) { /* * The only authentication which is able to change the user @@ -73,6 +73,8 @@ int check_nt_auth(int pwd_authenticated, */ static int has_crea...
2000 Aug 08
1
[PATCH] Updated patch to Cygwin port of 2.1.1p4
...bsd-mktemp.c: Define `open' as `binary_open' when HAVE_CYGWIN is set. - channels.c: Disable check for uid 0 when HAVE_CYGWIN is set. - config.h.in: Add HAVE_CYGWIN. - configure.in: Add *-*-cygwin as target. Call AC_EXEEXT now. - cygwin_util.c: New file containing `binary_open' and `binary_pipe' function. - includes.h: Use HAVE_CYGWIN to care for include files. Define `open' as `binary_open' and `pipe' as `binary_pipe' when HAVE_CYGWIN is set. - loginrec.c: Disable check for uid 0 when HAVE_CYGWIN is set. - pty.c: Disable HAVE_VHANGUP explicitely if HAVE_CYGW...
2001 May 23
1
[PATCH]: Drop the use of `check_nt_auth'.
...===================================== RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-cygwin_util.c,v retrieving revision 1.4 diff -u -p -r1.4 bsd-cygwin_util.c --- openbsd-compat/bsd-cygwin_util.c 2001/04/13 14:28:42 1.4 +++ openbsd-compat/bsd-cygwin_util.c 2001/05/23 09:40:50 @@ -54,22 +54,6 @@ int binary_pipe(int fd[2]) return ret; } -int check_nt_auth(int pwd_authenticated, uid_t uid) -{ - /* - * The only authentication which is able to change the user - * context on NT systems is the password authentication. So - * we deny all requsts for changing the user context if another - * authentication m...
2001 Apr 02
1
[PATCH]: scp could hang in Cygwin
...eving revision 1.3 diff -u -p -r1.3 bsd-cygwin_util.h --- openbsd-compat/bsd-cygwin_util.h 2001/02/18 01:30:56 1.3 +++ openbsd-compat/bsd-cygwin_util.h 2001/04/02 19:47:14 @@ -20,6 +20,8 @@ #ifdef HAVE_CYGWIN +#include <io.h> + int binary_open(const char *filename, int flags, ...); int binary_pipe(int fd[2]); int check_nt_auth(int pwd_authenticated, uid_t uid); -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen at redhat.com
2011 Aug 14
10
Call for testing: OpenSSH-5.9
Hi, OpenSSH 5.9 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This release contains a couple of new features and changes and bug fixes. Testing of the new sandboxed privilege separation mode (see below) would be particularly appreciated. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The
2004 Apr 18
0
[PATCH] bsd-cygwin_util.c: Relax pubkey authentication prerequisites
...========================== RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-cygwin_util.c,v retrieving revision 1.11 diff -p -u -r1.11 bsd-cygwin_util.c --- openbsd-compat/bsd-cygwin_util.c 7 Aug 2003 06:23:43 -0000 1.11 +++ openbsd-compat/bsd-cygwin_util.c 18 Apr 2004 10:13:03 -0000 @@ -77,6 +77,7 @@ binary_pipe(int fd[2]) #define HAS_CREATE_TOKEN 1 #define HAS_NTSEC_BY_DEFAULT 2 +#define HAS_CREATE_TOKEN_WO_NTSEC 3 static int has_capability(int what) @@ -84,6 +85,7 @@ has_capability(int what) static int inited; static int has_create_token; static int has_ntsec_by_default; + static int has_...
2002 Jul 31
0
[PATCH]: Match Cygwin version check to reality
...&& !strstr((c),"nontsec")) +#define ntsec_off(c) ((c) && strstr((c),"nontsec")) #define ntea_on(c) ((c) && strstr((c),"ntea") && !strstr((c),"nontea")) #if defined(open) && open == binary_open @@ -74,6 +75,56 @@ int binary_pipe(int fd[2]) return ret; } +#define HAS_CREATE_TOKEN 1 +#define HAS_NTSEC_BY_DEFAULT 2 + +static int has_capability(int what) +{ + /* has_capability() basically calls uname() and checks if + specific capabilities of Cygwin can be evaluated from that. + This simplifies the calling function...
2002 Nov 09
1
[PATCH] Two Cygwin related patches
...&& !strstr((c),"nontsec")) +#define ntsec_off(c) ((c) && strstr((c),"nontsec")) #define ntea_on(c) ((c) && strstr((c),"ntea") && !strstr((c),"nontea")) #if defined(open) && open == binary_open @@ -74,6 +75,56 @@ int binary_pipe(int fd[2]) return ret; } +#define HAS_CREATE_TOKEN 1 +#define HAS_NTSEC_BY_DEFAULT 2 + +static int has_capability(int what) +{ + /* has_capability() basically calls uname() and checks if + specific capabilities of Cygwin can be evaluated from that. + This simplifies the calling function...