PERFORCE change 164041 for review
Robert Watson
rwatson at FreeBSD.org
Wed Jun 10 19:55:31 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164041
Change 164041 by rwatson at rwatson_freebsd_capabilities on 2009/06/10 19:55:11
More loose ends in agent -> sandbox rename.
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.3#9 edit
.. //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#8 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.3#9 (text+ko) ====
@@ -47,19 +47,19 @@
.Ft int
.Fn lc_limitfd "int fd" "cap_rights_t rights"
.Ft int
-.Fn lch_start "const char *sandbox" "char *const argv[]" "struct lc_sandbox **lcap"
+.Fn lch_start "const char *sandbox" "char *const argv[]" "struct lc_sandbox **lcsp"
.Ft void
-.Fn lch_stop "struct lc_sandbox *lcap"
+.Fn lch_stop "struct lc_sandbox *lcsp"
.Ft int
-.Fn lch_getsock "struct lc_sandbox *lcap" "int *fdp"
+.Fn lch_getsock "struct lc_sandbox *lcsp" "int *fdp"
.Ft int
-.Fn lch_getpid "struct lc_sandbox *lcap" "pid_t *pidp"
+.Fn lch_getpid "struct lc_sandbox *lcsp" "pid_t *pidp"
.Ft int
-.Fn lch_getprocdesc "struct lc_sandbox *lcap" "int *fdp"
+.Fn lch_getprocdesc "struct lc_sandbox *lcsp" "int *fdp"
.Ft ssize_t
-.Fn lch_recv "struct lc_sandbox *lcap, void *buf" "size_t len" "int flags"
+.Fn lch_recv "struct lc_sandbox *lcsp, void *buf" "size_t len" "int flags"
.Ft ssize_t
-.Fn lch_send "struct lc_sandbox *lcap" "const void *msg" "size_t len" "int flags"
+.Fn lch_send "struct lc_sandbox *lcsp" "const void *msg" "size_t len" "int flags"
.Ft int
.Fn lcs_get "struct lc_host **lchpp"
.Ft int
==== //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#8 (text+ko) ====
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#7 $
+ * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#8 $
*/
#ifndef _LIBCAPABILITY_H_
@@ -48,21 +48,21 @@
* Interfaces to start and stop capability mode sandboxs.
*/
int lch_start(const char *sandbox, char *const argv[],
- struct lc_sandbox **lcapp);
-void lch_stop(struct lc_sandbox *lcap);
+ struct lc_sandbox **lcspp);
+void lch_stop(struct lc_sandbox *lcsp);
/*
* Interfaces to query state about capability mode sandboxs.
*/
-int lch_getsock(struct lc_sandbox *lcap, int *fdp);
-int lch_getpid(struct lc_sandbox *lcap, pid_t *pidp);
-int lch_getprocdesc(struct lc_sandbox *lcap, int *fdp);
+int lch_getsock(struct lc_sandbox *lcsp, int *fdp);
+int lch_getpid(struct lc_sandbox *lcsp, pid_t *pidp);
+int lch_getprocdesc(struct lc_sandbox *lcsp, int *fdp);
/*
* I/O interfaces for capability mode sandboxs.
*/
-ssize_t lch_recv(struct lc_sandbox *lcap, void *buf, size_t len, int flags);
-ssize_t lch_send(struct lc_sandbox *lcap, const void *msg, size_t len,
+ssize_t lch_recv(struct lc_sandbox *lcsp, void *buf, size_t len, int flags);
+ssize_t lch_send(struct lc_sandbox *lcsp, const void *msg, size_t len,
int flags);
/*
More information about the p4-projects
mailing list