From: Rich Sahlender <rsahlen@voicenet.com>
To: ultralinux@vger.kernel.org
Subject: Re: 2.1.126 still no sparc64 autofsu
Date: Sat, 14 Nov 1998 15:45:30 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-91107867319330@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-91107863319189@msgid-missing>
H. Peter Anvin wrote:
>
> Why is the "long" a different size in kernel and user space? That
> seems buggy. It's an easy thing to fix, but it seems like the Wrong
> Thing[TM].
I tend to agree it's buggy. I would expect the long to generate a 32
bit int even in the 64 bit kernel space unless you specifically ask
for a 64 bit long .ie. suns 'long long'. This would keep things
downward/backward compatible.
>
> Changing that to "int" would be just fine, *except* it would break the
> protocol for all other platforms.
>
I was going to provide a patch to do something like this, but unless I
misunderstood Alan I think he said there are ioctl's which can be used
to convert the 64 bit structs while passing to 32 bit user space. I'm
getting lost finding them though...
Anyway, I guess this is only a problem while were're still limited to
32 bit user space with 64 bit kernels.
next prev parent reply other threads:[~1998-11-14 15:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-14 8:17 2.1.126 still no sparc64 autofsu H. Peter Anvin
1998-11-14 15:45 ` Rich Sahlender [this message]
1998-11-14 19:53 ` Jakub Jelinek
1998-11-15 0:52 ` David S. Miller
1998-11-15 23:49 ` H. Peter Anvin
1998-11-15 23:54 ` David S. Miller
1998-11-16 6:47 ` H. Peter Anvin
1998-11-16 6:48 ` Jakub Jelinek
1998-11-16 7:57 ` Jakub Jelinek
1998-11-16 8:37 ` H. Peter Anvin
1998-11-16 20:33 ` Rich Sahlender
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=marc-linux-ultrasparc-91107867319330@msgid-missing \
--to=rsahlen@voicenet.com \
--cc=ultralinux@vger.kernel.org \
/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.