1. 02 6月, 2014 2 次提交
    • G
      vnc: refuse to set a password with VNC_AUTH_NONE · cf864569
      Gerd Hoffmann 提交于
      Current code silently changes the authentication settings
      in case you try to set a password without password authentication
      turned on.  This is bad.  Return an error instead.
      
      If we want allow changing auth settings at runtime this should
      be done explicitly using a separate monitor command, not as
      side effect of set_passwd.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      cf864569
    • P
      Revert "bsd-user: replace fprintf(stderr, ...) with error_report()" · 9bb93180
      Peter Maydell 提交于
      This reverts commit 1fba5095.
      
      That commit converted various fprintf(stderr, ...) calls to
      use error_report(); however none of these bsd-user files include
      a header which gives a prototype for error_report, so this
      causes compiler warnings. Since these are just straightforward
      reporting of command line errors, we should handle these in the
      obvious way by printing to stderr, as we do for linux-user.
      There's no need to drag in the error-handling framework for this,
      especially since user-mode doesn't have the "maybe we need to
      send this to the monitor" issues system emulation does.
      Acked-by: NMichael Tokarev <mjt@tls.msk.ru>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9bb93180
  2. 29 5月, 2014 20 次提交
  3. 28 5月, 2014 18 次提交