Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Mar 6, 2015
  1. @lukasz-skalski @dvdhrm

    doc: replace 'reply_cookie' with 'cookie_reply'

    lukasz-skalski authored dvdhrm committed
    Signed-off-by: Lukasz Skalski <l.skalski@samsung.com>
Commits on Mar 2, 2015
  1. @zonque

    samples: kernel coding style nits

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  2. @zonque

    test/util: map memfd MAP_PRIVATE

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  3. @teg

    sample: minor nits in comments

    teg authored
  4. @teg
  5. @zonque

    kdbus.h: switch back to 64-bit UIDs and GIDs (ABI break)

    zonque authored
    After some reconsideration, we decided to move the binary protocol
    back to 64-bit wide UIDs and GIDs. After all, it should be possible
    to redefine [gu]id_t to uint64_t and things should continue to
    work. As we want to avoid such data types in kdbus.h, let's move
    back to 64-bit values and be safe.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
Commits on Mar 1, 2015
  1. @zonque

    connection: consolidate forward declarations

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  2. @zonque

    connection: make struct kdbus_quota local

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  3. @zonque

    bus.h: cosmetics

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  4. @zonque

    item: add a BUILD_BUG_ON() for KDBUS_ITEM_HEADER_SIZE

    zonque authored
    Just to make sure we break as soon as possible if anyone touches
    either KDBUS_ITEM_HEADER_SIZE or 'struct kdbus_item_header'.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  5. @zonque

    util, policy, metadata: fix includes

    zonque authored
    Include things we need. This is a fall-out from the recent cleanups.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  6. @zonque

    util.h: remove kdbus_size_get_user()

    zonque authored
    This is a left-over and is no longer used. Drop it.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  7. @zonque

    item, util: move kdbus_str_valid()

    zonque authored
    Move kdbus_str_valid() to its only user, item.c.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  8. @zonque

    policy, util: move kdbus_strnhash()

    zonque authored
    kdbus_strnhash() is only used from policy. No need to keep it as
    static inline in util.h.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  9. @zonque

    util, metadata: inline kdbus_from_k[gu]id_keep

    zonque authored
    kdbus_from_kuid_keep() and kdbus_from_kgid_keep() are only used from
    metadata.c, so let's move these functions there.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  10. @zonque

    item, util: fold kdbus_sysname_is_valid() into kdbus_item_validate_na…

    zonque authored
    …me()
    
    kdbus_sysname_is_valid() in only used from kdbus_item_validate_name(),
    so let's fold the function.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  11. @zonque

    message, util: inline kdbus_fput_files()

    zonque authored
    kdbus_fput_files() only has one user left, so fold it into
    __kdbus_msg_resources_free().
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  12. @zonque

    samples: rename some functions

    zonque authored
    Rename some functions to make them more descriptive.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  13. @zonque

    domain, match, util: cosmetics

    zonque authored
    Just trim some lines, fix some comments, reorder some declarations.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  14. @zonque

    connection: kill superflous forward declaration

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  15. @zonque

    item: make kdbus_items_get() local to item.c

    zonque authored
    This function only has one user, so move it, and make it static.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  16. @zonque

    connection: cosmetics

    zonque authored
    Trim lines to 80 chars.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  17. @zonque

    doc: more spelling fixes and cleanups

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  18. @zonque

    doc: cosmetics

    zonque authored
    Reformat files to fit in 80 cols.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  19. @zonque

    doc: remove mark attribute from itemizedlist elements

    zonque authored
    This attribute doesn't see to have any effect, so drop it.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  20. @zonque

    tree-wide spelling and comment fixes

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
Commits on Feb 28, 2015
  1. @tixxdz

    connection: improve the comment context about accounted and un-accoun…

    tixxdz authored
    …ted slices
    
    Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
  2. @teg

    test: benchmark - print standard deviation of the latency measurements

    teg authored
    Just to verify that we are not getting too erratic behaviour.
    
    To avoid storing all the values, we use the algorithm for computing the running sum of corrected squares
    presented by Welford in 'Note on a Method Calculating the Corrected Sums of Squares and Products',
    Technometrics, 1962.
Commits on Feb 27, 2015
  1. @tixxdz

    connection: do not account the slice size for KDBUS_CMD_CONN_INFO

    tixxdz authored
    The KDBUS_CMD_CONN_INFO is a pool owner call, therefore the used slice
    should not be accounted.
    
    Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
  2. @tixxdz

    test/test-message: remove dead values

    tixxdz authored
    KDBUS_CONN_MAX_MSGS_UNACCOUNTED and KDBUS_CONN_MAX_MSGS_PER_USER are
    unused they are just dead values now.
    
    Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
  3. @zonque

    doc: assorted cleanups and spelling fixes

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  4. @zonque

    test/test-message: plug memory leak

    zonque authored
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  5. @zonque

    test: add test against illegal memory access

    zonque authored
    Add a simple test that reads the kernel symbol address of 'mutex_lock'
    from /proc/kallsyms and tries to use that as address for a PAYLOAD_VEC
    item. This must fail with -EFAULT.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
  6. @dvdhrm

    message: verify input addresses to be user-readable

    dvdhrm authored
    Make sure we verify all input-addresses to be user-readable (via
    access_ok()). This is apparently not done done by the iovec helpers, so we
    have to do it on our own.
    
    Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
  7. @dvdhrm

    ChangeLog: fix whitespace

    dvdhrm authored
    Remove trailing whitespace.
    
    Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Something went wrong with that request. Please try again.