Re: SELinux + ubifs: possible circular locking dependency

2013-02-14 Thread Marc Kleine-Budde
On 02/14/2013 08:15 AM, Artem Bityutskiy wrote: > Mark, how about this one? I compiled it and ran on my fedora 16 with > SElinux enabled, no obvious issues. > > From a19350097200570571aa522afebb96b34db534f4 Mon Sep 17 00:00:00 2001 > From: Artem Bityutskiy > Date: Thu, 14 Feb 2013 09:07:36 +0200

Re: SELinux + ubifs: possible circular locking dependency

2013-02-13 Thread Artem Bityutskiy
Mark, how about this one? I compiled it and ran on my fedora 16 with SElinux enabled, no obvious issues. >From a19350097200570571aa522afebb96b34db534f4 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 14 Feb 2013 09:07:36 +0200 Subject: [PATCH] selinux: do not confuse lockdep Selinux h

Re: SELinux + ubifs: possible circular locking dependency

2013-02-13 Thread Artem Bityutskiy
On Wed, 2013-02-13 at 15:37 +0100, Marc Kleine-Budde wrote: > > + lockdep_set_class(&isec->lock, inode->i_sb->s_type->i_mutex_key); > > So I added an "&", so that the line looks like that: Yeah, I did not compile it, and for the deadlock of course I have to add own class for isec->lock in the f

Re: SELinux + ubifs: possible circular locking dependency

2013-02-13 Thread Marc Kleine-Budde
On 02/13/2013 01:47 PM, Artem Bityutskiy wrote: >> I'm on a arm imx28 v3.8-rc6 (+ a handfull of patches to support the >> custom board) but no modifications on ubifs, selinux or the vfs layer. >> And not including the xattr patches by Subodh Nijsure. >> >> When booting with SELinux and lockdep enab

Re: SELinux + ubifs: possible circular locking dependency

2013-02-13 Thread Artem Bityutskiy
On Fri, 2013-02-08 at 15:10 +0100, Marc Kleine-Budde wrote: > Hello, > > I'm on a arm imx28 v3.8-rc6 (+ a handfull of patches to support the > custom board) but no modifications on ubifs, selinux or the vfs layer. > And not including the xattr patches by Subodh Nijsure. > > When booting with SELi