[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/14] sysctl: provide callback for write into ctl_table entry



On Sun, Apr 29, 2012 at 8:45 AM, Sasha Levin <levinsasha928@xxxxxxxxx> wrote:
> +
> +       if (!error && write && table->callback)
> +               error = table->callback();
> +

Tetsuo Handa has pointed out that 'error' is actually the amount of
bytes read/written in the success case. I'll fix that for V2.
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux