git: 7bfd84444e6f - main - Provide a man page for VOP_SETLABEL(9).

Jessica Clarke jrtc27 at freebsd.org
Sat Feb 27 16:55:23 UTC 2021


On 27 Feb 2021, at 16:52, Robert Watson <rwatson at FreeBSD.org> wrote:
> 
> The branch main has been updated by rwatson:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=7bfd84444e6ff182abac2e08d6efcd2dc9ddc944
> 
> commit 7bfd84444e6ff182abac2e08d6efcd2dc9ddc944
> Author:     Robert Watson <rwatson at FreeBSD.org>
> AuthorDate: 2021-02-27 16:51:00 +0000
> Commit:     Robert Watson <rwatson at FreeBSD.org>
> CommitDate: 2021-02-27 16:51:13 +0000
> 
>    Provide a man page for VOP_SETLABEL(9).
> 
>    MFC after:      3 days
> ---
> share/man/man9/VOP_SETLABEL.9 | 128 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 128 insertions(+)
> 
> diff --git a/share/man/man9/VOP_SETLABEL.9 b/share/man/man9/VOP_SETLABEL.9
> new file mode 100644
> index 000000000000..8b7e54e515cc
> --- /dev/null
> +++ b/share/man/man9/VOP_SETLABEL.9
> @@ -0,0 +1,128 @@
> +.\"-
> +.\" Copyright (c) 2021 Robert N. M. Watson
> +.\" All rights reserved.
> +.\"
> +.\" Redistribution and use in source and binary forms, with or without
> +.\" modification, are permitted provided that the following conditions
> +.\" are met:
> +.\" 1. Redistributions of source code must retain the above copyright
> +.\"    notice, this list of conditions and the following disclaimer.
> +.\" 2. Redistributions in binary form must reproduce the above copyright
> +.\"    notice, this list of conditions and the following disclaimer in the
> +.\"    documentation and/or other materials provided with the distribution.
> +.\"
> +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
> +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> +.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
> +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
> +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
> +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
> +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
> +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
> +.\" SUCH DAMAGE.
> +.\"
> +.\" $FreeBSD$
> +.\"
> +.Dd February 27, 2021
> +.Dt VOP_SETLABEL 9
> +.Os
> +.Sh NAME
> +.Nm VOP_SETLABEL
> +.Nd persistently store an updated MAC label on a vnode
> +.Sh SYNOPSIS
> +.In sys/param.h
> +.In sys/vnode.h
> +.In security/mac.h
> +.Ft int
> +.Fn VOP_SETLABEL "struct vnode *vp" "label *label"
> +.Sh DESCRIPTION
> +This vnode call is made by
> +.Xr mac 9
> +file relabeling operation has been authorized, and the filesystem must now be

I think you're missing some words at the start of this line?

Jess



More information about the dev-commits-src-all mailing list