All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Bug#881830: linux: cherry-pick "security/keys: add CONFIG_KEYS_COMPAT to Kconfig" to stretch kernel
       [not found]   ` <eb23931b-5585-6a6c-13a3-59561328a993@debian.org>
@ 2017-11-16 19:04     ` Ben Hutchings
  2017-11-16 20:28       ` James Cowgill
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Hutchings @ 2017-11-16 19:04 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: James Cowgill, 881830, stable

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

On Wed, 2017-11-15 at 16:50 +0000, James Cowgill wrote:
> Since I was a little puzzled as to why keyutils built previously on
> mips, I found this commit to 4.8 which caused the need for KEYS_COMPAT:
> 
> commit 20f06ed9f61a185c6dabd662c310bed6189470df
> Author: David Howells <dhowells@redhat.com>
> Date:   Wed Jul 27 11:43:37 2016 +0100
> 
>     KEYS: 64-bit MIPS needs to use compat_sys_keyctl for 32-bit userspace
>     
>     MIPS64 needs to use compat_sys_keyctl for 32-bit userspace rather than
>     calling sys_keyctl.  The latter will work in a lot of cases, thereby hiding
>     the issue.
> 
> Now I'm thinking maybe this can be argued as a bugfix for the above
> commit and put in upstream 4.9?

Greg, please queue up these two for 4.9:

5c2a625937ba arm64: support keyctl() system call in 32-bit mode
47b2c3fff493 security/keys: add CONFIG_KEYS_COMPAT to Kconfig

Ben.

-- 
Ben Hutchings
In a hierarchy, every employee tends to rise to his level of
incompetence.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug#881830: linux: cherry-pick "security/keys: add CONFIG_KEYS_COMPAT to Kconfig" to stretch kernel
  2017-11-16 19:04     ` Bug#881830: linux: cherry-pick "security/keys: add CONFIG_KEYS_COMPAT to Kconfig" to stretch kernel Ben Hutchings
@ 2017-11-16 20:28       ` James Cowgill
  2017-11-17  8:08         ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: James Cowgill @ 2017-11-16 20:28 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: Greg Kroah-Hartman, 881830, stable


[-- Attachment #1.1: Type: text/plain, Size: 1078 bytes --]

Hi,

On 16/11/17 19:04, Ben Hutchings wrote:
> On Wed, 2017-11-15 at 16:50 +0000, James Cowgill wrote:
>> Since I was a little puzzled as to why keyutils built previously on
>> mips, I found this commit to 4.8 which caused the need for KEYS_COMPAT:
>>
>> commit 20f06ed9f61a185c6dabd662c310bed6189470df
>> Author: David Howells <dhowells@redhat.com>
>> Date:   Wed Jul 27 11:43:37 2016 +0100
>>
>>     KEYS: 64-bit MIPS needs to use compat_sys_keyctl for 32-bit userspace
>>     
>>     MIPS64 needs to use compat_sys_keyctl for 32-bit userspace rather than
>>     calling sys_keyctl.  The latter will work in a lot of cases, thereby hiding
>>     the issue.
>>
>> Now I'm thinking maybe this can be argued as a bugfix for the above
>> commit and put in upstream 4.9?
> 
> Greg, please queue up these two for 4.9:
> 
> 5c2a625937ba arm64: support keyctl() system call in 32-bit mode
> 47b2c3fff493 security/keys: add CONFIG_KEYS_COMPAT to Kconfig

Sorry, I asked for this in two places. I think it's already queued up
for 4.9 now.

Thanks,
James


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug#881830: linux: cherry-pick "security/keys: add CONFIG_KEYS_COMPAT to Kconfig" to stretch kernel
  2017-11-16 20:28       ` James Cowgill
@ 2017-11-17  8:08         ` Greg Kroah-Hartman
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2017-11-17  8:08 UTC (permalink / raw)
  To: James Cowgill; +Cc: Ben Hutchings, 881830, stable

On Thu, Nov 16, 2017 at 08:28:28PM +0000, James Cowgill wrote:
> Hi,
> 
> On 16/11/17 19:04, Ben Hutchings wrote:
> > On Wed, 2017-11-15 at 16:50 +0000, James Cowgill wrote:
> >> Since I was a little puzzled as to why keyutils built previously on
> >> mips, I found this commit to 4.8 which caused the need for KEYS_COMPAT:
> >>
> >> commit 20f06ed9f61a185c6dabd662c310bed6189470df
> >> Author: David Howells <dhowells@redhat.com>
> >> Date:   Wed Jul 27 11:43:37 2016 +0100
> >>
> >>     KEYS: 64-bit MIPS needs to use compat_sys_keyctl for 32-bit userspace
> >>     
> >>     MIPS64 needs to use compat_sys_keyctl for 32-bit userspace rather than
> >>     calling sys_keyctl.  The latter will work in a lot of cases, thereby hiding
> >>     the issue.
> >>
> >> Now I'm thinking maybe this can be argued as a bugfix for the above
> >> commit and put in upstream 4.9?
> > 
> > Greg, please queue up these two for 4.9:
> > 
> > 5c2a625937ba arm64: support keyctl() system call in 32-bit mode
> > 47b2c3fff493 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
> 
> Sorry, I asked for this in two places. I think it's already queued up
> for 4.9 now.

Well, close, but not quite.  The second patch there reverts the first
patch, and adds the "generic" work.  As I already handled that in the
merge of the second patch, the first one is not needed, and the end
result should be the same.

So all is good.  Or at least I think so, someone verifying I got this
all right would be appreciated :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-17  8:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <093b5416-e41a-ee08-9cef-917fd3971909@debian.org>
     [not found] ` <handler.881830.B.151076294829169.ack@bugs.debian.org>
     [not found]   ` <eb23931b-5585-6a6c-13a3-59561328a993@debian.org>
2017-11-16 19:04     ` Bug#881830: linux: cherry-pick "security/keys: add CONFIG_KEYS_COMPAT to Kconfig" to stretch kernel Ben Hutchings
2017-11-16 20:28       ` James Cowgill
2017-11-17  8:08         ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.