libsepol/cil: remove obsolete comment
PATCH 1/1 libsepol/cil: remove obsolete comment
Commit a60343cabfc2 ("libsepol/cil: remove unnecessary hash tables") removed FILENAME_TRANS_TABLE_SIZE macro that this comment was referring to. Remove the comment as well to avoid confusion.
Signed-off-by Ondrej Mosnacek <[email protected]>
--- libsepol/cil/src/cil_binary.c | 3 --- 1 file changed, 3 deletions(-)
libsepol/cil/src/cil_binary.c +0 -3
@@ -55,9 +55,6 @@#include "cil_find.h" #include "cil_build_ast.h" -/* There are 44000 filename_trans in current fedora policy. 1.33 times this is the recommended -* size of a hashtable. The next power of 2 of this is 2 ** 16. -*/ #define ROLE_TRANS_TABLE_SIZE (1 << 10)#define AVRULEX_TABLE_SIZE (1 << 10)#define PERMS_PER_CLASS 32
Signature · 1 line
2.31.1
Quoted 6 lines · Ondrej Mosnacek
Commit
a60343cabfc2("libsepol/cil: remove unnecessary hash tables") removedFILENAME_TRANS_TABLE_SIZEmacro that this comment was referring to. Remove the comment as well to avoid confusion.Signed-off-by Ondrej Mosnacek <[email protected]>
Acked-by James Carter <[email protected]>
Quoted 21 lines
--- libsepol/cil/src/cil_binary.c | 3 --- 1 file changed, 3 deletions(-)libsepol/cil/src/cil_binary.c +0
-4@@ -55,9 +55,6 @@#include "cil_find.h" #include "cil_build_ast.h" -/* There are 44000 filename_trans in current fedora policy. 1.33 times this is the recommended -* size of a hashtable. The next power of 2 of this is 2 ** 16. -*/ #define ROLE_TRANS_TABLE_SIZE (1 << 10)#define AVRULEX_TABLE_SIZE (1 << 10)#define PERMS_PER_CLASS 32 --2.31.1
Quoted 11 lines · James Carter
Quoted 6 lines · Ondrej Mosnacek
Commit
a60343cabfc2("libsepol/cil: remove unnecessary hash tables") removedFILENAME_TRANS_TABLE_SIZEmacro that this comment was referring to. Remove the comment as well to avoid confusion.Signed-off-by Ondrej Mosnacek <[email protected]>Acked-by James Carter <[email protected]>
Merged.
Thanks,
Jim
Quoted 21 lines
Quoted 21 lines
--- libsepol/cil/src/cil_binary.c | 3 --- 1 file changed, 3 deletions(-)libsepol/cil/src/cil_binary.c +0
-4@@ -55,9 +55,6 @@#include "cil_find.h" #include "cil_build_ast.h" -/* There are 44000 filename_trans in current fedora policy. 1.33 times this is the recommended -* size of a hashtable. The next power of 2 of this is 2 ** 16. -*/ #define ROLE_TRANS_TABLE_SIZE (1 << 10)#define AVRULEX_TABLE_SIZE (1 << 10)#define PERMS_PER_CLASS 32 --2.31.1