[dovecot/core] d5c2b4: man: doveadm-search-query.7 - Add sequence-set and...

GitHub noreply at github.com
Wed Jul 4 11:30:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d5c2b4bada2cc12c9c52c80484d1eba0aa4b3bbb
      https://github.com/dovecot/core/commit/d5c2b4bada2cc12c9c52c80484d1eba0aa4b3bbb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M doc/man/doveadm-search-query.7

  Log Message:
  -----------
  man: doveadm-search-query.7 - Add sequence-set and update UID


  Commit: eac34a33f853efa61f4a0edd1980b4619b0f508d
      https://github.com/dovecot/core/commit/eac34a33f853efa61f4a0edd1980b4619b0f508d
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/test-mempool.c

  Log Message:
  -----------
  lib: mempool - Generalize the test

Instead of hardcoding what appear to be arbitrary constants, use expressions
based on UINT{16,32,64}_MAX.


  Commit: 298d488965758a0b73827c6082c167644672e85c
      https://github.com/dovecot/core/commit/298d488965758a0b73827c6082c167644672e85c
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/test-mempool.c

  Log Message:
  -----------
  lib: mempool - Reduce test code duplication

The 32 and 64 bit versions of the tests were identical.


  Commit: edc590dad0d4a79a3b8edd532a1e43249f378644
      https://github.com/dovecot/core/commit/edc590dad0d4a79a3b8edd532a1e43249f378644
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/test-mempool.c

  Log Message:
  -----------
  lib: mempool - Further reduce test code duplication

We have to use a macro because we need to pass a type as an argument.


  Commit: c9b13adc64ca671602e0d22cca9f510623d98669
      https://github.com/dovecot/core/commit/c9b13adc64ca671602e0d22cca9f510623d98669
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-alloconly.c

  Log Message:
  -----------
  lib: Document alloconly mempools


  Commit: a9edbaca2ccf3bdb4c5cc0b41a97d77411c8d52a
      https://github.com/dovecot/core/commit/a9edbaca2ccf3bdb4c5cc0b41a97d77411c8d52a
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-allocfree.c

  Log Message:
  -----------
  lib: Document allocfree mempools


  Commit: fe151c8b27a00986a2fcb93134ceeed6de371a32
      https://github.com/dovecot/core/commit/fe151c8b27a00986a2fcb93134ceeed6de371a32
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-datastack.c

  Log Message:
  -----------
  lib: Document datastack mempools


  Commit: 7d0b693c1792b88fcfed9b523890c1073f794def
      https://github.com/dovecot/core/commit/7d0b693c1792b88fcfed9b523890c1073f794def
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-system.c

  Log Message:
  -----------
  lib: Document the system mempool


  Commit: efdab4d245470808a7573f0cc3620b50bc806231
      https://github.com/dovecot/core/commit/efdab4d245470808a7573f0cc3620b50bc806231
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-unsafe-datastack.c

  Log Message:
  -----------
  lib: Document the unsafe datastack mempool


  Commit: 6dbfca291319a5e4cacc893547910504ef3c5241
      https://github.com/dovecot/core/commit/6dbfca291319a5e4cacc893547910504ef3c5241
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-alloconly.c

  Log Message:
  -----------
  lib: Rename a alloconly mempool helper function to make its scope obvious

pool_try_grow() makes it look like it is part of the mempool API, even
though it is an internal helper specific to the alloconly pool.


  Commit: 608dca535668f7a4052e67567c2002b62ea0f1a2
      https://github.com/dovecot/core/commit/608dca535668f7a4052e67567c2002b62ea0f1a2
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-alloconly.c

  Log Message:
  -----------
  lib: mempool-alloconly - Use container_of instead of casts


  Commit: e3740046850ee770d2ecdcf005c0785c5e18d72e
      https://github.com/dovecot/core/commit/e3740046850ee770d2ecdcf005c0785c5e18d72e
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-datastack.c

  Log Message:
  -----------
  lib: mempool-datastack - Use container_of instead of casts


  Commit: a8589a14dbd5a8743ed068bd567b7c8436a8e1a6
      https://github.com/dovecot/core/commit/a8589a14dbd5a8743ed068bd567b7c8436a8e1a6
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-allocfree.c

  Log Message:
  -----------
  lib: mempool-allocfree: Remove unused #define

This define was never actually used.


  Commit: e6f0bf2679ba3e0084b28b51ecc2d2094e479ca7
      https://github.com/dovecot/core/commit/e6f0bf2679ba3e0084b28b51ecc2d2094e479ca7
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-allocfree.c
    M src/lib/mempool-alloconly.c
    M src/lib/mempool-datastack.c
    M src/lib/mempool-system.c
    M src/lib/mempool-unsafe-datastack.c
    M src/lib/mempool.c
    M src/lib/mempool.h
    M src/lib/test-mempool-allocfree.c
    M src/lib/test-mempool-alloconly.c
    M src/lib/test-mempool.c

  Log Message:
  -----------
  lib: mempool - Define a global max allocation size supported by all pools

Instead of relying on each mempool implementation to define its own limits
and checks, this commit defines a generic one that's sufficient to make any
mempool present or future happy.


  Commit: f2c3991bf486023380efad6ec5c247b62c904bf6
      https://github.com/dovecot/core/commit/f2c3991bf486023380efad6ec5c247b62c904bf6
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-allocfree.c
    M src/lib/mempool-alloconly.c
    M src/lib/mempool-datastack.c
    M src/lib/mempool-system.c
    M src/lib/mempool-unsafe-datastack.c
    M src/lib/mempool.h

  Log Message:
  -----------
  lib: mempool - Centralize p_{m,re}alloc() size checks

Instead of each mempool implementation having to check the allocation sizes
for sanity, we can check that the sizes are within the required bounds in
p_malloc() and p_realloc().

Since p_malloc() and p_realloc() are static inlines, some consumers will see
a little bit of growth in binary size, but others will be able to optimize
the check away at compile time.


  Commit: 49c8a68100292571b31999bae2853ccca61f6894
      https://github.com/dovecot/core/commit/49c8a68100292571b31999bae2853ccca61f6894
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-allocfree.c
    M src/lib/mempool-alloconly.c
    M src/lib/mempool-datastack.c
    M src/lib/mempool-system.c
    M src/lib/mempool-unsafe-datastack.c
    M src/lib/mempool.h

  Log Message:
  -----------
  lib: mempool - Centralize p_realloc() NULL pointer check

Instead of each mempool implementation having to check the pointer passed in
for being NULL, we can check that the sizes are within the required bounds
in p_realloc().


  Commit: 7905a2cf06e680c021c46f753530356d81c7bf18
      https://github.com/dovecot/core/commit/7905a2cf06e680c021c46f753530356d81c7bf18
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool-allocfree.c
    M src/lib/mempool.h

  Log Message:
  -----------
  lib: mempool - Centralize p_free() NULL pointer check

This changes the behavior of p_free(pool, some_null_pointer) slightly.

datastack mempools:

    Previously, the datastack frame id was checked regardless of whether or
    not the pointer was NULL.  Now, only non-NULL pointers perform this
    check.

system mempools:

    Previously, the process would SIGSEGV if a NULL pointer was freed in a
    debug binary on a system with malloc_usable_size().  Now, no SIGSEGV
    occurs.

allocfree, alloconly, and unsafe datastack:

    No change in behavior.


  Commit: b9eab66a79f8e3414d36769f5e880da513b6989f
      https://github.com/dovecot/core/commit/b9eab66a79f8e3414d36769f5e880da513b6989f
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib/mempool.h
    M src/lib/test-mempool.c

  Log Message:
  -----------
  lib: mempool - Improve p_realloc() panic message

Most importantly, this differentiates it from the panic message that
p_malloc() prints.


Compare: https://github.com/dovecot/core/compare/1e23986f68f0...b9eab66a79f8
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list