]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
libcgroup-internal.h: remove FIXME comment
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 8 Feb 2022 16:44:36 +0000 (09:44 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 8 Feb 2022 16:44:41 +0000 (09:44 -0700)
As per Linux Kernel uidgid.h file, that represents internal Kernel types
for uids/gids. Initialized invalid uids/gids to -1:

  #define INVALID_UID KUIDT_INIT(-1)
  #define INVALID_GID KGIDT_INIT(-1)

initializing them to -1 is a valid, remove the FIXME comment that says
otherwise.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/libcgroup-internal.h

index e704adaee1809b28967e7219b01509b57132156d..ac880ec504ac5cdd173ba5f33b9ba73fe98043df 100644 (file)
@@ -48,7 +48,6 @@ extern "C" {
 #define CG_HIER_MAX  CG_CONTROLLER_MAX
 
 /* Definitions for the uid and gid members of a cgroup_rules */
-/* FIXME: These really should not be negative values */
 #define CGRULE_INVALID ((uid_t) -1)
 #define CGRULE_WILD ((uid_t) -2)