mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-12-13 22:48:49 +00:00
Merge pull request #12 from rhatdan/master
Fix location of selinuxfs mount point
This commit is contained in:
commit
861ec73623
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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 <dwalsh@redhat.com>.
|
||||
|
Loading…
Reference in New Issue
Block a user