search for: msg_accright

Displaying 18 results from an estimated 18 matches for "msg_accright".

Did you mean: msg_accrights
2002 Sep 03
0
[Bug 336] ssh does not compile on Linux with libc5 and 2.0 kernel
http://bugzilla.mindrot.org/show_bug.cgi?id=336 ------- Additional Comments From gaston at ips.edu.ar 2002-09-03 12:27 ------- configure:13893: checking for msg_accrights field in struct msghdr configure:13922: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno- uninitialized -I/usr/local/ssl /include -L/usr/local/ssl/lib conftest.c -lbsd -lz -lcrypto >&5 configure: In function `main': configure:13914: structure has no member named `msg_accrights'...
2002 Jun 29
0
[Bug 321] New: configure does not work when cross compiling
...n() { exit(0); } #endif - ], [ true ], [ AC_DEFINE(BROKEN_SNPRINTF) ] + ], [ true ], [ AC_DEFINE(BROKEN_SNPRINTF) ], + [ AC_DEFINE(BROKEN_SNPRINTF) ] ) fi AC_SUBST(NO_SFTP) @@ -1523,13 +1531,16 @@ dnl make sure we're using the real structure members and not defines AC_CACHE_CHECK([for msg_accrights field in struct msghdr], ac_cv_have_accrights_in_msghdr, [ - AC_TRY_RUN( + AC_TRY_COMPILE( [ #include <sys/types.h> #include <sys/socket.h> #include <sys/uio.h> + ], + [ int main() { #ifdef msg_accrights +#error "msg_accrights is a macro" exit(1); #endif...
2015 Feb 25
2
Call for testing: OpenSSH 6.8
...om incompatible pointer type regress/netcat.c: In function 'decode_addrport': regress/netcat.c:1419: warning: comparison between signed and unsigned make: *** [regress/netcat] Error 1 I guess that is what you meant about structure differences. It looks like on Solaris I can choose between msg_accrights* or msg_control*/msg_flags in struct msghdr. The latter requires _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED which will also require __EXTENSIONS__ or other useful things suddenly go away. Building openssh with CC="gcc -D__EXTENSIONS__ -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED" is possib...
2004 Aug 07
2
segmentation error
...st.c: In function `main': conftest.c:247: error: structure has no member named `f_favail' configure:18976: $? = 1 configure: failed program was: -- configure:19295: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:241: error: structure has no member named `msg_accrights' configure:19301: $? = 1 configure: failed program was: -- configure:19345: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:241: error: structure has no member named `msg_accrights' configure:19351: $? = 1 configure: failed program was: -- configure:1941...
2002 Jun 14
0
[Bug 276] New: openssh-3.2.3p1 does not compile on IRIX - SCM_RIGHTS undefined
...dTo: openssh-unix-dev at mindrot.org ReportedBy: Al.Smith at gold.net SCM_RIGHTS not defined in monitor_fdpass.c. % uname -aR IRIX64 foo 6.5 6.5.16m 04101930 IP27 % gzip -dc openssh-3.2.3p1.tar.gz | tar xf - % cd openssh-3.2.3p1 % ./configure --with-ssl-dir=/usr/local [snip] checking for msg_accrights field in struct msghdr... yes checking for msg_control field in struct msghdr... yes [snip] % make [snip] gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -I/sys/inet/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/b...
2010 Feb 23
0
[PATCH 3/3] Add relevant socket.h definitions
..._PACKET 10 #endif + +typedef unsigned short sa_family_t; + +struct sockaddr { + sa_family_t sa_family; /* address family, AF_xxx */ + char sa_data[14]; /* 14 bytes of protocol address */ +}; + + +/* + * As we do 4.4BSD message passing we use a 4.4BSD message passing + * system, not 4.3. Thus msg_accrights(len) are now missing. They + * belong in an obscure libc emulation or the bin. + */ + +struct msghdr { + void * msg_name; /* Socket name */ + int msg_namelen; /* Length of name */ + struct iovec * msg_iov; /* Data blocks */ + size_t msg_iovlen; /* Number of blocks */ + void * msg_control...
2002 Jun 15
4
[Bug 276] openssh-3.2.3p1 does not compile on IRIX - SCM_RIGHTS undefined
http://bugzilla.mindrot.org/show_bug.cgi?id=276 ------- Additional Comments From stevesk at pobox.com 2002-06-15 14:26 ------- this is what i asked in a message a while back; can an IRIX expert help here? "should we be using a UNIX95 (or whatever) namespace for IRIX? what happens with D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" ------- You are receiving this
2015 Feb 26
4
Call for testing: OpenSSH 6.8
...zero(&cmsgbuf, sizeof(cmsgbuf)); - bzero(&iov, sizeof(iov)); - bzero(&pfd, sizeof(pfd)); - - mh.msg_control = (caddr_t)&cmsgbuf.buf; - mh.msg_controllen = sizeof(cmsgbuf.buf); - cmsg = CMSG_FIRSTHDR(&mh); + memset(&msg, 0, sizeof(msg)); +#ifdef HAVE_ACCRIGHTS_IN_MSGHDR + msg.msg_accrights = (caddr_t)&nfd; + msg.msg_accrightslen = sizeof(nfd); +#else + memset(&cmsgbuf, 0, sizeof(cmsgbuf)); + msg.msg_control = (caddr_t)&cmsgbuf.buf; + msg.msg_controllen = sizeof(cmsgbuf.buf); + cmsg = CMSG_FIRSTHDR(&msg); cmsg->cmsg_len = CMSG_LEN(sizeof(int)); cmsg->cmsg_le...
2006 Nov 01
0
No subject
...uct iovec vec; > char ch = '\0'; > int n; > #ifndef HAVE_ACCRIGHTS_IN_MSGHDR > char tmp[CMSG_SPACE(sizeof(int))]; > struct cmsghdr *cmsg; > #endif > > memset(&msg, 0, sizeof(msg)); > #ifdef HAVE_ACCRIGHTS_IN_MSGHDR > msg.msg_accrights = (caddr_t)&fd; > msg.msg_accrightslen = sizeof(fd); > #else > msg.msg_control = (caddr_t)tmp; > msg.msg_controllen = CMSG_LEN(sizeof(int)); > cmsg = CMSG_FIRSTHDR(&msg); > cmsg->cmsg_len = CMSG_LEN(sizeof(int)); > cmsg->cmsg_l...
2015 Feb 24
4
Call for testing: OpenSSH 6.8
On Tue, 24 Feb 2015, Tom G. Christensen wrote: > I've switched to HEAD in the git repo and it now builds on Solaris > 2.6, 7, 8 and 9 but the testsuite still cannot be built due to the > missing <err.h>. > > I noticed one of the changes was about HOST_NAME_MAX but I don't > think that change addresses the real issue on at least these old > Solaris systems. It
2001 Jun 22
0
Half-Life: Selected Mode is not supported by your card
...checking whether linux/joystick.h uses the Linux 2.2+ API... yes checking whether sys/vfs.h defines statfs... yes checking whether sys/statfs.h defines statfs... yes checking whether sys/mount.h defines statfs... no checking for statfs.f_bfree... yes checking for statfs.f_bavail... yes checking for msg_accrights in struct msghdr... no checking for sun_len in struct sockaddr_un... no checking whether we need to define __i386__... no updating cache ./config.cache creating ./config.status creating Make.rules creating dlls/Makedll.rules creating programs/Makeprog.rules creating Makefile creating console/Makef...
2006 Feb 06
1
Compile warning report of openssh 4.3p1 on Intel Macs
...s checking for ss_family field in struct sockaddr_storage... yes checking for __ss_family field in struct sockaddr_storage... no checking for pw_class field in struct passwd... yes checking for pw_expire field in struct passwd... yes checking for pw_change field in struct passwd... yes checking for msg_accrights field in struct msghdr... no checking for msg_control field in struct msghdr... yes checking if libc defines __progname... yes checking whether gcc implements __FUNCTION__... yes checking whether gcc implements __func__... yes checking whether va_copy exists... yes checking whether __va_copy exist...
2006 Apr 23
0
Configuration Warnings OpenSSH 4.3p2
...o checking for ss_family field in struct sockaddr_storage... yes checking for __ss_family field in struct sockaddr_storage... no checking for pw_class field in struct passwd... yes checking for pw_expire field in struct passwd... yes checking for pw_change field in struct passwd... yes checking for msg_accrights field in struct msghdr... no checking for msg_control field in struct msghdr... yes checking if libc defines __progname... yes checking whether gcc implements __FUNCTION__... yes checking whether gcc implements __func__... yes checking whether va_copy exists... no checking whether __va_copy exists...
2011 Sep 02
1
problems building openssh-5.8p1 on qnx
...yes checking for ss_family field in struct sockaddr_storage... yes checking for __ss_family field in struct sockaddr_storage... no checking for pw_class field in struct passwd... no checking for pw_expire field in struct passwd... no checking for pw_change field in struct passwd... no checking for msg_accrights field in struct msghdr... no checking if struct statvfs.f_fsid is integral type... yes checking for msg_control field in struct msghdr... yes checking if libc defines __progname... yes checking whether ntoarmv7-gcc implements __FUNCTION__... yes checking whether ntoarmv7-gcc implements __func__......
2003 Jun 24
20
[Bug 601] configure script doesen't setup preprocessor flags properly
.... yes checking for ss_family field in struct sockaddr_storage... no checking for __ss_family field in struct sockaddr_storage... no checking for pw_class field in struct passwd... no checking for pw_expire field in struct passwd... no checking for pw_change field in struct passwd... no checking for msg_accrights field in struct msghdr... yes checking for msg_control field in struct msghdr... no checking if libc defines __progname... no checking whether gcc implements __FUNCTION__... yes checking whether gcc implements __func__... yes checking whether getopt has optreset support... no checking if libc defi...
2011 May 14
3
Problems building wine 1.3.20 on Mac os x 10.6.7
...s.f_bfree... yes checking for struct statfs.f_bavail... yes checking for struct statfs.f_frsize... no checking for struct statfs.f_ffree... yes checking for struct statfs.f_favail... no checking for struct statfs.f_namelen... no checking for struct statvfs.f_blocks... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... yes checking for struct sockaddr_un.sun_len... yes checking for scsireq_t.cmd... no checking for sg_io_hdr_t.interface_id... no checking for siginfo_t.si_fd... no checking for struct mtget.mt_blksiz... no checking for struct mtget.mt_gstat... no checkin...
2006 May 18
2
Problems compiling Wine
...f_bfree... yes checking for struct statfs.f_bavail... yes checking for struct statfs.f_frsize... yes checking for struct statfs.f_ffree... yes checking for struct statfs.f_favail... no checking for struct statfs.f_namelen... yes checking for struct statvfs.f_blocks... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... no checking for struct sockaddr_un.sun_len... no checking for scsireq_t.cmd... no checking for sg_io_hdr_t.interface_id... yes checking for siginfo_t.si_fd... yes checking for struct mtget.mt_blksiz... no checking for struct mtget.mt_gstat... yes checki...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...: yes Checking for declaration of readahead : yes Checking for openat : yes Checking if we can use msg_control for passing file descriptors : yes Checking if we can use msg_accrights for passing file descriptors : no Checking for program awk : /usr/bin/awk Checking for header asm/types.h : yes Checking for major macro...