Displaying 6 results from an estimated 6 matches for "cmsg_align".
2004 Jun 15
1
Re: [dovecot-cvs] dovecot/src/lib fdpass.c,1.28,1.29
....c,v
> retrieving revision 1.28
> retrieving revision 1.29
> diff -u -d -r1.28 -r1.29
> --- fdpass.c 1 Dec 2003 19:07:34 -0000 1.28
> +++ fdpass.c 14 Jun 2004 23:42:23 -0000 1.29
> @@ -31,12 +31,20 @@
> #include <sys/uio.h>
>
> #ifndef CMSG_SPACE
> -# define CMSG_ALIGN(len) \
> +# if defined(_CMSG_DATA_ALIGN) && defined(_CMSG_HDR_ALIGN) /* for Solaris */
> +# define CMSG_ALIGN(len) _CMSG_DATA_ALIGN(len)
> +# define CMSG_SPACE(len) \
> + (_CMSG_DATA_ALIGN(len) + _CMSG_HDR_ALIGN(sizeof(struct cmsghdr)))
> +# define CMSG_LEN(len) \...
2002 Jun 27
1
(no subject)
Hi Phil,
answer to your questions:
> Which specific Slackware? Too embarrassed to say?
Really, really don't know exactly. :)
Installed approx. 5 yeras ago (maybe 4.5, 4.6, maybe 5.0 ... who knows now ... )
> Which OpenSSL? 0.9.6a? 0.9.6b? 0.9.6c? 0.9.6d?
Only info I found is 0.9.6. Let's suppose it's 0.9.6. ;)
> How about telling me how long you're going
2010 Mar 13
1
klibc build trouble
as the next klibc release 1.5.16 looks like shaping up,
I have a trouble to build that for Debian.
currently I build depent on linux-libc-dev, I don't know what
against I can build latest klibc, see
klibc fails to build due too:
make -C linux/ ARCH=x86_64 INSTALL_HDR_PATH=debian/tmp/usr/lib/klibc/ headers_install
make[3]: *** No rule to make target `headers_install'. Stop.
make[2]: ***
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
...ol */
+ int cmsg_type; /* protocol-specific type */
+};
+
+/*
+ * Ancilliary data object information MACROS
+ * Table 5-14 of POSIX 1003.1g
+ */
+
+#define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg))
+#define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg))
+
+#define CMSG_ALIGN(len) ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) )
+
+#define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr))))
+#define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len))
+#define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
+
+#...
2002 Jan 21
1
help for tftp-hpa with libc5
...g_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __THROW
{
if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
/* The kernel header does this so there may be a reason. */
return 0;
__cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
+ CMSG_ALIGN (__cmsg->cmsg_len));
if ((unsigned char *) (__cmsg + 1) >= ((unsigned char *)
__mhdr->msg_control
+ __mhdr->msg_controllen)
|| ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len)
>= ((unsigned char *) __mhdr->msg_...
2004 Jul 22
3
Dovecot auth problem on FreeBSD 4.10
Hello. I am trying to setup Dovecot on an Alpha running FreeBSD
4.10. I am simply trying the imap/pop3 protocols at this time. But
with both protocols the log message I get is:
pop3-login: fd_send(5) failed: Bad file descriptor
dovecot: child 275 (login) returned error 89
or
imap-login: fd_send(5) failed: Bad file descriptor
dovecot: child 275 (login) returned error 89
I have tried