[Cbe-oss-dev] [PATCH 2/2] [manpages] spu_create.2: context fds can be passed to *at()
Jeremy Kerr
jk at ozlabs.org
Wed Dec 19 15:15:22 EST 2007
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
More information about the cbe-oss-dev
mailing list