All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/15] Updates of in-kernel documentation pointers
@ 2017-09-11  3:03 Eugene Syromyatnikov
       [not found] ` <20170911030347.GA24854-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Eugene Syromyatnikov @ 2017-09-11  3:03 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello.

I've noticed that some of Linux kernel in-tree documentation pointers
are no longer valid and decided to check the validity for the rest of
them with some one-liner. As it turned out, there are quite a few of
them, in part due to latest ReST conversion effort. This patch set aims
at amending documentation pointers that are no longer valid with the
information about current location. I'm not quite sure about
wording/formatting, and do not guarantee that I haven't miss anything,
so I hope that this could be at least useful as a starting point.

Eugene Syromyatnikov (15):
  add_key.2, request_key.2, keyrings.7: update Linux documentation
    pointers
  prctl.2, ptrace.2: update pointer to in-kernel Yama documentation
  prctl.2: update pointer to in-kernel no_new_privs flag documentation
  prctl.2, seccomp.2: update pointer to in-kernel seccomp documentation
  unshare.2: update pointer to in-kernel unshare documentation
  initrd.4: update pointer to in-kernel root over NFS documentation
  initrd.4, proc.5, bootparam.7: update pointer to in-kernel initrd
    documentation
  proc.5: document removal of htab-reclaim sysctl file
  proc.5: document removal of timer_stats file
  proc.5: update pointer to in-kernel security keys documentation
  proc.5: update reference to kernel's crypto API documentation
  proc.5: update pointer to in-kernel MTRR documentation
  proc.5: update pointer to in-kernel SysRq documentation
  cpuset.7: update pointer to in-kernel cpusets documentation
  unicode.7: update pointer to in-kernel Unicode terminal support
    documentation

 man2/add_key.2     |  8 +++++++-
 man2/prctl.2       | 18 +++++++++++++++---
 man2/ptrace.2      |  4 ++++
 man2/request_key.2 |  8 +++++++-
 man2/seccomp.2     |  6 +++++-
 man2/unshare.2     |  6 +++++-
 man4/initrd.4      | 14 +++++++++++++-
 man5/proc.5        | 54 ++++++++++++++++++++++++++++++++++++++++++++----------
 man7/bootparam.7   |  6 +++++-
 man7/cpuset.7      |  6 +++++-
 man7/keyrings.7    |  4 +++-
 man7/unicode.7     |  6 +++++-
 12 files changed, 118 insertions(+), 22 deletions(-)

-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 00/15] Updates of in-kernel documentation pointers
       [not found] ` <20170911030347.GA24854-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
@ 2017-09-11 11:47   ` Christoph Hellwig
       [not found]     ` <20170911114747.GA3463-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
  2017-09-11 13:54   ` Michael Kerrisk (man-opages)
  1 sibling, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2017-09-11 11:47 UTC (permalink / raw)
  To: Eugene Syromyatnikov
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On Mon, Sep 11, 2017 at 05:03:47AM +0200, Eugene Syromyatnikov wrote:
> Hello.
> 
> I've noticed that some of Linux kernel in-tree documentation pointers
> are no longer valid and decided to check the validity for the rest of
> them with some one-liner. As it turned out, there are quite a few of
> them, in part due to latest ReST conversion effort. This patch set aims
> at amending documentation pointers that are no longer valid with the
> information about current location. I'm not quite sure about
> wording/formatting, and do not guarantee that I haven't miss anything,
> so I hope that this could be at least useful as a starting point.

Do these pointers even have a place in man pages?  I'd much rather
have anything that matters added to the man page instead.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 00/15] Updates of in-kernel documentation pointers
       [not found]     ` <20170911114747.GA3463-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
@ 2017-09-11 11:56       ` Eugene Syromyatnikov
  0 siblings, 0 replies; 4+ messages in thread
From: Eugene Syromyatnikov @ 2017-09-11 11:56 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Michael Kerrisk-manpages, linux-man

On Mon, Sep 11, 2017 at 1:47 PM, Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> wrote:
> On Mon, Sep 11, 2017 at 05:03:47AM +0200, Eugene Syromyatnikov wrote:
>> Hello.
>>
>> I've noticed that some of Linux kernel in-tree documentation pointers
>> are no longer valid and decided to check the validity for the rest of
>> them with some one-liner. As it turned out, there are quite a few of
>> them, in part due to latest ReST conversion effort. This patch set aims
>> at amending documentation pointers that are no longer valid with the
>> information about current location. I'm not quite sure about
>> wording/formatting, and do not guarantee that I haven't miss anything,
>> so I hope that this could be at least useful as a starting point.
>
> Do these pointers even have a place in man pages?  I'd much rather
> have anything that matters added to the man page instead.

Well, the kernel documentation documents kernel side of things. Some
of these pointers indeed due to some sort of sloppiness (mtrr andkeys
references in proc.5, for example), but others are indeed useful,
since contain significant amount of information needed for the full
understanding of the topic (like crypto or key management APIs).
Moreover, this documentation is better maintained by kernel developers
for some reason, so there are more chances that it stays actual. I see
them (especially in "See also" section) as a documents for additional
information on the topic, like RFCs and stuff.

-- 
Eugene Syromyatnikov
mailto:evgsyr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
xmpp:esyr@jabber.{ru|org}
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 00/15] Updates of in-kernel documentation pointers
       [not found] ` <20170911030347.GA24854-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
  2017-09-11 11:47   ` Christoph Hellwig
@ 2017-09-11 13:54   ` Michael Kerrisk (man-opages)
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-opages) @ 2017-09-11 13:54 UTC (permalink / raw)
  To: Eugene Syromyatnikov; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello Eugene,

On 09/11/2017 05:03 AM, Eugene Syromyatnikov wrote:
> Hello.
> 
> I've noticed that some of Linux kernel in-tree documentation pointers
> are no longer valid and decided to check the validity for the rest of
> them with some one-liner. As it turned out, there are quite a few of
> them, in part due to latest ReST conversion effort. This patch set aims
> at amending documentation pointers that are no longer valid with the
> information about current location. I'm not quite sure about
> wording/formatting, and do not guarantee that I haven't miss anything,
> so I hope that this could be at least useful as a starting point.

Thanks. I new a bunch of fixes must be needed because of the ReST 
changes, but had not yet taken a look.

The patches look great thanks for preserving the historical information.

A couple of minor tweaks for future commit messages:

1. Capitalize the first word after the file list in the patch title:

    E.g., instead of "usnshare.2: some text" use "unshare.2: "Some text"

2. In the body of the commit message, I prefer the text to be no wider
    than 66 columns.

These points help with my scripts that generate the release changelog.
I've fixed all of these details in the patches you've sent.

Thanks,

Michael

> Eugene Syromyatnikov (15):
>    add_key.2, request_key.2, keyrings.7: update Linux documentation
>      pointers
>    prctl.2, ptrace.2: update pointer to in-kernel Yama documentation
>    prctl.2: update pointer to in-kernel no_new_privs flag documentation
>    prctl.2, seccomp.2: update pointer to in-kernel seccomp documentation
>    unshare.2: update pointer to in-kernel unshare documentation
>    initrd.4: update pointer to in-kernel root over NFS documentation
>    initrd.4, proc.5, bootparam.7: update pointer to in-kernel initrd
>      documentation
>    proc.5: document removal of htab-reclaim sysctl file
>    proc.5: document removal of timer_stats file
>    proc.5: update pointer to in-kernel security keys documentation
>    proc.5: update reference to kernel's crypto API documentation
>    proc.5: update pointer to in-kernel MTRR documentation
>    proc.5: update pointer to in-kernel SysRq documentation
>    cpuset.7: update pointer to in-kernel cpusets documentation
>    unicode.7: update pointer to in-kernel Unicode terminal support
>      documentation
> 
>   man2/add_key.2     |  8 +++++++-
>   man2/prctl.2       | 18 +++++++++++++++---
>   man2/ptrace.2      |  4 ++++
>   man2/request_key.2 |  8 +++++++-
>   man2/seccomp.2     |  6 +++++-
>   man2/unshare.2     |  6 +++++-
>   man4/initrd.4      | 14 +++++++++++++-
>   man5/proc.5        | 54 ++++++++++++++++++++++++++++++++++++++++++++----------
>   man7/bootparam.7   |  6 +++++-
>   man7/cpuset.7      |  6 +++++-
>   man7/keyrings.7    |  4 +++-
>   man7/unicode.7     |  6 +++++-
>   12 files changed, 118 insertions(+), 22 deletions(-)
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-09-11 13:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-11  3:03 [PATCH 00/15] Updates of in-kernel documentation pointers Eugene Syromyatnikov
     [not found] ` <20170911030347.GA24854-ZbobWygYI+YXGNroddHbYwC/G2K4zDHf@public.gmane.org>
2017-09-11 11:47   ` Christoph Hellwig
     [not found]     ` <20170911114747.GA3463-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2017-09-11 11:56       ` Eugene Syromyatnikov
2017-09-11 13:54   ` Michael Kerrisk (man-opages)

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.