Re: [BUG] 2.6.24-rc5: 'sysctl table check failed' when turning on printer

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Frans Pop <elendil@...>
Cc: <linux-kernel@...>, Ingo Molnar <mingo@...>
Date: Sunday, January 6, 2008 - 5:17 pm

Frans Pop <elendil@planet.nl> writes:


Ok.  Looking at it there is mutual exclusion for the parallel port
after we register.

So my guess is:

Two programs open the parellel port device.
The open goes through ppdev.c
ppdev.c uses the same name for both.
parport doesn't do any mutual exclusion (except for claim).
Everything except sysctl happens inside of the claim so we
haven't seen any other bugs.

So if my guess is right we need to move the register_sysctl_table
call into the claim logic.  And the unregister_syctl_table
call into the unclaim logic.

I've got to run.

Later,
Eric



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [BUG] 2.6.24-rc5: 'sysctl table check failed' when turni..., Eric W. Biederman, (Sun Jan 6, 5:17 pm)