1. 26 Jan, 2018 1 commit
    • [cgfsng] show wrong errno · d1953b26
      duguhaotian authored
      lxc_cgroup_set_data: h = get_hierarchy(controller);
      if h is NULL, now errno is old, it donot set new one.
      And then,
      cgfsng_setup_limits:
      
          if (lxc_cgroup_set_data(cg->subsystem, cg->value, d)) {
      		if (do_devices && (errno == EACCES ||
      			errno == EPERM)) {
      			WARN("Error setting %s to %s for %s",
      				cg->subsystem, cg->value,
      				d->name);
      			continue;
      		}
      		SYSERROR("Error setting %s to %s for
      			 %s",
      			 cg->subsystem, cg->value,
      			 d->name);
      		goto out;
      	}
      
      SYSERROR will show old errno, make me confused.
      Signed-off-by: 's avatarduguhaotian <duguhaotian@gmail.com>
  2. 09 Jan, 2018 3 commits
  3. 08 Jan, 2018 4 commits
  4. 06 Jan, 2018 1 commit
  5. 05 Jan, 2018 2 commits
  6. 04 Jan, 2018 9 commits
  7. 03 Jan, 2018 4 commits
  8. 02 Jan, 2018 5 commits
  9. 01 Jan, 2018 1 commit
    • lxccontainer: revert set_running_config_item() · d393e645
      Christian Brauner authored
      - As discussed we will have a proper API extension that will allow updating
        various parts of a running container. The prior approach wasn't a good idea.
      
      - Revert this is not a problem since we haven't released any version with the
        set_running_config_item() API extension.
      
      - I'm not simply reverting so that master users can still call into new
        liblxc's without crashing the container. This is achieved by keeping the
        commands callback struct member number identical.
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
  10. 30 Dec, 2017 6 commits
  11. 26 Dec, 2017 2 commits
  12. 22 Dec, 2017 2 commits