[cgmanager-devel] [cgmanager/cgmanager] 8dfbe3: cgmanager: pull _main fn prototypes to top

GitHub noreply at github.com
Tue Jan 28 08:57:35 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/cgmanager/cgmanager
  Commit: 8dfbe31704406f3fa8677b851b10e9de43a364db
      https://github.com/cgmanager/cgmanager/commit/8dfbe31704406f3fa8677b851b10e9de43a364db
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-27 (Mon, 27 Jan 2014)

  Changed paths:
    M cgmanager.c

  Log Message:
  -----------
  cgmanager: pull _main fn prototypes to top

And give them commonized arguments

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 9f6e9fb9651807da1cf4be2f0944a03722d5a384
      https://github.com/cgmanager/cgmanager/commit/9f6e9fb9651807da1cf4be2f0944a03722d5a384
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-27 (Mon, 27 Jan 2014)

  Changed paths:
    M cgmanager.c

  Log Message:
  -----------
  cgmanager: commonize the ${method}_scm_readers

Put the differentiators into ${method}_complete functions,
so that the bulk of the boilerplate can go into
a generic sock_scm_reader.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: a1def464291f24abbdc6c403f4270078ab3878c8
      https://github.com/cgmanager/cgmanager/commit/a1def464291f24abbdc6c403f4270078ab3878c8
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-27 (Mon, 27 Jan 2014)

  Changed paths:
    M cgmanager.c

  Log Message:
  -----------
  cgmanager: commonize the ${method}_scm functions

pull the boilerplate into one function which allocates the
scm_sock_data struct;

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: f557c33f81dcc6be48a73e05a6b131fb458f567c
      https://github.com/cgmanager/cgmanager/commit/f557c33f81dcc6be48a73e05a6b131fb458f567c
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-27 (Mon, 27 Jan 2014)

  Changed paths:
    M fs.c

  Log Message:
  -----------
  add comment above file_read_string to warn against general i/o use

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/cgmanager/cgmanager/compare/1ea80f37c367...f557c33f81dc


More information about the cgmanager-devel mailing list