On Tue, 24 Jul 2007, Casey Schaufler wrote:
> Thank you again for the help so far.
Please include the patch inline so it can be replied to.
In
+static ssize_t smk_write_cipso(struct file *file, const char __user *buf,
+ size_t count, loff_t *ppos)
+ mutex_lock(&smack_cipso_lock);
...
if (scp == NULL) {
+ rc = -ENOMEM;
+ break;
+ }
breaks out of the top level loop without unlocking.
- James
--
James Morris
<[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe
linux-security-module" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html