]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/utils.h
utils: make lxc_setgroups() return bool
[mirror_lxc.git] / src / lxc / utils.h
index 947b15e16d63d4fc35bfa4b89e28d3a214721c47..e6a82978f2d4da6158c4c418a4b096059aaf8137 100644 (file)
@@ -362,7 +362,7 @@ extern bool task_blocks_signal(pid_t pid, int signal);
  * If LXC_INVALID_{G,U}ID is passed then the set{g,u}id() will not be called.
  */
 extern int lxc_switch_uid_gid(uid_t uid, gid_t gid);
-extern int lxc_setgroups(int size, gid_t list[]);
+extern bool lxc_setgroups(int size, gid_t list[]);
 
 /* Find an unused loop device and associate it with source. */
 extern int lxc_prepare_loop_dev(const char *source, char *loop_dev, int flags);