Re: Kernel support for peer-to-peer protection models...

From: Pavel Machek (pavel_at_ucw.cz)
Date: 03/28/04

  • Next message: Jeff Garzik: "Re: [PATCH] speed up SATA"
    Date:	Sun, 28 Mar 2004 20:54:10 +0200
    To: Ivan Godard <igodard@pacbell.net>
    
    

    Hi!

    > > I meant "User Mode Linux" == linux running under linux. Someone
    > > probably has an URL.
    >
    > Sorry - I plead ignorance :-) As the protection is recursive and
    > transitive, I suppose that you could do this. When the UMK (user mode
    > kernel) went to change the "real" machine it would get a protection fault
    > that would be handled by the KMK, emulating the effect. Getting it right and
    > also performant would be tricky though - is UML a necessary feature?

    No. Its just "nice to have", and it does not support too many
    architectures.

    > > Strange system.... If an application does not grant kernel access to
    > > its space, how is kernel supposed to do its job? For example, that
    > > "paranoid DLL" becomes unswappable, then?
    >
    > Pretection is in the *virtual* space, not physical. The physical-page
    > manager (who has the TLB and underlying mapping tables in its space) can see
    > and deal with any physical address, which in turn has the usual aliasing
    > relationship with virtual addresses. Of course, physical is just one of the
    > virtual spaces (and is distinguished solely by the one-to-one
    > virtual-physical mapping). So the protection can be penetrated by anyone who
    > can see the underlying physical page - but that's always true.

    Aha, so some part of kernel exist that has "absolute right". Ok, now I
    can imagine that it can work.

    > > If most changes are in arch/, it should be acceptable...
    >
    > I fear that it might be more extensive than that :-)

    Well, make patch and lets see... That means that 2.8 needs to be your
    target. If impact outside of arch is not "total rewrite", you might
    have a chance. If it is "total rewrite".... well you just need to be
    very clever.
                                                                    Pavel

    -- 
    When do you have a heart between your knees?
    [Johanka's followup: and *two* hearts?]
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Jeff Garzik: "Re: [PATCH] speed up SATA"

    Relevant Pages

    • Re: [pm] fix oops after saving image
      ... > context of the email. ... > the reason for the patch, if they manipulated the BK tools correctly. ... When do you have a heart between your knees? ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [Swsusp-devel] Re: swsusp problems [was Re: Your opinion on the merge?]
      ... Except when error recovery does not work. ... Unfortunately eye-candy makes that choice for you, ... When do you have a heart between your knees? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: -nice tree [was Re: [Swsusp-devel] Re: swsusp problems [was Re: Your opinion on the merge?]]
      ... * smp support (HT notebooks are going to be more common, ... When do you have a heart between your knees? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [pm] fix time after suspend-to-*
      ... Say for cron or some such? ... No timer interrupts, definitely. ... When do you have a heart between your knees? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: partially encrypted filesystem
      ... With compression it is possible a new physical ... JFFS2 is a log structured file system because it's designed ... When do you have a heart between your knees? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)