selinux: simplify avtab_insert_node() prototype
authorJacob Satterfield <jsatterfield.linux@gmail.com>
Fri, 29 Sep 2023 19:56:12 +0000 (19:56 +0000)
committerPaul Moore <paul@paul-moore.com>
Tue, 3 Oct 2023 21:07:07 +0000 (17:07 -0400)
commit19c1c9916dbf9b05157a0c4970f61f952c0cb86a
tree6cbe34b0341d6da53527dc90a818fa54ef839b95
parent9d140885e35dac6dff2c56eccacc13f4fc96188a
selinux: simplify avtab_insert_node() prototype

__hashtab_insert() in hashtab.h has a cleaner interface that allows the
caller to specify the chain node location that the new node is being
inserted into so that it can update the node that currently occupies it.

Signed-off-by: Jacob Satterfield <jsatterfield.linux@gmail.com>
Reviewed-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/avtab.c