[PATCH 1/3] linux/ioctlent.sh: discover paths via exported-headers method
vapier at gentoo.org
Mon Feb 23 17:37:11 UTC 2009
On Monday 23 February 2009 08:24:19 Denys Vlasenko wrote:
> On Fri, 2009-02-20 at 12:56 -0500, Mike Frysinger wrote:
> > Rather than hard coding the subdirs to search for ioctls, discover them
> > dynamically with newer kernel trees by working off of the exported header
> > mechanism. If the kernel does not have this mechanism, we fall back to
> > the old method of hard coding the list.
> > This fixes issues where the current hard coded list does not contain all
> > headers which get exported to userspace (like the mtd ioctls).
> Thanks to your HACKING-scripts, I could test it and confirm that this is
> an improvement.
> Committed all three patches to cvs. Added HACKING-scripts too.
> Did some editing after apply, please test current cvs.
other than the helper comments in the *ent.sh scripts pointing people to the
HACKING-scripts file ... at least for me, when i want to do know what
something does, i tend to do:
- run it with help options
... script doesnt accept help or sits there waiting for input ...
- read the file
... script doesnt have any useful information in it ...
- start grepping the tree looking for hints
... generated files show up as well as HACKING-scripts ...
that's why i found the simple comment in each script useful ...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: This is a digitally signed message part.
More information about the Strace-devel