Skip to contentSkip to conversation

MAINTAINERS: adjust to trusted keys subsystem creation

PATCH Superseded Lukas Bulwahn 3 participants 7 messages Mar 4, 2020 – Mar 5, 2020

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MAINTAINERS: adjust to trusted keys subsystem creation

Commit 47f9c2796891 ("KEYS: trusted: Create trusted keys subsystem") renamed trusted.h to trusted_tpm.h in include/keys/, and moved trusted.c to trusted-keys/trusted_tpm1.c in security/keys/.

Since then, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: security/keys/trusted.c
warning: no file matches F: include/keys/trusted.h

Rectify the KEYS-TRUSTED entry in MAINTAINERS now.

---
Sumit, please ack.
Jarkko, please pick this patch.

 MAINTAINERS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
MAINTAINERS +2 -2
index 5c755e03ddee..cf389058ca76 100644
@@ -9276,8 +9276,8 @@ L:	[email protected]
 S:	Supported
 F:	Documentation/security/keys/trusted-encrypted.rst
 F:	include/keys/trusted-type.h
-F:	security/keys/trusted.c
-F:	include/keys/trusted.h
+F:	include/keys/trusted_tpm.h
+F:	security/keys/trusted-keys/trusted_tpm1.c
 
 KEYS/KEYRINGS
 M:	David Howells <[email protected]>
Signature · 1 line
2.17.1
#1 lore raw
Quoted 27 lines · Lukas Bulwahn

Commit 47f9c2796891 ("KEYS: trusted: Create trusted keys subsystem") renamed trusted.h to trusted_tpm.h in include/keys/, and moved trusted.c
to trusted-keys/trusted_tpm1.c in security/keys/.

Since then, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: security/keys/trusted.c
warning: no file matches F: include/keys/trusted.h

Rectify the KEYS-TRUSTED entry in MAINTAINERS now.

---
Sumit, please ack.
Jarkko, please pick this patch.

 MAINTAINERS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
MAINTAINERS +0 -0
index 5c755e03ddee..cf389058ca76 100644

MAINTAINERS L: [email protected] · line 9280

Quoted 7 lines
MAINTAINERS +2 -2
@@ -9276,8 +9276,8 @@ L:	[email protected]
 S:	Supported
 F:	Documentation/security/keys/trusted-encrypted.rst
 F:	include/keys/trusted-type.h
-F:	security/keys/trusted.c
-F:	include/keys/trusted.h
+F:	include/keys/trusted_tpm.h
+F:	security/keys/trusted-keys/trusted_tpm1.c

Everything under trusted-keys is part of the subsystem, so this should be a glob not a single file.

James

#2 lore raw
Quoted 7 lines · James Bottomley

MAINTAINERS L: [email protected] · line 9280

Quoted 2 lines · Lukas Bulwahn
MAINTAINERS +2 -0
+F:	include/keys/trusted_tpm.h
+F:	security/keys/trusted-keys/trusted_tpm1.c

Everything under trusted-keys is part of the subsystem, so this should be a glob not a single file.

Agree. I sent out a PATCH v2 for that:

https://lore.kernel.org/linux-integrity/[email protected]/T/#u

Please ignore this v1 here and pick v2.

Thanks,

Lukas

#3 lore raw
In reply to Lukas Bulwahn
Quoted 9 lines · Lukas Bulwahn

Commit 47f9c2796891 ("KEYS: trusted: Create trusted keys subsystem") renamed trusted.h to trusted_tpm.h in include/keys/, and moved trusted.c to trusted-keys/trusted_tpm1.c in security/keys/.

Since then, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: security/keys/trusted.c
warning: no file matches F: include/keys/trusted.h

Quoted 8 lines

Rectify the KEYS-TRUSTED entry in MAINTAINERS now.

---
Sumit, please ack.
Jarkko, please pick this patch.

I'll pick it when it is done. I acknowledge the regression but I see no reason for rushing as this does not break any systems in the wild.

/Jarkko

#4 lore raw
Quoted 19 lines · Jarkko Sakkinen
Quoted 9 lines · Lukas Bulwahn

Commit 47f9c2796891 ("KEYS: trusted: Create trusted keys subsystem") renamed trusted.h to trusted_tpm.h in include/keys/, and moved trusted.c to trusted-keys/trusted_tpm1.c in security/keys/.

Since then, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: security/keys/trusted.c
warning: no file matches F: include/keys/trusted.h

Quoted 8 lines

Rectify the KEYS-TRUSTED entry in MAINTAINERS now.

---
Sumit, please ack.
Jarkko, please pick this patch.

Quoted 4 lines

I'll pick it when it is done. I acknowledge the regression but I see no reason for rushing as this does not break any systems in the wild.

Agree. No need to rush this. I sent out a v3, and I hope to get Sumit's ACK and then you can pick it for the next merge window.

Lukas

#5 lore raw
Quoted 24 lines · Lukas Bulwahn
Quoted 21 lines · Jarkko Sakkinen
Quoted 19 lines · Lukas Bulwahn

Commit 47f9c2796891 ("KEYS: trusted: Create trusted keys subsystem")
renamed trusted.h to trusted_tpm.h in include/keys/, and moved trusted.c
to trusted-keys/trusted_tpm1.c in security/keys/.

Since then, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: security/keys/trusted.c
warning: no file matches F: include/keys/trusted.h

Rectify the KEYS-TRUSTED entry in MAINTAINERS now.

---
Sumit, please ack.
Jarkko, please pick this patch.

Quoted 7 lines
Quoted 4 lines

I'll pick it when it is done. I acknowledge the regression but I see no reason for rushing as this does not break any systems in the wild.

Agree. No need to rush this. I sent out a v3, and I hope to get Sumit's ACK and then you can pick it for the next merge window.

From a process point of view, I don't quite understand this. You're altering an entry in the MAINTAINERS file which belongs to the three maintainers of trusted keys, you only need our ack to do that, which picking up via the trusted key tree will substitute for. It would be useful to have Sumit review this because he moved the files and there may be something we missed, but a reviewed-by: is a nice to have and not a block on the process.

James

#6 lore raw
Quoted 33 lines · James Bottomley
Quoted 24 lines · Lukas Bulwahn
Quoted 21 lines · Jarkko Sakkinen
Quoted 19 lines · Lukas Bulwahn

Commit 47f9c2796891 ("KEYS: trusted: Create trusted keys subsystem")
renamed trusted.h to trusted_tpm.h in include/keys/, and moved trusted.c
to trusted-keys/trusted_tpm1.c in security/keys/.

Since then, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: security/keys/trusted.c
warning: no file matches F: include/keys/trusted.h

Rectify the KEYS-TRUSTED entry in MAINTAINERS now.

---
Sumit, please ack.
Jarkko, please pick this patch.

Quoted 7 lines
Quoted 4 lines

I'll pick it when it is done. I acknowledge the regression but I see no reason for rushing as this does not break any systems in the wild.

Agree. No need to rush this. I sent out a v3, and I hope to get Sumit's ACK and then you can pick it for the next merge window.

Quoted 8 lines

From a process point of view, I don't quite understand this. You're altering an entry in the MAINTAINERS file which belongs to the three maintainers of trusted keys, you only need our ack to do that, which picking up via the trusted key tree will substitute for. It would be useful to have Sumit review this because he moved the files and there may be something we missed, but a reviewed-by: is a nice to have and not a block on the process.

Agree. I expect Sumit to acknowledge that the PATCH v3 "fixes" what he missed in his commit from his point of view. I do not use the Fixes: tag, because it just some basic administrative clean-up, but not any functional change; commits with Fixes: tags are quickly picked up for stable, but this patch should not be picked up, because changes to MAINTAINERS do not need to be reflected in stable branches.

There is no rush and no blocker here.

Lukas