Re: [apparmor] Recent VFS/LSM patches cause Kernel panic - not syncing: Can't create rootfs

2018-12-20 Thread Dexuan Cui
> From: Dexuan Cui > Sent: Wednesday, December 19, 2018 8:30 PM > > Hi, > We started to see a "Can't create rootfs" panic with linux-next's > next-20181218 and next-20181219. Note: next-20181217 is good. > > Our test team found the first bad commit by git-bisect: > 013c7af575e5 ("vfs: Implement a

[apparmor] [PATCH V2] security/apparmor: fix matching on presence of extended attributes

2018-12-20 Thread Eric Chiang
AppArmor recently added the ability for profiles to match extended attributes, with the intent of targeting "security.ima" and "security.evm" to differentiate between sign and unsigned files. The current implementation uses a path glob to match the extended attribute value. To require the presence

Re: [apparmor] [PATCH V2] security/apparmor: fix matching on presence of extended attributes

2018-12-20 Thread Seth Arnold
On Thu, Dec 20, 2018 at 01:28:38PM -0800, Eric Chiang wrote: > --- a/security/apparmor/policy_unpack.c > +++ b/security/apparmor/policy_unpack.c > @@ -535,6 +535,24 @@ static bool unpack_xattrs(struct aa_ext *e, struct > aa_profile *profile) > goto fail; > } > > +