From 467fd31b49fc97421c023a70023dd6b23133319a Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 12 Jan 2018 04:36:12 +0000 Subject: [PATCH] sysctl(3) can now be renamed to sysctl(2) --- lib/libc/gen/Makefile.inc | 4 ++-- lib/libc/sys/Makefile.inc | 6 +++--- lib/libc/{gen/sysctl.3 => sys/sysctl.2} | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) rename lib/libc/{gen/sysctl.3 => sys/sysctl.2} (99%) diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index 0d3f3c2b0af..cda5fccfcb3 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.77 2017/09/05 06:35:19 mpi Exp $ +# $OpenBSD: Makefile.inc,v 1.78 2018/01/12 04:36:12 deraadt Exp $ # gen sources .PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/gen ${LIBCSRCDIR}/gen @@ -52,6 +52,6 @@ MAN+= __tfork_thread.3 alarm.3 auth_subr.3 authenticate.3 basename.3 clock.3 \ psignal.3 pw_dup.3 pwcache.3 raise.3 readpassphrase.3 \ scandir.3 setjmp.3 setmode.3 setproctitle.3 shm_open.3 \ siginterrupt.3 signal.3 \ - sigaddset.3 sleep.3 statvfs.3 sysconf.3 sysctl.3 strtofflags.3 \ + sigaddset.3 sleep.3 statvfs.3 sysconf.3 strtofflags.3 \ syslog.3 time.3 times.3 toascii.3 tolower.3 toupper.3 \ ttyname.3 ualarm.3 uname.3 unvis.3 usleep.3 utime.3 valloc.3 vis.3 diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 40cbd9640fc..6823d7472a8 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.153 2017/11/28 06:03:41 guenther Exp $ +# $OpenBSD: Makefile.inc,v 1.154 2018/01/12 04:36:12 deraadt Exp $ # $NetBSD: Makefile.inc,v 1.35 1995/10/16 23:49:07 jtc Exp $ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 @@ -194,5 +194,5 @@ MAN+= __get_tcb.2 __thrsigdivert.2 __thrsleep.2 _exit.2 accept.2 \ shmctl.2 shmget.2 shutdown.2 sigaction.2 sigaltstack.2 sigpending.2 \ sigprocmask.2 sigreturn.2 sigsuspend.2 socket.2 \ socketpair.2 stat.2 statfs.2 swapctl.2 symlink.2 \ - sync.2 sysarch.2 syscall.2 thrkill.2 truncate.2 umask.2 unlink.2 \ - utimes.2 utrace.2 vfork.2 wait.2 write.2 + sync.2 sysarch.2 syscall.2 sysctl.2 thrkill.2 truncate.2 \ + umask.2 unlink.2 utimes.2 utrace.2 vfork.2 wait.2 write.2 diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/sys/sysctl.2 similarity index 99% rename from lib/libc/gen/sysctl.3 rename to lib/libc/sys/sysctl.2 index a3803f2543e..6aa84ea4599 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/sys/sysctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.286 2017/11/07 19:15:09 tb Exp $ +.\" $OpenBSD: sysctl.2,v 1.1 2018/01/12 04:36:12 deraadt Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,8 +27,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: November 7 2017 $ -.Dt SYSCTL 3 +.Dd $Mdocdate: January 12 2018 $ +.Dt SYSCTL 2 .Os .Sh NAME .Nm sysctl -- 2.20.1