Skip to content
Snippets Groups Projects
  1. Jan 19, 2006
  2. Nov 14, 2005
    • Paolo 'Blaisorblade' Giarrusso's avatar
      [PATCH] uml: fix access_ok · 7a590611
      Paolo 'Blaisorblade' Giarrusso authored
      
      The access_ok_tt() macro is bogus, in that a read access is unconditionally
      considered valid.
      
      I couldn't find in SCM logs the introduction of this check, but I went back to
      2.4.20-1um and the definition was the same.
      
      Possibly this was done to avoid problems with missing set_fs() calls, but
      there can't be any I think because they would fail with SKAS mode.
      TT-specific code is still to check.
      
      Also, this patch joins common code together, and makes the "address range
      wrapping" check happen for all cases, rather than for only some.
      
      This may, possibly, be reoptimized at some time, but the current code doesn't
      seem clever, just confused.
      
      * Important: I've also had to change references to access_ok_{tt,skas} back to
        access_ok - the kernel wasn't that happy otherwise.
      
      Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Acked-by: default avatarJeff Dike <jdike@addtoit.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      7a590611
  3. Sep 21, 2005
  4. Sep 17, 2005
  5. Sep 09, 2005
  6. Jun 25, 2005
  7. May 07, 2005
    • Bodo Stroesser's avatar
      [PATCH] uml: Fix process exit race · 0f7e663d
      Bodo Stroesser authored
      
      tt-mode closes switch_pipes in exit_thread_tt and kills processes in
      switch_to_tt, if the exit_state is EXIT_DEAD or EXIT_ZOMBIE.
      
      In very rare cases the exiting process can be scheduled out after having set
      exit_state and closed switch_pipes (from release_task it calls proc_pid_flush,
      which might sleep).  If this process is to be restarted, UML failes in
      switch_to_tt with:
      
         write of switch_pipe failed, err = 9
      
      We fix this by closing switch_pipes not in exit_thread_tt, but later in
      release_thread_tt.  Additionally, we set switch_pipe[0] = 0 after closing.
      switch_to_tt must not kill "from" process depending on its exit_state, but
      must kill it after release_thread was processed only, so it examines
      switch_pipe[0] for its decision.
      
      Signed-off-by: default avatarBodo Stroesser <bstroesser@fujitsu-siemens.com>
      Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      0f7e663d
    • Jeff Dike's avatar
      [PATCH] uml: __deprecated makes build unnecessarily noisy · f2a0f8b9
      Jeff Dike authored
      
      Remove the __deprecated from verify_area_skas and verify_area_tt.  Since
      verify_area is itself marked __deprecated, and it is the only caller of
      these, then they don't need to be marked.  Marking them only makes the
      build noisier.
      
      Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      f2a0f8b9
  8. May 01, 2005
    • Jesper Juhl's avatar
      [PATCH] misc verify_area cleanups · e49332bd
      Jesper Juhl authored
      
      There were still a few comments left refering to verify_area, and two
      functions, verify_area_skas & verify_area_tt that just wrap corresponding
      access_ok_skas & access_ok_tt functions, just like verify_area does for
      access_ok - deprecate those.
      
      There was also a few places that still used verify_area in commented-out
      code, fix those up to use access_ok.
      
      After applying this one there should not be anything left but finally
      removing verify_area completely, which will happen after a kernel release
      or two.
      
      Signed-off-by: default avatarJesper Juhl <juhl-lkml@dif.dk>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      e49332bd
  9. Apr 16, 2005
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
Loading