[Cbe-oss-dev] [PATCH 2/2] [manpages] spu_create.2: context fds can be passed to *at()

Michael Kerrisk mtk.manpages at googlemail.com
Thu Dec 20 22:30:41 EST 2007


Applied for man-pages-2.74.

thanks Jeremy!

Jeremy Kerr wrote:
> We can use context FDs for the dirfd argument to the *at() syscalls.
> 
> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
> 
> ---
> 
>  spu_create.2 |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> Index: manpages/spu_create.2
> ===================================================================
> --- manpages.orig/spu_create.2
> +++ manpages/spu_create.2
> @@ -56,9 +56,13 @@ and it is populated with the files descr
>  
>  When a context is created, the returned file descriptor can only be
>  passed to
> -.BR spu_run (2)
> +.BR spu_run (2),
> +used as the
> +.I dirfd
> +argument to the *at family of syscalls (eg.
> +.BR openat (2))
>  or closed;
> -other operations are not defined on it.
> +other operations are not defined.
>  A logical SPU
>  context is destroyed (along with all files created within the context's
>  .I pathname
> 

-- 
Michael Kerrisk
Maintainer of the Linux man-pages project
http://www.kernel.org/doc/man-pages/
Want to report a man-pages bug?  Look here:
http://www.kernel.org/doc/man-pages/reporting_bugs.html




More information about the cbe-oss-dev mailing list