[dovecot/core] a343c2: plugins/old-stats: Add old-stats preinit() which o...

GitHub noreply at github.com
Mon Apr 30 17:00:22 EEST 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: a343c291625e6fd9fd430042a7fbd8ee55c20af7
      https://github.com/dovecot/core/commit/a343c291625e6fd9fd430042a7fbd8ee55c20af7
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/plugins/stats/mail-stats-fill.c
    M src/plugins/stats/mail-stats.h
    M src/plugins/stats/stats-plugin.c
    M src/plugins/stats/stats-plugin.h

  Log Message:
  -----------
  plugins/old-stats: Add old-stats preinit() which opens mail stats io.


  Commit: 2f48ff129ef413ba4e6ca2b2c587f6420f11cbbd
      https://github.com/dovecot/core/commit/2f48ff129ef413ba4e6ca2b2c587f6420f11cbbd
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/lib/module-dir.c

  Log Message:
  -----------
  lib: Call module's preinit function, when loading


  Commit: 14015347dfe1393bd0c49263abc308b83f6729ea
      https://github.com/dovecot/core/commit/14015347dfe1393bd0c49263abc308b83f6729ea
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-04-30 (Mon, 30 Apr 2018)

  Changed paths:
    M src/plugins/stats/mail-stats-fill.c

  Log Message:
  -----------
  plugins/old-stats: Remove restrict_access_set_dumpable calls from process_io_open().

proc_io_fd is opened in preinit(), while process have root access, so
restrict_access_set_dumpable() calls are not needed.


Compare: https://github.com/dovecot/core/compare/09496e5faf29...14015347dfe1


More information about the dovecot-cvs mailing list