Re: [2/4] crypto: af_alg - Allow arbitrarily long algorithm names" email-alg_bind.txt

2017-11-26 Thread Herbert Xu
On Wed, Nov 08, 2017 at 05:51:36PM +0100, Lukasz Odzioba wrote: > Hi, > I found this patch by accident and it got my attention. > I think we can't make this name arbitrarily long because bind syscall checks > addrlen before feeding protocol with it. > Current limit on my machine is 128 bytes and

Re: [2/4] crypto: af_alg - Allow arbitrarily long algorithm names" email-alg_bind.txt

2017-11-26 Thread Herbert Xu
On Wed, Nov 08, 2017 at 05:51:36PM +0100, Lukasz Odzioba wrote: > Hi, > I found this patch by accident and it got my attention. > I think we can't make this name arbitrarily long because bind syscall checks > addrlen before feeding protocol with it. > Current limit on my machine is 128 bytes and

RE: [2/4] crypto: af_alg - Allow arbitrarily long algorithm names" email-alg_bind.txt

2017-11-08 Thread Lukasz Odzioba
Hi, I found this patch by accident and it got my attention. I think we can't make this name arbitrarily long because bind syscall checks addrlen before feeding protocol with it. Current limit on my machine is 128 bytes and I can't even reach alg_bind() function if I specify more than that. We

RE: [2/4] crypto: af_alg - Allow arbitrarily long algorithm names" email-alg_bind.txt

2017-11-08 Thread Lukasz Odzioba
Hi, I found this patch by accident and it got my attention. I think we can't make this name arbitrarily long because bind syscall checks addrlen before feeding protocol with it. Current limit on my machine is 128 bytes and I can't even reach alg_bind() function if I specify more than that. We