Skip to contentSkip to conversation

Documentation on IMA for Linux Kernel Documentation

DISCUSSION Ken Goldman 3 participants 9 messages Mar 13, 2023 – Mar 23, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I'm writing documentation on IMA targeting users (not kernel developers).  It includes concepts, details on writing policies, the IMA event log format, utilities, and more.  It aggregates existing scattered documentation, but adds much more.  It's maybe 1/2 done.

Questions:

1. Are there people who could look at it and see if I'm on the right path?

It's a lot of work.  I'd like to know that it has some chance of acceptance.

2. What is the process for getting a block of documentation added to https://www.kernel.org/doc/html?

reviewer
#1 lore raw

[add IMA list]

Quoted 9 lines · Ken Goldman

I'm writing documentation on IMA targeting users (not kernel developers).  It includes concepts, details on writing policies, the IMA event log format, utilities, and more.  It aggregates existing scattered documentation, but adds much more.  It's maybe 1/2 done.

Questions:

1. Are there people who could look at it and see if I'm on the right path?

It's a lot of work.  I'd like to know that it has some chance of acceptance.

2. What is the process for getting a block of documentation added to https://www.kernel.org/doc/html?

It should be added to the kernel tree in the Documentation/userspace-api/ subdirectory or Documentation/security/ subdirectory. The kernel.org/doc/ web pages are generated from what is in the Linux kernel tree.

Thanks.

Signature · 1 line
~Randy
reviewer
#2 lore raw
Quoted 9 lines · Randy Dunlap

[add IMA list]

Quoted 6 lines · Ken Goldman

I'm writing documentation on IMA targeting users (not kernel developers).  It includes concepts, details on writing policies, the IMA event log format, utilities, and more.  It aggregates existing scattered documentation, but adds much more.  It's maybe 1/2 done.

Questions:

1. Are there people who could look at it and see if I'm on the right path?

Quoted 8 lines
Quoted 3 lines

It's a lot of work.  I'd like to know that it has some chance of acceptance.

2. What is the process for getting a block of documentation added to https://www.kernel.org/doc/html?

It should be added to the kernel tree in the Documentation/userspace-api/ subdirectory or Documentation/security/ subdirectory. The kernel.org/doc/ web pages are generated from what is in the Linux kernel tree.

Ken, if you are not familiar with in-tree kernel documentation, you should take a look at the Documentation/doc-guide/ subdirectory for some documentation on the documentation.

Also you can ask for help with specific issues at [email protected]

Signature · 1 line
~Randy
#3 lore raw
Quoted 14 lines · Randy Dunlap
Quoted 13 lines · Randy Dunlap

[add IMA list]

Quoted 9 lines · Ken Goldman

I'm writing documentation on IMA targeting users (not kernel developers).  It includes concepts, details on writing policies, the IMA event log format, utilities, and more.  It aggregates existing scattered documentation, but adds much more.  It's maybe 1/2 done.

Questions:

1. Are there people who could look at it and see if I'm on the right path?

It's a lot of work.  I'd like to know that it has some chance of acceptance.

2. What is the process for getting a block of documentation added to https://www.kernel.org/doc/html?

Quoted 7 lines
Quoted 3 lines

It should be added to the kernel tree in the Documentation/userspace-api/ subdirectory or Documentation/security/ subdirectory. The kernel.org/doc/ web pages are generated from what is in the Linux kernel tree.

Ken, if you are not familiar with in-tree kernel documentation, you should take a look at the Documentation/doc-guide/ subdirectory for some documentation on the documentation.

Also you can ask for help with specific issues at [email protected]

I've read the guidelines, coding in rest markdown, using sphinx to test the web pages.  I think it's right.

1. I was hoping that someone could look at what I'm doing to see if it has a chance of acceptance.

I.e., I don't want to spend months on this only to get a quick 'nack'.

2. I wonder what the process for submission is.

reviewer
#4 lore raw

Hi Ken,

Quoted 23 lines · Ken Goldman
Quoted 14 lines · Randy Dunlap
Quoted 13 lines · Randy Dunlap

[add IMA list]

Quoted 9 lines · Ken Goldman

I'm writing documentation on IMA targeting users (not kernel developers).  It includes concepts, details on writing policies, the IMA event log format, utilities, and more.  It aggregates existing scattered documentation, but adds much more.  It's maybe 1/2 done.

Questions:

1. Are there people who could look at it and see if I'm on the right path?

It's a lot of work.  I'd like to know that it has some chance of acceptance.

2. What is the process for getting a block of documentation added to https://www.kernel.org/doc/html?

Quoted 7 lines
Quoted 3 lines

It should be added to the kernel tree in the Documentation/userspace-api/ subdirectory or Documentation/security/ subdirectory.  The kernel.org/doc/ web pages are generated from what is in the Linux kernel tree.

Ken, if you are not familiar with in-tree kernel documentation, you should take a look at the Documentation/doc-guide/ subdirectory for some documentation on the documentation.

Also you can ask for help with specific issues at [email protected]

Quoted 7 lines

I've read the guidelines, coding in rest markdown, using sphinx to test the web pages.  I think it's right.

1. I was hoping that someone could look at what I'm doing to see if it has a chance of acceptance.

I.e., I don't want to spend months on this only to get a quick 'nack'.

2. I wonder what the process for submission is.

It's documented in Documentation/process/submitting-patches.rst, but just ask if you have any questions about it.

Signature · 1 line
~Randy
#5 lore raw
In reply to Randy Dunlap

I'm writing documentation on IMA targeting users (not kernel developers).  It includes concepts, details on writing policies, the IMA event log format, utilities, and more.  It aggregates existing scattered documentation, but adds much more.  It's maybe 1/2 done.

Questions:

1. Are there people who could look at it and see if I'm on the right path?

It's a lot of work.  I'd like to know that it has some chance of acceptance.

2. What is the process for getting a block of documentation added to https://www.kernel.org/doc/html?

reviewer
#6 lore raw
Quoted 7 lines · Ken Goldman

I'm writing documentation on IMA targeting users (not kernel developers).  It includes concepts, details on writing policies, the IMA event log format, utilities, and more.  It aggregates existing scattered documentation, but adds much more.  It's maybe 1/2 done.

Questions:

1. Are there people who could look at it and see if I'm on the right path?

It's a lot of work.  I'd like to know that it has some chance of acceptance.

Review in terms of IMA-specific content? or in terms of ReST usage? or in general terms to see if it is appropriate for kernel tree documentation?

I think that you should Cc: [email protected] for their input as well as [email protected]. Several of us here can look at it for general review feedback.

Quoted 1 line

2. What is the process for getting a block of documentation added to https://www.kernel.org/doc/html?

From last week's email:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

It should be added to the kernel tree in the Documentation/userspace-api/ subdirectory or Documentation/security/ subdirectory. The kernel.org/doc/ web pages are generated from what is in the Linux kernel tree.

although if you don't think that it is appropriate for either of those subdirectories, just explain and justify that and it might be possible to put it somewhere else.

Signature · 1 line
~Randy
#7 lore raw
Quoted 7 lines · Randy Dunlap
Quoted 6 lines · Ken Goldman

I'm writing documentation on IMA targeting users (not kernel developers).  It includes concepts, details on writing policies, the IMA event log format, utilities, and more.  It aggregates existing scattered documentation, but adds much more.  It's maybe 1/2 done.

Questions:

1. Are there people who could look at it and see if I'm on the right path?

Quoted 7 lines
Quoted 1 line

It's a lot of work.  I'd like to know that it has some chance of acceptance.

Review in terms of IMA-specific content? or in terms of ReST usage? or in general terms to see if it is appropriate for kernel tree documentation?

I think that you should Cc: [email protected] for their input as well as [email protected]. Several of us here can look at it for general review feedback.

Not the accuracy - I have IMA experts looking at that.

I want to know if it'll be accepted, and if the structure is OK.

Quoted 8 lines

2. What is the process for getting a block of documentation added to https://www.kernel.org/doc/html?
From last week's email:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

It should be added to the kernel tree in the Documentation/userspace-api/ subdirectory or Documentation/security/ subdirectory. The kernel.org/doc/ web pages are generated from what is in the Linux kernel tree.

although if you don't think that it is appropriate for either of those subdirectories, just explain and justify that and it might be possible to put it somewhere else.

"Where" comes later.  I just want to know if it'll be accepted at all.

maintainer
#8 lore raw
Quoted 9 lines · Ken Goldman
Quoted 6 lines · Randy Dunlap

Review in terms of IMA-specific content? or in terms of ReST usage? or in general terms to see if it is appropriate for kernel tree documentation?

I think that you should Cc: [email protected] for their input as well as [email protected]. Several of us here can look at it for general review feedback.

Not the accuracy - I have IMA experts looking at that.

You still want to copy the integrity list for something like this; they will have the ultimate say on whether it makes sense for inclusion into the kernel tree.

Quoted 1 line

I want to know if it'll be accepted, and if the structure is OK.

...and that's hard to answer without seeing the work. It's better to just post what you have then to ask whether you should.

Quoted 11 lines
Quoted 9 lines

2. What is the process for getting a block of documentation added to
https://www.kernel.org/doc/html?
From last week's email:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

It should be added to the kernel tree in the Documentation/userspace-api/ subdirectory or Documentation/security/ subdirectory. The kernel.org/doc/ web pages are generated from what is in the Linux kernel tree.

although if you don't think that it is appropriate for either of those subdirectories, just explain and justify that and it might be possible to put it somewhere else.

"Where" comes later.  I just want to know if it'll be accepted at all.

We're not in the habit of turning down good documentation. Please, post your work to the relevant lists and we'll go from there.

Thanks,

jon