[Bug 329489] Re: operations on unlinked files leak memory in apparmor

2009-02-14 Thread Domas Mituzas
damn, after all, it may be just fcntl() - I can't reproduce the write() case anymore, and I wonder if I ever could. teaches me that C is a compiled language! ** Summary changed: - operations on unlinked files leak memory in apparmor + locks on unlinked files leak memory in apparmor -- locks o

[Bug 329489] Re: operations on unlinked files leak memory in apparmor

2009-02-14 Thread Domas Mituzas
How did you make the loop run only 1000 times?!!!? :) Thanks for 'slabtop' hint - nice tool for tourists from userland. Now, let me put my MySQL hat on: - MySQL ships by default with apparmor profile - MySQL uses unlinked files quite a bit (implicit temptables, sort buffer overflows, etc) So, t