Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Robert Harley <Robert.Harley@inria.fr>
To: axp-list@redhat.com
Subject: Re: Kernel Oops 0
Date: Wed, 14 Oct 1998 11:18:32 +0200 (MET DST)	[thread overview]
Message-ID: <199810140918.LAA23579@pauillac.inria.fr> (raw)

The one and only Jay Estabrook wrote:
>Think about what "ps" [...] might be attempting to do - access kernel
>data structures via /dev/kmem. On the Alpha, we can't allow a user
>process to "cli()", [...].  This makes it possible for things in those
>data structures to change unbeknownst (:-) to "ps",
>[...]
>Anyone have any ideas about how to work around this?

Replace the interrupt munging with a semaphore, perhaps?  Or write a
privileged function to block interrupts and extract the data for ps
and friends?  Or make them check that the addresses they got are valid
before dereferencing them?

Just some random suggestions...

Rob.


             reply	other threads:[~1998-10-14  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-14  9:18 Robert Harley [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-10-13 16:56 Kernel Oops 0 Greg Lindahl
1998-10-13  7:59 Gavin
1998-10-13 13:29 ` Jay.Estabrook
1998-10-15 22:07   ` 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