Skip to contentSkip to conversation

trusted-keys: rename trusted_defined files to trusted

PATCH In review Mimi Zohar 3 participants 10 messages Jan 18, 2011 – Jan 23, 2011

Subsystems (2)
lore
Share & tools
lore

Mimi Zohar

author
#0 lore raw

PATCH 1/3 trusted-keys: rename trusted_defined files to trusted

Rename trusted_defined.c and trusted_defined.h files to trusted.c and trust.h, respectively. Based on request from David Howells.

---
 security/keys/Makefile          |    2 +-
 security/keys/trusted.c         | 1180 +++++++++++++++++++++++++++++++++++++++
 security/keys/trusted.h         |  134 +++++
 security/keys/trusted_defined.c | 1180 ---------------------------------------
 security/keys/trusted_defined.h |  134 -----
 5 files changed, 1315 insertions(+), 1315 deletions(-)
 create mode 100644 security/keys/trusted.c
 create mode 100644 security/keys/trusted.h
 delete mode 100644 security/keys/trusted_defined.c
 delete mode 100644 security/keys/trusted_defined.h
security/keys/Makefile +1 -1
index 6c94105..ad8da87 100644
@@ -13,7 +13,7 @@ obj-y := \
 	request_key_auth.o \
 	user_defined.o
 
-obj-$(CONFIG_TRUSTED_KEYS) += trusted_defined.o
+obj-$(CONFIG_TRUSTED_KEYS) += trusted.o
 obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted_defined.o
 obj-$(CONFIG_KEYS_COMPAT) += compat.o
 obj-$(CONFIG_PROC_FS) += proc.o
security/keys/trusted.c new file +1180 -0

1,180 lines not on this page · raw message

security/keys/trusted.h new file +134 -0

134 lines not on this page · raw message

security/keys/trusted_defined.c deleted +0 -1180

1,180 lines not on this page · raw message

security/keys/trusted_defined.h deleted +0 -134

134 lines not on this page · raw message

Signature · 1 line
1.7.3.4
author
#1 lore raw

PATCH 2/3 encrypted-keys: rename encrypted_defined files to encrypted

Rename encrypted_defined.c and encrypted_defined.h files to encrypted.c and encrypted.h, respectively. Based on request from David Howells.

---
 security/keys/Makefile            |    2 +-
 security/keys/encrypted.c         |  903 +++++++++++++++++++++++++++++++++++++
 security/keys/encrypted.h         |   54 +++
 security/keys/encrypted_defined.c |  903 -------------------------------------
 security/keys/encrypted_defined.h |   54 ---
 5 files changed, 958 insertions(+), 958 deletions(-)
 create mode 100644 security/keys/encrypted.c
 create mode 100644 security/keys/encrypted.h
 delete mode 100644 security/keys/encrypted_defined.c
 delete mode 100644 security/keys/encrypted_defined.h
security/keys/Makefile +1 -1
index ad8da87..1bf090a 100644
@@ -14,7 +14,7 @@ obj-y := \
 	user_defined.o
 
 obj-$(CONFIG_TRUSTED_KEYS) += trusted.o
-obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted_defined.o
+obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted.o
 obj-$(CONFIG_KEYS_COMPAT) += compat.o
 obj-$(CONFIG_PROC_FS) += proc.o
 obj-$(CONFIG_SYSCTL) += sysctl.o
security/keys/encrypted.c new file +903 -0

903 lines not on this page · raw message

security/keys/encrypted.h new file +54 -0

54 lines not on this page · raw message

security/keys/encrypted_defined.c deleted +0 -903

903 lines not on this page · raw message

security/keys/encrypted_defined.h deleted +0 -54

54 lines not on this page · raw message

Signature · 1 line
1.7.3.4
author
#3 lore raw

PATCH 3/3 keys: add trusted and encrypted maintainers

In reply to Mimi Zohar

Add myself and David Safford as maintainers for trusted/encrypted keys.

---
 MAINTAINERS |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
MAINTAINERS +22 -0
index 3dd5c6f..4c3191b 100644
@@ -3670,6 +3670,28 @@ F:	include/linux/key-type.h
 F:	include/keys/
 F:	security/keys/
 
+KEYS-TRUSTED
+M:	David Safford <[email protected]>
+M:	Mimi Zohar <[email protected]>
+L:	[email protected]
+L:	[email protected]
+S:	Supported
+F:	Documentation/keys-trusted-encrypted.txt
+F:	include/keys/trusted-type.h
+F:	security/keys/trusted.c
+F:	security/keys/trusted.h
+
+KEYS-ENCRYPTED
+M:	Mimi Zohar <[email protected]>
+M:	David Safford <[email protected]>
+L:	[email protected]
+L:	[email protected]
+S:	Supported
+F:	Documentation/keys-trusted-encrypted.txt
+F:	include/keys/encrypted-type.h
+F:	security/keys/encrypted.c
+F:	security/keys/encrypted.h
+
 KGDB / KDB /debug_core
 M:	Jason Wessel <[email protected]>
 W:	http://kgdb.wiki.kernel.org/
Signature · 1 line
1.7.3.4
maintainer
#5 lore raw
In reply to Mimi Zohar
Quoted 2 lines · Mimi Zohar

Rename trusted_defined.c and trusted_defined.h files to trusted.c and trust.h, respectively. Based on request from David Howells.

Or even to trusted.h.

Apart from that, feel free to add my Acked-by.

David

maintainer
#6 lore raw
Quoted 8 lines · David Howells
Quoted 2 lines · Mimi Zohar

Rename trusted_defined.c and trusted_defined.h files to trusted.c and trust.h, respectively. Based on request from David Howells.

Or even to trusted.h.

Apart from that, feel free to add my Acked-by.

It is trusted.h in the changeset, the comment is wrong.

Signature · 2 lines
James Morris
<[email protected]>
maintainer
#7 lore raw
In reply to Mimi Zohar
Quoted 10 lines · Mimi Zohar
 security/keys/Makefile          |    2 +-
 security/keys/trusted.c         | 1180 +++++++++++++++++++++++++++++++++++++++
 security/keys/trusted.h         |  134 +++++
 security/keys/trusted_defined.c | 1180 ---------------------------------------
 security/keys/trusted_defined.h |  134 -----
 5 files changed, 1315 insertions(+), 1315 deletions(-)
 create mode 100644 security/keys/trusted.c
 create mode 100644 security/keys/trusted.h
 delete mode 100644 security/keys/trusted_defined.c
 delete mode 100644 security/keys/trusted_defined.h

Doesn't GIT have a shorthand way of describing renames in patches?

David

maintainer
#8 lore raw
In reply to Mimi Zohar
Quoted 4 lines · Mimi Zohar

Rename trusted_defined.c and trusted_defined.h files to trusted.c and trust.h, respectively. Based on request from David Howells.

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

(There was a clash with some other changes which David sent to Linus, which I fixed).

Signature · 2 lines
James Morris
<[email protected]>
maintainer
#9 lore raw
Quoted 10 lines · James Morris
Quoted 4 lines · Mimi Zohar

Rename trusted_defined.c and trusted_defined.h files to trusted.c and trust.h, respectively. Based on request from David Howells.

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

I mean, #for-linus, not #next.

Signature · 2 lines
James Morris
<[email protected]>