vfs_glusterfs: Return fake fd from pipe() during open

GlusterFS currently doesn't have an API implementation to set flags on
open file descriptor. Thus we use pipe() to provide valid file descriptor
from the system.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14241

Signed-off-by: Anoop C S <anoopcs@redhat.com>
41 jobs for anoopcs-vfs-glusterfs-fake-fd in 124 minutes and 11 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #406710190
docker shared
centos7-samba-o3

00:36:32

passed #406710191
docker shared
centos8-samba-o3

00:31:05

passed #406710155
docker shared
ctdb

00:39:46

passed #406710187
docker shared
debian10-samba-o3

00:34:36

passed #406710186
docker shared
debian9-samba-o3

00:34:28

passed #406710192
docker shared
fedora29-samba-o3

00:35:11

passed #406710193
docker shared
fedora30-samba-o3

00:34:36

passed #406710194
docker shared
fedora31-samba-o3

00:32:26

passed #406710188
docker shared
opensuse150-samba-o3

00:36:06

passed #406710189
docker shared
opensuse151-samba-o3

00:37:59

passed #406710113
docker shared
others

00:14:28

passed #406710116
docker shared
samba

00:24:30

passed #406710175
docker samba-ci-private
samba-ad-dc-1

00:46:39

passed #406710179
docker samba-ci-private
samba-ad-dc-1-mitkrb5

00:38:53

passed #406872421
shared docker
samba-ad-dc-2

01:03:41

passed #406710138
docker shared
samba-ad-dc-3

00:42:17

passed #406710140
docker shared
samba-ad-dc-4

00:58:38

passed #406710165
docker shared
samba-ad-dc-4-mitkrb5

00:46:44

passed #406710142
docker shared
samba-ad-dc-5

00:43:44

passed #406710144
docker shared
samba-ad-dc-6

00:35:57

passed #406710167
docker samba-ci-private
samba-ad-dc-backup

00:54:21

passed #406710161
docker shared
samba-ad-dc-ntvfs

00:54:06

passed #406710135
docker shared
samba-admem

00:28:19

passed #406710163
docker shared
samba-admem-mit

00:25:23

passed #406710159
docker shared
samba-ctdb

00:21:25

passed #406710172
docker samba-ci-private
samba-fileserver

00:26:27

passed #406710151
docker shared
samba-fuzz

00:30:53

passed #406710174
docker samba-ci-private
samba-ktest-heimdal

00:13:51

passed #406710146
docker shared
samba-libs

00:37:51

passed #406710121
docker shared
samba-mitkrb5

00:19:22

passed #406710124
docker shared
samba-none-env

01:00:28

passed #406710127
docker shared
samba-nopython

00:32:25

passed #406710130
docker shared
samba-nopython-py2

00:43:25

passed #406710176
docker samba-ci-private
samba-nt4

00:51:49

passed #406710178
docker samba-ci-private
samba-schemaupgrade

00:28:46

passed #406710170
docker samba-ci-private
samba-simpleserver

00:18:46

passed #406710149
docker shared
samba-static

00:47:12

passed #406710132
docker shared
samba-xc

00:07:45

passed #406710184
docker shared
ubuntu1604-samba-o3

00:35:43

passed #406710181
docker shared
ubuntu1804-samba-o3

00:35:23

failed #406710137
docker shared
samba-ad-dc-2

00:41:58