From 73851ba730db18d35063f40259f306a8d18f0f16 Mon Sep 17 00:00:00 2001 From: ngie Date: Tue, 18 Jul 2017 18:15:45 +0000 Subject: [PATCH] MFC r318718,r318719,r318720,r318721: r318718: rctl_add_rule(2): fix manlint warnings - Fix commas (either missing or misused) after .Nm entries in SYNOPSIS r318719: open(2): fix manlint warnings - Sort SEE ALSO .Xr entries. - Sort sections (HISTORY comes after STANDARDS). r318720: ptrace(2): clean up trailing whitespace r318721: kill(2): add missing section for sysctl(9) git-svn-id: svn://svn.freebsd.org/base/stable/10@321146 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/libc/sys/kill.2 | 2 +- lib/libc/sys/open.2 | 21 +++++++++++---------- lib/libc/sys/ptrace.2 | 4 ++-- lib/libc/sys/rctl_add_rule.2 | 8 ++++---- 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index 98c305086..95b56f4a3 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -71,7 +71,7 @@ A single exception is the signal SIGCONT, which may always be sent to any process with the same session ID as the sender. In addition, if the .Va security.bsd.conservative_signals -.Xr sysctl +.Xr sysctl 9 is set to 1, the user is not a super-user, and the receiver is set-uid, then only job control and terminal control signals may diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 1dbc49319..e8c0a50fb 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -461,16 +461,8 @@ is specified and the file is not a directory. .Xr read 2 , .Xr umask 2 , .Xr write 2 , -.Xr fopen 3 -.Sh HISTORY -The -.Fn open -function appeared in -.At v6 . -The -.Fn openat -function was introduced in -.Fx 8.0 . +.Xr fopen 3 , +.Xr capsicum 4 .Sh STANDARDS These functions are specified by .St -p1003.1-2008 . @@ -487,6 +479,15 @@ when is set in flags and the final component of pathname is a symbolic link to distinguish it from the case of too many symbolic link traversals in one of its non-final components. +.Sh HISTORY +The +.Fn open +function appeared in +.At v6 . +The +.Fn openat +function was introduced in +.Fx 8.0 . .Sh BUGS The Open Group Extended API Set 2 specification requires that the test for whether diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 6dffefc52..a99e8102e 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -166,7 +166,7 @@ new child processes will execute without tracing enabled. This event flag controls tracing of LWP .Pq kernel thread creation and destruction. -When this event is enabled, +When this event is enabled, new LWPs will stop and report an event with .Dv PL_FLAG_BORN set before executing their first instruction, @@ -215,7 +215,7 @@ or includes only .Dv PTRACE_EXEC events. -All other event flags are disabled. +All other event flags are disabled. .Pp The .Fa request diff --git a/lib/libc/sys/rctl_add_rule.2 b/lib/libc/sys/rctl_add_rule.2 index 667a00594..b1d807baa 100644 --- a/lib/libc/sys/rctl_add_rule.2 +++ b/lib/libc/sys/rctl_add_rule.2 @@ -28,10 +28,10 @@ .Dt RCTL_ADD_RULE 2 .Os .Sh NAME -.Nm rctl_add_rule, -.Nm rctl_get_limits -.Nm rctl_get_racct, -.Nm rctl_get_rules, +.Nm rctl_add_rule , +.Nm rctl_get_limits , +.Nm rctl_get_racct , +.Nm rctl_get_rules , .Nm rctl_remove_rule .Nd manipulate and query the resource limits database .Sh LIBRARY -- 2.42.0