git://git.onelab.eu
/
vsys.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fd passing support
[vsys.git]
/
frontend.ml
diff --git
a/frontend.ml
b/frontend.ml
index
56d1d9f
..
9d444c3
100644
(file)
--- a/
frontend.ml
+++ b/
frontend.ml
@@
-4,6
+4,7
@@
open Printf
open Unix
open Globals
open Directfifowatcher
open Unix
open Globals
open Directfifowatcher
+open Unixsocketwatcher
(** frontendhandler class: Methods to create and unlink pipes and directories
@param root_dir vsys directory inside a slice
(** frontendhandler class: Methods to create and unlink pipes and directories
@param root_dir vsys directory inside a slice
@@
-25,7
+26,7
@@
object(this)
let realperm = perm land (lnot 0o111) in
match rp with Relpath(rel) ->
let fqp = String.concat "/" [root_dir;rel] in
let realperm = perm land (lnot 0o111) in
match rp with Relpath(rel) ->
let fqp = String.concat "/" [root_dir;rel] in
- if (is_fd_passer rel) then
+ if (
this#
is_fd_passer rel) then
let res = Unixsocketwatcher.mkentry fqp abspath realperm slice_name in
begin
match res with
let res = Unixsocketwatcher.mkentry fqp abspath realperm slice_name in
begin
match res with