Re: Deadlock in aufs_mmap path due to call to security_mmap_file

2014-05-01 Thread sfjro
Hello Matthew, Matthew Riley: > I've hit an instance of a bug that was hypothesized here: > http://sourceforge.net/p/aufs/mailman/aufs-users/thread/20120723152336.GB1894%40decadent.org.uk/ > > The LSM called by security_mmap_file in aufs_mmap can attempt to take > mmap_sem, in which case the thre

Deadlock in aufs_mmap path due to call to security_mmap_file

2014-05-01 Thread Matthew Riley
I've hit an instance of a bug that was hypothesized here: http://sourceforge.net/p/aufs/mailman/aufs-users/thread/20120723152336.GB1894%40decadent.org.uk/ The LSM called by security_mmap_file in aufs_mmap can attempt to take mmap_sem, in which case the thread deadlocks. The particular offender her