2016-11-03 23:58:51

by Jarkko Sakkinen

[permalink] [raw]
Subject: [PATCH 3/3] tpm: move documentation under Documentation/security

In order too make Documentation root directory cleaner move the tpm
directory under Documentation/security.

Signed-off-by: Jarkko Sakkinen <[email protected]>
---
Documentation/index.rst | 2 +-
Documentation/security/index.rst | 7 +++++++
Documentation/{ => security}/tpm/index.rst | 0
Documentation/{ => security}/tpm/tpm_vtpm_proxy.rst | 0
Documentation/{ => security}/tpm/xen-tpmfront.txt | 0
5 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 Documentation/security/index.rst
rename Documentation/{ => security}/tpm/index.rst (100%)
rename Documentation/{ => security}/tpm/tpm_vtpm_proxy.rst (100%)
rename Documentation/{ => security}/tpm/xen-tpmfront.txt (100%)

diff --git a/Documentation/index.rst b/Documentation/index.rst
index 0058b65..b4c3034 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -19,7 +19,7 @@ Contents:
media/dvb-drivers/index
media/v4l-drivers/index
gpu/index
- tpm/index
+ security/index

Indices and tables
==================
diff --git a/Documentation/security/index.rst b/Documentation/security/index.rst
new file mode 100644
index 0000000..9bae6bb
--- /dev/null
+++ b/Documentation/security/index.rst
@@ -0,0 +1,7 @@
+======================
+Security documentation
+======================
+
+.. toctree::
+
+ tpm/index
diff --git a/Documentation/tpm/index.rst b/Documentation/security/tpm/index.rst
similarity index 100%
rename from Documentation/tpm/index.rst
rename to Documentation/security/tpm/index.rst
diff --git a/Documentation/tpm/tpm_vtpm_proxy.rst b/Documentation/security/tpm/tpm_vtpm_proxy.rst
similarity index 100%
rename from Documentation/tpm/tpm_vtpm_proxy.rst
rename to Documentation/security/tpm/tpm_vtpm_proxy.rst
diff --git a/Documentation/tpm/xen-tpmfront.txt b/Documentation/security/tpm/xen-tpmfront.txt
similarity index 100%
rename from Documentation/tpm/xen-tpmfront.txt
rename to Documentation/security/tpm/xen-tpmfront.txt
--
2.9.3


2016-11-04 12:06:13

by Jani Nikula

[permalink] [raw]
Subject: Re: [PATCH 3/3] tpm: move documentation under Documentation/security

On Fri, 04 Nov 2016, Jarkko Sakkinen <[email protected]> wrote:
> In order too make Documentation root directory cleaner move the tpm
> directory under Documentation/security.

FWIW I like this.

BR,
Jani.


>
> Signed-off-by: Jarkko Sakkinen <[email protected]>
> ---
> Documentation/index.rst | 2 +-
> Documentation/security/index.rst | 7 +++++++
> Documentation/{ => security}/tpm/index.rst | 0
> Documentation/{ => security}/tpm/tpm_vtpm_proxy.rst | 0
> Documentation/{ => security}/tpm/xen-tpmfront.txt | 0
> 5 files changed, 8 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/security/index.rst
> rename Documentation/{ => security}/tpm/index.rst (100%)
> rename Documentation/{ => security}/tpm/tpm_vtpm_proxy.rst (100%)
> rename Documentation/{ => security}/tpm/xen-tpmfront.txt (100%)
>
> diff --git a/Documentation/index.rst b/Documentation/index.rst
> index 0058b65..b4c3034 100644
> --- a/Documentation/index.rst
> +++ b/Documentation/index.rst
> @@ -19,7 +19,7 @@ Contents:
> media/dvb-drivers/index
> media/v4l-drivers/index
> gpu/index
> - tpm/index
> + security/index
>
> Indices and tables
> ==================
> diff --git a/Documentation/security/index.rst b/Documentation/security/index.rst
> new file mode 100644
> index 0000000..9bae6bb
> --- /dev/null
> +++ b/Documentation/security/index.rst
> @@ -0,0 +1,7 @@
> +======================
> +Security documentation
> +======================
> +
> +.. toctree::
> +
> + tpm/index
> diff --git a/Documentation/tpm/index.rst b/Documentation/security/tpm/index.rst
> similarity index 100%
> rename from Documentation/tpm/index.rst
> rename to Documentation/security/tpm/index.rst
> diff --git a/Documentation/tpm/tpm_vtpm_proxy.rst b/Documentation/security/tpm/tpm_vtpm_proxy.rst
> similarity index 100%
> rename from Documentation/tpm/tpm_vtpm_proxy.rst
> rename to Documentation/security/tpm/tpm_vtpm_proxy.rst
> diff --git a/Documentation/tpm/xen-tpmfront.txt b/Documentation/security/tpm/xen-tpmfront.txt
> similarity index 100%
> rename from Documentation/tpm/xen-tpmfront.txt
> rename to Documentation/security/tpm/xen-tpmfront.txt

--
Jani Nikula, Intel Open Source Technology Center

2016-11-04 13:01:08

by Jarkko Sakkinen

[permalink] [raw]
Subject: Re: [PATCH 3/3] tpm: move documentation under Documentation/security

On Fri, Nov 04, 2016 at 02:06:00PM +0200, Jani Nikula wrote:
> On Fri, 04 Nov 2016, Jarkko Sakkinen <[email protected]> wrote:
> > In order too make Documentation root directory cleaner move the tpm
> > directory under Documentation/security.
>
> FWIW I like this.

Thx. I just realized that I should have CC'd to linux-security-module
to get say from James as this makes path for the whole security tree.

James, sorry about that. Can you share your opinion?

> BR,
> Jani.

/Jarkko

>
>
> >
> > Signed-off-by: Jarkko Sakkinen <[email protected]>
> > ---
> > Documentation/index.rst | 2 +-
> > Documentation/security/index.rst | 7 +++++++
> > Documentation/{ => security}/tpm/index.rst | 0
> > Documentation/{ => security}/tpm/tpm_vtpm_proxy.rst | 0
> > Documentation/{ => security}/tpm/xen-tpmfront.txt | 0
> > 5 files changed, 8 insertions(+), 1 deletion(-)
> > create mode 100644 Documentation/security/index.rst
> > rename Documentation/{ => security}/tpm/index.rst (100%)
> > rename Documentation/{ => security}/tpm/tpm_vtpm_proxy.rst (100%)
> > rename Documentation/{ => security}/tpm/xen-tpmfront.txt (100%)
> >
> > diff --git a/Documentation/index.rst b/Documentation/index.rst
> > index 0058b65..b4c3034 100644
> > --- a/Documentation/index.rst
> > +++ b/Documentation/index.rst
> > @@ -19,7 +19,7 @@ Contents:
> > media/dvb-drivers/index
> > media/v4l-drivers/index
> > gpu/index
> > - tpm/index
> > + security/index
> >
> > Indices and tables
> > ==================
> > diff --git a/Documentation/security/index.rst b/Documentation/security/index.rst
> > new file mode 100644
> > index 0000000..9bae6bb
> > --- /dev/null
> > +++ b/Documentation/security/index.rst
> > @@ -0,0 +1,7 @@
> > +======================
> > +Security documentation
> > +======================
> > +
> > +.. toctree::
> > +
> > + tpm/index
> > diff --git a/Documentation/tpm/index.rst b/Documentation/security/tpm/index.rst
> > similarity index 100%
> > rename from Documentation/tpm/index.rst
> > rename to Documentation/security/tpm/index.rst
> > diff --git a/Documentation/tpm/tpm_vtpm_proxy.rst b/Documentation/security/tpm/tpm_vtpm_proxy.rst
> > similarity index 100%
> > rename from Documentation/tpm/tpm_vtpm_proxy.rst
> > rename to Documentation/security/tpm/tpm_vtpm_proxy.rst
> > diff --git a/Documentation/tpm/xen-tpmfront.txt b/Documentation/security/tpm/xen-tpmfront.txt
> > similarity index 100%
> > rename from Documentation/tpm/xen-tpmfront.txt
> > rename to Documentation/security/tpm/xen-tpmfront.txt
>
> --
> Jani Nikula, Intel Open Source Technology Center

2016-11-04 16:34:49

by James Morris

[permalink] [raw]
Subject: Re: [PATCH 3/3] tpm: move documentation under Documentation/security

On Fri, 4 Nov 2016, Jarkko Sakkinen wrote:

> On Fri, Nov 04, 2016 at 02:06:00PM +0200, Jani Nikula wrote:
> > On Fri, 04 Nov 2016, Jarkko Sakkinen <[email protected]> wrote:
> > > In order too make Documentation root directory cleaner move the tpm
> > > directory under Documentation/security.
> >
> > FWIW I like this.
>
> Thx. I just realized that I should have CC'd to linux-security-module
> to get say from James as this makes path for the whole security tree.
>
> James, sorry about that. Can you share your opinion?

Looks like a good idea to me.


--
James Morris
<[email protected]>

2016-11-07 22:38:07

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH 3/3] tpm: move documentation under Documentation/security

On Thu, 3 Nov 2016 17:57:52 -0600
Jarkko Sakkinen <[email protected]> wrote:

> In order too make Documentation root directory cleaner move the tpm
> directory under Documentation/security.

So I'll happily apply these to the docs tree, but...

1) It won't apply to current docs-next. I guess I can manage the merge
there easily enough, but also,

2) Part 1 of the series (which wasn't sent to me anyway) is not something I
an apply, so somebody else should pick that one up.

Thanks,

jon

2016-11-08 00:22:25

by Jarkko Sakkinen

[permalink] [raw]
Subject: Re: [PATCH 3/3] tpm: move documentation under Documentation/security

On Mon, Nov 07, 2016 at 03:37:52PM -0700, Jonathan Corbet wrote:
> On Thu, 3 Nov 2016 17:57:52 -0600
> Jarkko Sakkinen <[email protected]> wrote:
>
> > In order too make Documentation root directory cleaner move the tpm
> > directory under Documentation/security.
>
> So I'll happily apply these to the docs tree, but...
>
> 1) It won't apply to current docs-next. I guess I can manage the merge
> there easily enough, but also,
>
> 2) Part 1 of the series (which wasn't sent to me anyway) is not something I
> an apply, so somebody else should pick that one up.

I'll apply the first patch to my (tpmdd) tree.

Thank you!

/Jarkko