summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/VOP_SETEXTATTR.9 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man9/VOP_SETEXTATTR.9 4.html')
-rw-r--r--static/freebsd/man9/VOP_SETEXTATTR.9 4.html121
1 files changed, 0 insertions, 121 deletions
diff --git a/static/freebsd/man9/VOP_SETEXTATTR.9 4.html b/static/freebsd/man9/VOP_SETEXTATTR.9 4.html
deleted file mode 100644
index db8e3b4a..00000000
--- a/static/freebsd/man9/VOP_SETEXTATTR.9 4.html
+++ /dev/null
@@ -1,121 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">VOP_SETEXTATTR(9)</td>
- <td class="head-vol">Kernel Developer's Manual</td>
- <td class="head-rtitle">VOP_SETEXTATTR(9)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">VOP_SETEXTATTR</code> &#x2014;
- <span class="Nd">set named extended attribute for a vnode</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><code class="In">#include
- &lt;<a class="In">sys/param.h</a>&gt;</code>
- <br/>
- <code class="In">#include &lt;<a class="In">sys/vnode.h</a>&gt;</code>
- <br/>
- <code class="In">#include &lt;<a class="In">sys/extattr.h</a>&gt;</code></p>
-<p class="Pp"><var class="Ft">int</var>
- <br/>
- <code class="Fn">VOP_SETEXTATTR</code>(<var class="Fa" style="white-space: nowrap;">struct
- vnode *vp</var>, <var class="Fa" style="white-space: nowrap;">int
- attrnamespace</var>, <var class="Fa" style="white-space: nowrap;">const char
- *name</var>, <var class="Fa" style="white-space: nowrap;">struct uio
- *uio</var>, <var class="Fa" style="white-space: nowrap;">struct ucred
- *cred</var>, <var class="Fa" style="white-space: nowrap;">struct thread
- *td</var>);</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">This vnode call may be used to set specific named extended
- attribute for a file or directory.</p>
-<p class="Pp">Its arguments are:</p>
-<dl class="Bl-tag">
- <dt><var class="Fa">vp</var></dt>
- <dd>The vnode of the file or directory.</dd>
- <dt><var class="Fa">attrnamespace</var></dt>
- <dd>Integer constant indicating which extended attribute namespace the
- attribute name is present in.</dd>
- <dt><var class="Fa">name</var></dt>
- <dd>Pointer to a null-terminated character string containing the attribute
- name.</dd>
- <dt><var class="Fa">uio</var></dt>
- <dd>The location of the data to be read or written.</dd>
- <dt><var class="Fa">cred</var></dt>
- <dd>The user credentials to use in authorizing the request.</dd>
- <dt><var class="Fa">td</var></dt>
- <dd>The thread setting the extended attribute.</dd>
-</dl>
-<p class="Pp">The uio structure is used in a manner similar to the argument of
- the same name in <a class="Xr">VOP_WRITE(9)</a>. However, as extended
- attributes provide a strict &quot;name=value&quot; semantic, non-zero
- offsets will be rejected.</p>
-<p class="Pp">The <var class="Fa">uio</var> pointer may be
- <code class="Dv">NULL</code> to indicate that the specified extended
- attribute should be deleted.</p>
-<p class="Pp">The <var class="Fa">cred</var> pointer may be
- <code class="Dv">NULL</code> to indicate that access control checks are not
- to be performed, if possible. This <var class="Fa">cred</var> setting might
- be used to allow the kernel to authorize extended attribute changes that the
- active process might not be permitted to make.</p>
-<p class="Pp">Extended attribute semantics may vary by file system implementing
- the call. More information on extended attributes may be found in
- <a class="Xr">extattr(9)</a>.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="LOCKS"><a class="permalink" href="#LOCKS">LOCKS</a></h1>
-<p class="Pp">The vnode will be locked on entry and should remain locked on
- return.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
- VALUES</a></h1>
-<p class="Pp">If the extended attribute is successfully set, then zero is
- returned. Otherwise, an appropriate error code is returned.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
-<dl class="Bl-tag">
- <dt id="EACCES">[<a class="permalink" href="#EACCES"><code class="Er">EACCES</code></a>]</dt>
- <dd>The caller does not have the appropriate privilege.</dd>
- <dt id="ENXIO">[<a class="permalink" href="#ENXIO"><code class="Er">ENXIO</code></a>]</dt>
- <dd>The request was not valid in this file system for the specified vnode and
- attribute name.</dd>
- <dt id="ENOMEM">[<a class="permalink" href="#ENOMEM"><code class="Er">ENOMEM</code></a>]</dt>
- <dd>Insufficient memory available to fulfill the request.</dd>
- <dt id="EFAULT">[<a class="permalink" href="#EFAULT"><code class="Er">EFAULT</code></a>]</dt>
- <dd>The uio structure refers to an invalid userspace address.</dd>
- <dt id="EINVAL">[<a class="permalink" href="#EINVAL"><code class="Er">EINVAL</code></a>]</dt>
- <dd>The name, namespace, or uio argument is invalid.</dd>
- <dt id="EOPNOTSUPP">[<a class="permalink" href="#EOPNOTSUPP"><code class="Er">EOPNOTSUPP</code></a>]</dt>
- <dd>The file system does not support
- <code class="Fn">VOP_SETEXTATTR</code>().</dd>
- <dt id="ENOSPC">[<a class="permalink" href="#ENOSPC"><code class="Er">ENOSPC</code></a>]</dt>
- <dd>The file system is out of space.</dd>
- <dt id="EROFS">[<a class="permalink" href="#EROFS"><code class="Er">EROFS</code></a>]</dt>
- <dd>The file system is read-only.</dd>
-</dl>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">extattr(9)</a>, <a class="Xr">vnode(9)</a>,
- <a class="Xr">VOP_GETEXTATTR(9)</a>,
- <a class="Xr">VOP_LISTEXTATTR(9)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
-<p class="Pp">This manual page was written by <span class="An">Robert
- Watson</span>.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">December 23, 1999</td>
- <td class="foot-os">FreeBSD 15.0</td>
- </tr>
-</table>