1. 13 2月, 2007 1 次提交
  2. 03 2月, 2007 3 次提交
  3. 06 1月, 2007 1 次提交
  4. 02 1月, 2007 1 次提交
  5. 21 12月, 2006 1 次提交
  6. 20 12月, 2006 1 次提交
  7. 08 12月, 2006 14 次提交
  8. 27 10月, 2006 1 次提交
  9. 14 10月, 2006 8 次提交
  10. 10 7月, 2006 1 次提交
  11. 29 6月, 2006 1 次提交
  12. 27 6月, 2006 3 次提交
  13. 14 6月, 2006 1 次提交
  14. 19 5月, 2006 1 次提交
  15. 02 4月, 2006 1 次提交
  16. 01 4月, 2006 1 次提交
    • O
      [PATCH] Don't pass boot parameters to argv_init[] · 9b41046c
      OGAWA Hirofumi 提交于
      The boot cmdline is parsed in parse_early_param() and
      parse_args(,unknown_bootoption).
      
      And __setup() is used in obsolete_checksetup().
      
      	start_kernel()
      		-> parse_args()
      			-> unknown_bootoption()
      				-> obsolete_checksetup()
      
      If __setup()'s callback (->setup_func()) returns 1 in
      obsolete_checksetup(), obsolete_checksetup() thinks a parameter was
      handled.
      
      If ->setup_func() returns 0, obsolete_checksetup() tries other
      ->setup_func().  If all ->setup_func() that matched a parameter returns 0,
      a parameter is seted to argv_init[].
      
      Then, when runing /sbin/init or init=app, argv_init[] is passed to the app.
      If the app doesn't ignore those arguments, it will warning and exit.
      
      This patch fixes a wrong usage of it, however fixes obvious one only.
      Signed-off-by: NOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9b41046c