TEST: Maximum description length is limited in more recent kernels

The maximum description size (maxdesclen) in the upstream kernel has been
limited to 4095 plus a NUL char from v3.18 onwards and now this has been
backported to RHEL-6 from kernel release 589 and onwards.

Limit the maxdesc string when an appropriate kernel is detected.

Signed-off-by: David Howells <dhowells@redhat.com>
1 file changed