Messages in this thread | | | From | (Eric W. Biederman) | Subject | Re: + sysctl-error-on-bad-sysctl-tables.patch added to -mm tree | Date | Fri, 10 Aug 2007 03:22:23 -0600 |
| |
Alexey Dobriyan <adobriyan@sw.ru> writes:
> It gives false positive on kernel.pty.nr: > > sysctl table check failed: /kernel/pty/nr .1.62.2 No data > > However, ->data is set in unix98_pty_init().
It's a race.
Data isn't set until after we enable the sysctl subsystem.
In practice I doubt it matters but I think would rather fix that one case (by using register_sysctl_table) then not have the check.
Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |