All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Mishin <dim@sw.ru>
To: Andreas Schwab <schwab@suse.de>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: compat_xt_counters is not compatible
Date: Sat, 15 Apr 2006 20:14:45 +0400	[thread overview]
Message-ID: <200604152014.45923.dim@sw.ru> (raw)
In-Reply-To: <jeejzykjpa.fsf@sykes.suse.de>

Could you give more details on what's wrong?

dim@dhcp0-24:~> cat test.c
#include <linux/types.h>

struct x
{
        __u64 ptr;
        __u32 ptr2;
};

int main(int argc, char *argv[])
{
        printf("%d\n", sizeof(struct x));
        return 0;
}
dim@dhcp0-24:~>  gcc -m32 -o test test.c
dim@dhcp0-24:~> ./test 
12
dim@dhcp0-24:~> gcc -o test test.c
dim@dhcp0-24:~> ./test 
16
dim@dhcp0-24:~> uname -p
x86_64

On Saturday 15 April 2006 18:16, Andreas Schwab wrote:
> Dmitry Mishin <dim@sw.ru> writes:
> > compat_xt_counters should be used only for 32bit processes, which has 4
> > byte alignment.
>
> This is wrong.
>
> Andreas.

-- 
Thanks,
Dmitry.

  reply	other threads:[~2006-04-15 16:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-14 17:12 compat_xt_counters is not compatible Andreas Schwab
2006-04-15 14:11 ` Dmitry Mishin
2006-04-15 14:16   ` Andreas Schwab
2006-04-15 16:14     ` Dmitry Mishin [this message]
2006-04-15 17:32       ` Andreas Schwab
2006-04-15 18:38         ` Dmitry Mishin
2006-04-15 22:09           ` Andreas Schwab
2006-04-16  6:28             ` Dmitry Mishin
2006-04-16 11:41               ` Andreas Schwab
2006-04-17 20:13               ` David S. Miller
2006-04-15 16:37 ` Patrick McHardy
2006-04-15 17:31   ` Andreas Schwab
2006-04-15 17:52     ` Patrick McHardy
2006-04-16  7:24       ` David S. Miller
2006-04-16 15:07         ` Patrick McHardy
2006-04-17  5:24           ` David S. Miller
2006-04-17 10:59             ` [RFC][PATCH] compat_uint64_t type Dmitry Mishin
2006-04-17 11:51               ` Andreas Schwab
2006-04-17 12:04                 ` Dmitry Mishin
2006-04-17 14:05                   ` Andreas Schwab
2006-04-17 15:47               ` Patrick McHardy
2006-04-17 16:03                 ` Patrick McHardy
2006-04-17 20:20                   ` David S. Miller
2006-04-21  0:07                     ` Patrick McHardy
     [not found]                 ` <jehd4sdvh1.fsf@sykes.suse.de>
2006-04-17 17:12                   ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200604152014.45923.dim@sw.ru \
    --to=dim@sw.ru \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.