Re: [dm-devel] [PATCH RFC v10 6/17] security: add new securityfs delete function

2023-07-14 Thread Fan Wu
On Sat, Jul 08, 2023 at 12:23:03AM -0400, Paul Moore wrote: > On Jun 28, 2023 Fan Wu wrote: > > > > When deleting a directory in the security file system, the existing > > securityfs_remove requires the directory to be empty, otherwise > > it will do nothing. This leads to a potential risk that t

Re: [dm-devel] [PATCH RFC v10 6/17] security: add new securityfs delete function

2023-07-07 Thread Paul Moore
On Jun 28, 2023 Fan Wu wrote: > > When deleting a directory in the security file system, the existing > securityfs_remove requires the directory to be empty, otherwise > it will do nothing. This leads to a potential risk that the security > file system might be in an unclean state when the intent

Re: [dm-devel] [PATCH RFC v10 6/17] security: add new securityfs delete function

2023-07-07 Thread Paul Moore
On Jun 28, 2023 Fan Wu wrote: > > When deleting a directory in the security file system, the existing > securityfs_remove requires the directory to be empty, otherwise > it will do nothing. This leads to a potential risk that the security > file system might be in an unclean state when the intent