Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@cs.Helsinki.FI>
Subject: Re: 2.1.4 axp exception patches
Date: Sat, 19 Oct 1996 12:25:58 +0300 (EET DST)	[thread overview]
Message-ID: <e8d6a2b529e206618fb5a9afa24c453b.axp-list@archive.invalid> (raw)
In-Reply-To: <199610180804.DAA09414@atheist.tamu.edu>

Oops. The 2.1.4 axp exceptions patches had a silly bug in <asm/segment.h> for
the alpha: the "strncpy_from_user()" macro has a "{" for the if-test, but no
corresponding "}".

It looks something like this:

	if (__access_ok(((long)__sfu_from),__sfu_len,__access_mask)) {

and you should just delete the "{" (or add a closing brace after the call 
to __strncpy_from_user()).

I didn't get to test the patches on an alpha before I released 2.1.5, so the
clean 2.1.5 sources simply won't compile fs/namei.c without the fix. I only
now tried to compile it all on my ev5 - I haven't rebooted to make sure it
actually works, but at least the above fixes the compile.  Oops,

		Linus

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

  parent reply	other threads:[~1996-10-19  9:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199610180804.DAA09414@atheist.tamu.edu>
1996-10-18  8:56 ` 2.1.4 axp exception patches Linus Torvalds
1996-10-19  9:25 ` Linus Torvalds [this message]
1996-10-18  8:04 Richard Henderson
read-only archive

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