apparmor: convert to ctime accessor functions
authorJeff Layton <jlayton@kernel.org>
Wed, 5 Jul 2023 19:01:54 +0000 (15:01 -0400)
committerChristian Brauner <brauner@kernel.org>
Mon, 24 Jul 2023 08:30:08 +0000 (10:30 +0200)
commit6ac5422617eda03b95c00367d0e59fcb4d7ca3cc
tree8e9620bde897711c0898e54d3216a6dd6283b247
parentbc734e8ec11305f164d1d540bc55cfbd41f28c05
apparmor: convert to ctime accessor functions

In later patches, we're going to change how the inode's ctime field is
used. Switch to using accessor functions instead of raw accesses of
inode->i_ctime.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230705190309.579783-87-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
security/apparmor/apparmorfs.c
security/apparmor/policy_unpack.c