Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In case kernel folks will ever release capability v4, the chances are high v3 is still supported. Therefore, we should not error out upon seeing an unknown version from the kernel, but assume we can go with v3. While at it, treat the uninitialized capVers as an error. Before this patch, it was still treated as an error, but "unknown capability version" is not exactly what the error is, so let's be more specific. Reported-by: Andrei Vagin <avagin@google.com> Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
- Loading branch information