1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

377 Commits

Author SHA1 Message Date
Michael Adam
4136ab3c98 Put prototypes of modules/vfs_irixacl.c to new modules/vfs_irixacl.h.
Thereby (hopefully) fixing the potential build problems with IRIX acls.

Michael
(This used to be commit 61c201d416)
2008-08-14 11:22:49 +02:00
Michael Adam
34294b31aa Put prototypes of modules/vfs_hpuxacl.c to new modules/vfs_hpuxacl.h.
Thereby (hopefully) fixing the potential build problems with HPUX acls.

Michael
(This used to be commit 4f2a1de990)
2008-08-14 11:22:48 +02:00
Michael Adam
1c72d476ec Put prototypes of modules/vfs_solarisacl.c to new modules/vfs_solarisacl.h.
Thereby (hopefully) fixing the potential build problems with solaris acls.

Michael
(This used to be commit 8413c05afc)
2008-08-14 11:22:48 +02:00
Michael Adam
14fd4ac3ea Put prototypes of modules/vfs_tru64acl.c to new modules/vfs_tru64acl.h.
Thereby (hopefully) fixing the build with tru64 acls.

Michael
(This used to be commit 1ab64b6985)
2008-08-14 11:22:48 +02:00
Michael Adam
7871fa0b69 Put prototypes of modules/vfs_posixacl.c into new modules/vfs_posixacl.h.
Michael
(This used to be commit 876f679343)
2008-08-14 11:22:48 +02:00
Volker Lendecke
b0935e5663 Add a gpfs_prefetch module
This can not go upstream yet because it uses the non-GPL libgpfs. So it will
not be compiled by default and will not be included in the SOFS RPMs. But upon
Sven's request, we include it in the git tree and the source RPMs, so that it
can be built for in-house tests.
(This used to be commit fc9b30bed2)
2008-08-13 11:54:05 +02:00
Andrew Tridgell
d609ccbab5 keep compatibility with v3-0-ctdb name for fileid:mapping option
(This used to be commit 2856d2e4a4)
2008-08-13 11:54:01 +02:00
Volker Lendecke
bdd815e554 Fix the build of vfs_zfsacl.c
(cherry picked from commit b83beeda44)
(This used to be commit b46ce28039)
2008-07-18 17:53:58 +02:00
Volker Lendecke
c1636e7383 Change the directory parameter in streams_depot to become consistent
This is not built by default and not documented in 3.2.0, so I doubt this will
break any setups :-)
(cherry picked from commit ca2dfb372c)
(This used to be commit 9393cdda97)
2008-07-18 11:21:57 +02:00
Jeremy Allison
4d1979423e Fix from Volodymyr Khomenko <Volodymyr.Khomenko@exanet.com>. Make ntimes
function more like POSIX and allow NULL arg. Help vfs developers.
Jeremy.
(This used to be commit 613f2849ad)
2008-07-15 15:26:36 -07:00
Volker Lendecke
a74f451a86 Remove an unused extern reference in vfs_aixacl2.c
(This used to be commit 1dfb9242d1)
2008-07-12 10:16:09 +02:00
Volker Lendecke
e9489e9ff6 Fix the build of nfs4_acls.c
(This used to be commit 2abb7cd867)
2008-07-11 13:03:42 +02:00
Lars Müller
878766c6a8 Add SMB_VFS_OP_RECVFILE to get it in sync with vfs.h
Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic reported
by Franz Sirl.
(This used to be commit 72b96b75a4)
2008-07-04 14:51:01 +02:00
Volker Lendecke
40f5eab5eb Wrap the unix token info in a unix_user_token in auth_serversupplied_info
No functional change, this is a preparation for more current_user ref removal
(This used to be commit dcaedf345e)
2008-06-19 18:51:37 +02:00
Volker Lendecke
39479c9ee6 Remove current_user_info reference from vfs_recycle.c
(This used to be commit fdc03c0a5b)
2008-06-19 15:53:43 +02:00
Volker Lendecke
3283a5d0de Remove current_user_info reference from vfs_fake_perms.c
(This used to be commit a227181e8d)
2008-06-19 15:53:43 +02:00
Volker Lendecke
ff215c4f81 Remove current_user_info reference from vfs_expand_msdfs.c
(This used to be commit 05a66980a9)
2008-06-19 15:53:43 +02:00
Volker Lendecke
17885401b8 current_user is not used in vfs_aixacl2.c
(This used to be commit 407136abdf)
2008-06-19 15:53:43 +02:00
Michael Adam
e1732fae33 Remove reference to current_user from modules/nfs4_acls.c .
Michael
(This used to be commit 50fbfa0348)
2008-06-17 10:33:12 +02:00
Volker Lendecke
de7e6e070a AIX build fixes from William Jojo -- thanks
(cherry picked from commit cb91a47576)
(This used to be commit 90d7bc6da3)
2008-06-12 13:17:44 +02:00
Volker Lendecke
d1e0c7f0c1 Add STREAMINFO op to vfs_full_audit
Fix Coverity ID 552 and 553
(This used to be commit c46e10d260)
2008-06-07 09:04:03 +02:00
Volker Lendecke
50ab871813 Remove some references to get_current_username() and current_user_info
(This used to be commit 344d69f95e)
2008-05-25 11:43:57 +02:00
Tim Prouty
fb37f15600 Cleanup size_t return values in callers of convert_string_allocate
This patch is the second iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 6b189dabc5)
2008-05-20 22:40:13 +02:00
Volker Lendecke
5bda9a8af0 Remove "user" from connection_struct
(This used to be commit 368454a27c)
2008-05-10 11:17:01 +02:00
Volker Lendecke
53a623d8a6 Remove the unix token info from connection_struct
(This used to be commit 2834dacc8d)
2008-05-10 11:17:01 +02:00
Jeremy Allison
00b2cdf75e Yay ! Remove a VFS entry. Removed the set_nt_acl() call,
this can only be done via fset_nt_acl() using an open
file/directory handle. I'd like to do the same with
get_nt_acl() but am concerned about efficiency
problems with "hide unreadable/hide unwritable" when
doing a directory listing (this would mean opening
every file in the dir on list).
Moving closer to rationalizing the ACL model and
maybe moving the POSIX calls into a posix_acl VFS
module rather than having them as first class citizens
of the VFS.
Jeremy.
(This used to be commit f487f742cb)
2008-05-08 18:09:07 -07:00
Volker Lendecke
d62563342e Remove connection_struct->mem_ctx, connection_struct is its own parent
(This used to be commit 559180f7d3)
2008-05-05 11:23:13 +02:00
Michael Adam
0db7aba8af Remove redundant parameter fd from SMB_VFS_CLOSE().
Now all those redundant fd's have vanished from the VFS API.

Michael
(This used to be commit 1429453551)
2008-04-21 00:22:42 +02:00
Michael Adam
2f8dde9ec8 Change fd_close_posix() to return int instead of NTSTATUS.
The errno is handed up through the VFS layer to the callers.

Michael
(This used to be commit d928e6648d)
2008-04-21 00:21:24 +02:00
Michael Adam
3756467db6 Move the posix pending close functionality down into the VFS layer.
This hides the pending close fds from the outside. Call order
of SMB_VFS_CLOSE is reversed. Originally, it was:

fd_close -> fd_close_posix -> SMB_VFS_CLOSE -> close

And now it is:

fd_close -> SMB_VFS_CLOSE -> fd_close_posix -> close

This is in preparation of removing the fd parameter
from the SMB_VFS_CLOSE function. But it is also the right
place for the pending close calls anyways.

Michael
(This used to be commit 3cf56b124a)
2008-04-21 00:21:23 +02:00
Michael Adam
c57f1ab345 vfs_cacheprime: fix C++ warning - make implicit cast explicit
Michael
(This used to be commit 04d671b8c9)
2008-04-20 22:29:35 +02:00
Volker Lendecke
fd502a74f7 Remove a redundant TALLOC_FREE
(This used to be commit 8e348ab865)
2008-04-11 23:14:53 +02:00
Jeremy Allison
0d49500c35 Use size_t for strlen return, not int. Karolin please
pull.
Jeremy.
(This used to be commit f4a1fdaac0)
2008-04-08 07:43:30 -07:00
Alexander Bokovoy
0eba3b5b8f Allow broader range of HSM systems in vfs_tsmsm
Allow to specify value of DMAPI attribute returned during offline file checks, 'tsmsm: dmapi value'.
    Previously tsmsm module has supported only IBM TSM SM engine which reports file state by *existence*
    of a certain DMAPI attribute. Other HSM systems report a certain value as DMAPI request's result.
    Port from Tridge's v3-0-ctdb git tree.
(This used to be commit 1faa97d5cc)
2008-04-08 15:17:53 +04:00
Volker Lendecke
20caa9bbe6 Fix Coverity ID 450
(This used to be commit 700cceb694)
2008-03-23 18:28:23 +01:00
Volker Lendecke
527b561824 Fix Coverity warnings
ID 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, 439, 438, 437
(This used to be commit 0d50b4ee90)
2008-03-23 16:16:13 +01:00
Volker Lendecke
296bbc3c9f Fix Coverity IDs 553, 552
(This used to be commit 1a0aed566b)
2008-03-21 10:22:15 +01:00
Volker Lendecke
427c60e92c Fix some warnings in the tsmsm module
Alexander, please check!
(This used to be commit df574fd2ee)
2008-03-20 16:54:05 +01:00
Volker Lendecke
5aec381434 Need to close the /dev/zero fd
(This used to be commit c2b2a9303d)
2008-03-16 11:58:33 +01:00
Volker Lendecke
05af5c367d Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos
(This used to be commit 8ef57a34eb)
2008-03-06 10:07:46 +01:00
Volker Lendecke
18206a4cb5 Add vfs_aio_fork
This is used for two purposes:

First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.

Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.

Also add tests how to pass file descriptors
(This used to be commit b0e52cecf2)
2008-02-29 09:47:53 +01:00
Michael Adam
b46bf47171 Fix the build on OpenBSD: ENOTSUP is not always defined.
Michael
(This used to be commit 2e4028162f)
2008-02-25 17:06:09 +01:00
Volker Lendecke
cd95385207 Correctly check return of rename(2)
Bug 5279 -- Thanks to Max Matveev
(This used to be commit 71641f04d4)
2008-02-25 13:05:18 +01:00
Karolin Seeger
7428f00d22 Change option name.
xattr:tdb -> xattr_tdb:file (according to the other vfs option names)

Karolin
(This used to be commit a2230ccc17)
2008-02-21 19:34:48 +01:00
Jeremy Allison
94ed19c4a8 From: David Disseldorp <ddiss@sgi.com>
The vfs_prealloc module makes use of the now redundant fd parameter for
SMB_VFS_FTRUNCATE(), instead get the fd from the files_struct.

Patch for Samba 3.2 Test branch below.

Cheers, David D
(This used to be commit d9b72282c6)
2008-02-20 22:10:54 -08:00
Alexander Bokovoy
77a3e46a4c Fix typos and replace statvfs call with fs_capabilities()
(This used to be commit 863b5ed07a)
2008-01-29 18:33:22 +03:00
Alexander Bokovoy
28b27bfd40 Merge DMAPI fixes from Tridge
Support cases when existing DMAPI session is stale. In this case we are creating another one.
The code differs from 3-0_ctdb branch in that we fail when it is not possible to create more
sessions and pretend that file is offline. This allows to escape endless loop in vfs_tsmsm.c.
(This used to be commit 5efb57d904)
2008-01-29 17:43:49 +03:00
Alexander Bokovoy
ef2d66bd1d Merge branch 'ctdb-merge' into dmapi-integration
(This used to be commit 58dce4cdf2)
2008-01-29 16:19:21 +03:00
Volker Lendecke
0b10c67c0c Attempt to fix the build on OpenBSD
Thanks to metze for pointing this out
(This used to be commit c94c04e3e6)
2008-01-25 20:53:21 +01:00
Alexander Bokovoy
eba5fbff74 Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into ctdb-merge
(This used to be commit 42d06d41bf)
2008-01-24 14:06:22 +03:00