1. 12 10月, 2012 2 次提交
    • J
      kdb,vt_console: Fix missed data due to pager overruns · 17b572e8
      Jason Wessel 提交于
      It is possible to miss data when using the kdb pager.  The kdb pager
      does not pay attention to the maximum column constraint of the screen
      or serial terminal.  This result is not incrementing the shown lines
      correctly and the pager will print more lines that fit on the screen.
      Obviously that is less than useful when using a VGA console where you
      cannot scroll back.
      
      The pager will now look at the kdb_buffer string to see how many
      characters are printed.  It might not be perfect considering you can
      output ASCII that might move the cursor position, but it is a
      substantially better approximation for viewing dmesg and trace logs.
      
      This also means that the vt screen needs to set the kdb COLUMNS
      variable.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      17b572e8
    • J
      kgdboc: Accept either kbd or kdb to activate the vga + keyboard kdb shell · 24b8592e
      Jason Wessel 提交于
      It is a common enough mistake for people to specify "kdb" when they
      meant to type "kbd" that the kgdboc can just accept both since they
      both mean the same thing anyway.  Specifically it is for the case
      where you want kdb to be active on your graphics console + keyboard
      (where kbd was the original abbreviation for keyboard).
      
      With this change kgdboc will now accept either to mean the same thing:
         kgdboc=kbd
         kgdboc=kdb
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      24b8592e
  2. 04 10月, 2012 1 次提交
  3. 27 9月, 2012 19 次提交
  4. 22 9月, 2012 6 次提交
  5. 21 9月, 2012 1 次提交
  6. 19 9月, 2012 2 次提交
  7. 18 9月, 2012 3 次提交
    • G
      tty/serial: remove CONFIG_EXPERIMENTAL dependencies · 8b77562b
      Greg Kroah-Hartman 提交于
      As discussed at the kernel summit this year, CONFIG_EXPERIMENTAL means
      nothing, so let's get rid of it.
      
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8b77562b
    • E
      userns: Convert audit to work with user namespaces enabled · cca080d9
      Eric W. Biederman 提交于
      - Explicitly format uids gids in audit messges in the initial user
        namespace. This is safe because auditd is restrected to be in
        the initial user namespace.
      
      - Convert audit_sig_uid into a kuid_t.
      
      - Enable building the audit code and user namespaces at the same time.
      
      The net result is that the audit subsystem now uses kuid_t and kgid_t whenever
      possible making it almost impossible to confuse a raw uid_t with a kuid_t
      preventing bugs.
      
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Eric Paris <eparis@redhat.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      cca080d9
    • E
      userns: Convert the audit loginuid to be a kuid · e1760bd5
      Eric W. Biederman 提交于
      Always store audit loginuids in type kuid_t.
      
      Print loginuids by converting them into uids in the appropriate user
      namespace, and then printing the resulting uid.
      
      Modify audit_get_loginuid to return a kuid_t.
      
      Modify audit_set_loginuid to take a kuid_t.
      
      Modify /proc/<pid>/loginuid on read to convert the loginuid into the
      user namespace of the opener of the file.
      
      Modify /proc/<pid>/loginud on write to convert the loginuid
      rom the user namespace of the opener of the file.
      
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Eric Paris <eparis@redhat.com>
      Cc: Paul Moore <paul@paul-moore.com> ?
      Cc: David Miller <davem@davemloft.net>
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      e1760bd5
  8. 17 9月, 2012 5 次提交
  9. 14 9月, 2012 1 次提交