Messages in this thread | | | Date | Tue, 13 May 2008 17:52:38 -0700 | From | Chris Wright <> | Subject | Re: [PATCH 0/3] exporting capability name/code pairs (for 2.6.26) |
| |
* KaiGai Kohei (kaigai@ak.jp.nec.com) wrote: > Chris, what is the status of the patch?
I still don't understand how ...
>> When we run a userspace utility on the latest kernel, it has to be compiled >> with kernel-headers which have same capability set at least. >> If installed userspace utility does not support newly added capabilities, >> it requires users to rebuild their utilities when they update the kernel. >> >> Typically, kernel developer faces this kind of version mismatching. >> When they boots their kernel with new capabilities, it also requires to >> rebuild libcap. Then, they have to revert it, when they boots with normal >> kernel. >> >> If libcap can know what capabilities are supported on the running kernel >> automatically, it does not need users to rebuild libcap concurrently.
...libcap can do anything meaningful here with capabilities it doesn't know about? This interface is already versioned, what is wrong is old cap version on new kernel (clearly new cap version on old kernel would have to fall back to older cap version)?
thanks, -chris
| |