I've only read the patches and not the surrounding context, but patches 1 and 2 look good regardless of anything else.
The ARRAY_LEN macro worries me -- I'd always second guess every use and it doesn't seem worth the hassle to me. The "attach" dentry was lost. Everything else _read_ just fine. (Not tested. :) Thanks John! -- AppArmor mailing list AppArmor@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor