From patchwork Fri Mar 25 13:42:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Walsh X-Patchwork-Id: 8671541 Return-Path: X-Original-To: patchwork-selinux@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F266F9F44D for ; Fri, 25 Mar 2016 13:44:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D5F2202E5 for ; Fri, 25 Mar 2016 13:44:32 +0000 (UTC) Received: from emvm-gh1-uea09.nsa.gov (unknown [63.239.67.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5BBB1201F2 for ; Fri, 25 Mar 2016 13:44:31 +0000 (UTC) X-TM-IMSS-Message-ID: <1cf8f32c0000a8d0@nsa.gov> Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by nsa.gov ([10.208.42.194]) with ESMTP (TREND IMSS SMTP Service 7.1) id 1cf8f32c0000a8d0 ; Fri, 25 Mar 2016 09:42:27 -0400 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u2PDgXPe003606; Fri, 25 Mar 2016 09:42:39 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id u2PDgV6U050894 for ; Fri, 25 Mar 2016 09:42:31 -0400 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u2PDgV3V003603 for ; Fri, 25 Mar 2016 09:42:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1CVAQBMP/VWkxy3hNFdhH68WoYNgX4BAQEBAQESAQEBAQkLCQkhhHABAidVLQMBAgoWCwILAwIBAgE9Dg0GAgEBiCOhTI9dkGIWCIYeiSCCYIJWBZdggSuBc4pmgWaHdIUxjwqCdoFtIDCJHQEBAQ X-IPAS-Result: A1CVAQBMP/VWkxy3hNFdhH68WoYNgX4BAQEBAQESAQEBAQkLCQkhhHABAidVLQMBAgoWCwILAwIBAgE9Dg0GAgEBiCOhTI9dkGIWCIYeiSCCYIJWBZdggSuBc4pmgWaHdIUxjwqCdoFtIDCJHQEBAQ X-IronPort-AV: E=Sophos; i="5.24,391,1454994000"; d="scan'208,223"; a="5324620" Received: from emvm-gh1-uea08.nsa.gov ([10.208.42.193]) by goalie.tycho.ncsc.mil with ESMTP; 25 Mar 2016 09:42:31 -0400 X-TM-IMSS-Message-ID: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by nsa.gov ([10.208.42.193]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 ADH-AES256-SHA (256/256)) id d119f7e00000bb91 ; Fri, 25 Mar 2016 09:41:51 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 01FBD3B716 for ; Fri, 25 Mar 2016 13:42:27 +0000 (UTC) Received: from dhcp-10-19-62-196.boston.devel.redhat.com (vpn-232-132.phx2.redhat.com [10.3.232.132]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2PDgQr7004824 for ; Fri, 25 Mar 2016 09:42:27 -0400 To: SELinux From: Daniel J Walsh Subject: Just sent a small patch to github to fix the selinuxfs man pages. Message-ID: <56F54042.9090506@redhat.com> Date: Fri, 25 Mar 2016 09:42:26 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-TM-AS-MML: disable X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RDNS_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A few man pages still refer to selinuxfs being mounted at /selinux, I changed these references to /sys/fs/selinux From d600fbf110bd73a57ff5a6a99e0f14eaac4483a4 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Fri, 25 Mar 2016 09:29:32 -0400 Subject: [PATCH] Fix location of selinuxfs mount point --- libselinux/man/man3/security_disable.3 | 2 +- libselinux/man/man3/selinux_status_open.3 | 4 ++-- libselinux/man/man8/avcstat.8 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libselinux/man/man3/security_disable.3 b/libselinux/man/man3/security_disable.3 index c75ce0d..072923c 100644 --- a/libselinux/man/man3/security_disable.3 +++ b/libselinux/man/man3/security_disable.3 @@ -12,7 +12,7 @@ security_disable \- disable the SELinux kernel code at runtime disables the SELinux kernel code, unregisters selinuxfs from .IR /proc/filesystems , and then unmounts -.IR /selinux . +.IR /sys/fs/selinux . .sp This function can only be called at runtime and prior to the initial policy load. After the initial policy load, the SELinux kernel code cannot be disabled, diff --git a/libselinux/man/man3/selinux_status_open.3 b/libselinux/man/man3/selinux_status_open.3 index f779dd9..2d44be5 100644 --- a/libselinux/man/man3/selinux_status_open.3 +++ b/libselinux/man/man3/selinux_status_open.3 @@ -23,7 +23,7 @@ without invocation of system calls .SH "DESCRIPTION" Linux 2.6.37 or later provides a SELinux kernel status page; being mostly placed on -.I /selinux/status +.I /sys/fs/selinux/status entry. It enables userspace applications to mmap this page with read-only mode, then it informs some status without system call invocations. .sp @@ -38,7 +38,7 @@ without system-call invocation or worker thread for monitoring. .BR selinux_status_open () tries to .BR open (2) -.I /selinux/status +.I /sys/fs/selinux/status and .BR mmap (2) it in read-only mode. The file-descriptor and pointer to the page shall diff --git a/libselinux/man/man8/avcstat.8 b/libselinux/man/man8/avcstat.8 index 204687d..2c4bce1 100644 --- a/libselinux/man/man8/avcstat.8 +++ b/libselinux/man/man8/avcstat.8 @@ -25,7 +25,7 @@ Display the cumulative values. .TP .B \-f Specifies the location of the AVC statistics file, defaulting to -.IR /selinux/avc/cache_stats . +.IR /sys/fs/selinux/avc/cache_stats . . .SH AUTHOR This manual page was written by Dan Walsh . -- 2.7.3