Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* new axp-diff
@ 1996-09-08  6:45 David Mosberger-Tang
  0 siblings, 0 replies; only message in thread
From: David Mosberger-Tang @ 1996-09-08  6:45 UTC (permalink / raw)


There is now a new kernel patch available at:

 ftp://ftp.azstarnet.com/pub/linux/axp/sys/axp-diffs-2.0.18.gz

Pre-compiled kernels (configured to my taste, so your mileage may
vary) are available in the same directory under the names
vmlinux-2.0.18-{noname,cabrio,alcor}.gz.  Only the Alcor kernel has
been tested so far, though I do not expect problems with the others.

There is one important change in this patch, and it deserves to be
highlighted:

WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

Some of the structures used by the SysV IPC were declared incorrectly
in the kernel.  For example, struct ipc_perm used "short"s for
user/group ids when they should be ints instead (on the Alpha
anyway---the portable way of declaring those is to use uid_t etc).

What this means is that old ECOFF apps using shared memory MAY BREAK.
I say "may" because only a few, relatively seldom used syscalls are
affected (shmctl, for example).  One app that is positively known to
be affected is the X server.  Quake uses shared memory too, but
testing indicates that it is not affected by this change
(nevertheless, you'd need a recompiled X server to run quake since it
excercises the shared memory code in the X server).

The good news is that glibc "accidentally" had those declarations
right, so there is no need to recompile any glibc apps (however, you
might still want to apply Richard's latest patch to fix the "accident"
that caused this to work properly; every once in a while, two wrongs
do make a right it seems...).

Anyhow, if you're using ECOFF and have no plans on upgrading to ELF
anytime soon, you probably will not want to use this patch.

Thanks to Richard and Jay for tracking down and fixing this bug.  We
all hope this was the last surprise for a while.

Cheers,
	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-08  6:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-08  6:45 new axp-diff David Mosberger-Tang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox