aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2022-04-04 12:51:53 +0200
committerMiklos Szeredi <[email protected]>2022-04-28 16:31:12 +0200
commitffa5723c6d259b3191f851a50a98d0352b345b39 (patch)
tree6330f67aa5602d77acc9cd4f2d2006944e3cf6c3 /lib/test_fortify/write_overflow-strlcpy-src.c
parentba9ea771ec8a9da4e3aa5cb8c8549fc3b15b2641 (diff)
ovl: store lower path in ovl_inode
Create some ovl_i_* helpers to get real path from ovl inode. Instead of just stashing struct inode for the lower layer we stash struct path for the lower layer. The helpers allow to retrieve a struct path for the relevant upper or lower layer. This will be used when retrieving information based on struct inode when copying up inode attributes from upper or lower inodes to ovl inodes and when checking permissions in ovl_permission() in following patches. This is needed to support idmapped base layers with overlay. Cc: <[email protected]> Tested-by: Giuseppe Scrivano <[email protected]> Reviewed-by: Christian Brauner (Microsoft) <[email protected]> Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Christian Brauner (Microsoft) <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions