Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-modular kbus has no way to remove unused devices #49

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments
Open

Non-modular kbus has no way to remove unused devices #49

GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

When kbus is built into the kernel, i.e. not as a module, there is (at present) 
no way to have it expire unused unloved devices. This leads to some test 
failures, which are expecting to be able to rmmod and have them go away.

We might fix this by having the RESET ioctl clean up and remove all but kbus0? 
I suppose it ought to require some sort of priviliges, e.g. current_uid()==0.

Original issue reported on code.google.com by crazys...@gmail.com on 12 Jan 2011 at 4:55

@GoogleCodeExporter
Copy link
Author

We might also decide that it makes no sense to build kbus as a module, in which 
case we'd want to put "depends on m" in its Kconfig entry. However I am not 
convinced of this.

Original comment by crazys...@gmail.com on 13 Jan 2011 at 5:10

@GoogleCodeExporter
Copy link
Author

This does sound like the (long awaited) sensible use for the RESET ioctl.

Clearly the tests need fixing as well, though (I'll try to have a look at them).

Original comment by t...@tibsnjoan.co.uk on 14 Jan 2011 at 10:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant