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
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
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
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
Volker Lendecke
20caa9bbe6
Fix Coverity ID 450
...
(This used to be commit 700cceb694
)
2008-03-23 18:28:23 +01:00
Volker Lendecke
296bbc3c9f
Fix Coverity IDs 553, 552
...
(This used to be commit 1a0aed566b
)
2008-03-21 10:22:15 +01:00
Michael Adam
fef9cf00e1
Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().
...
Michael
(This used to be commit 3958abffaf
)
2008-01-11 01:27:05 +01:00
Michael Adam
4caab9ca25
Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().
...
Michael
(This used to be commit a52cfb7d77
)
2008-01-11 01:27:05 +01:00
Michael Adam
e9a3a62e74
Remove redundant parameter fd from SMB_VFS_WRITE().
...
Michael
(This used to be commit c8ae7d095a
)
2008-01-10 15:49:35 +01:00
Michael Adam
1d66f4d58b
Remove redundant parameter fd from SMB_VFS_READ().
...
Michael
(This used to be commit a8fc2ddad8
)
2008-01-10 15:33:51 +01:00
Michael Adam
4a056e127a
Remove redundant parameter fd from SMB_VFS_AIO_CANCEL().
...
Michael
(This used to be commit 3c997ae000
)
2008-01-08 12:20:55 +01:00
Michael Adam
aab6704ce8
Remove redundant parameter fd from SMB_VFS_FSETXATTR().
...
Michael
(This used to be commit 0bd2643463
)
2008-01-08 11:47:33 +01:00
Michael Adam
1590dd32cf
Remove redundant parameter fd from SMB_VFS_FREMOVEXATTR().
...
Michael
(This used to be commit bfc3b5a27f
)
2008-01-08 11:29:09 +01:00
Michael Adam
9f691df852
Remove redundant parameter fd from SMB_VFS_FLISTXATTR().
...
Michael
(This used to be commit 167649b3b8
)
2008-01-08 10:51:40 +01:00
Michael Adam
50ee744fa4
Remove redundant parameter fd from SMB_VFS_FGETXATTR().
...
Michael
(This used to be commit 2cb739a82d
)
2008-01-08 10:00:47 +01:00
Michael Adam
5921607f26
Remove redundant parameter fd from SMB_VFS_SYS_ACL_SET_FD().
...
Michael
(This used to be commit 9296e93588
)
2008-01-08 01:54:19 +01:00
Michael Adam
b2182c11ea
Remove redundant parameter fd from SMB_VFS_FCHMOD_ACL().
...
Michael
(This used to be commit 7b201c177b
)
2008-01-08 01:14:24 +01:00
Michael Adam
62e9d503d8
Remove redundant parameter fd from SMB_VFS_SYS_ACL_GET_FD().
...
Michael
(This used to be commit 42663e8736
)
2008-01-07 23:54:07 +01:00
Michael Adam
f7bf4cb3f1
Remove redundant parameter fd from SMB_VFS_GETLOCK().
...
Michael
(This used to be commit ee5a20becd
)
2008-01-07 22:18:50 +01:00
Michael Adam
26169410cd
Remove redundant parameter fd from SMB_VFS_LINUX_SETLEASE().
...
Michael
(This used to be commit 8880eb82f1
)
2008-01-07 21:47:56 +01:00
Michael Adam
327cc04da5
Remove redundant parameter fd from SMB_VFS_KERNEL_FLOCK().
...
Michael
(This used to be commit 195c519377
)
2008-01-07 17:14:20 +01:00
Michael Adam
edd30e716f
Remove redundant parameter fd from SMB_VFS_LOCK().
...
Michael
(This used to be commit 4f3ab2c406
)
2008-01-07 16:38:23 +01:00
Michael Adam
b457b94bb8
Remove redundant parameter fd from SMB_VFS_FTRUNCATE().
...
Michael
(This used to be commit 2ad66050a0
)
2008-01-07 15:59:02 +01:00
Michael Adam
670909cb07
Remove redundant parameter fd from SMB_VFS_FCHOWN().
...
Michael
(This used to be commit fbb193db3e
)
2008-01-07 15:59:02 +01:00
Michael Adam
e614dec27f
Remove redundant parameter fd from SMB_VFS_FCHMOD().
...
Michael
(This used to be commit a54d5604da
)
2008-01-07 15:59:02 +01:00
Michael Adam
87a684f7fc
Remove redundant parameter fd from SMB_VFS_FSTAT().
...
Michael
(This used to be commit 0b86c420be
)
2008-01-07 15:59:01 +01:00
Michael Adam
8dcce0d236
Remove redundant parameter fd from SMB_VFS_FSYNC().
...
Michael
(This used to be commit 8f83c9a7b2
)
2008-01-07 15:59:01 +01:00
Michael Adam
6f657c873e
Remove redundant parameter fd from SMB_VFS_LSEEK().
...
Michael
(This used to be commit df929796f2
)
2008-01-07 15:59:01 +01:00
Michael Adam
a56b417809
Remove redundant parameter fd from SMB_VFS_PWRITE().
...
Michael
(This used to be commit 8c4901a19a
)
2008-01-07 15:59:01 +01:00
Michael Adam
ca275e2549
Remove unneeded parameter fd from SMB_VFS_PREAD().
...
Michael
(This used to be commit 73e28806ce
)
2008-01-07 00:14:19 +01:00
Michael Adam
05352cf2cb
Remove superfluous parameter fd from SMB_VFS_FSET_NT_ACL().
...
Michael
(This used to be commit 4f2d139a18
)
2008-01-06 23:08:00 +01:00
Michael Adam
ee24c629a6
Remove superfluous fd parameter from SMB_VFS_FGET_NT_ACL().
...
Michael
(This used to be commit c0c7c1223d
)
2008-01-06 23:07:59 +01:00
Michael Adam
233eb0e560
Change the prototype of the vfs function get_nt_acl().
...
Up to now, get_nt_acl() took a files_struct pointer (fsp) and
a file name. All the underlying functions should need and now
do need (after the previous preparatory work), is a connection_struct
and a file name. The connection_struct is already there in the
vfs_handle passed to the vfs functions. So the files_struct
argument can be eliminated.
This eliminates the need of calling open_file_stat in a couple
of places to produce the fsp needed.
Michael
(This used to be commit b5f600fab5
)
2007-12-19 23:08:01 +01:00
Jeremy Allison
ec7426d917
Fix warning message about data type always true.
...
Jeremy.
(This used to be commit 0a3be0aad7
)
2007-12-11 15:10:37 -08:00
Jeremy Allison
8829875944
Remove pstring from modules directory.
...
Jeremy.
(This used to be commit 977dc3accb
)
2007-11-16 17:07:11 -08:00
Volker Lendecke
15953b82eb
Make [f]get_nt_acl return NTSTATUS
...
(This used to be commit dcbe1bf942
)
2007-11-13 15:47:01 +01:00
Jeremy Allison
488b59cfac
Add in the recvfile entry to the VFS layer with a default
...
implementation. Needed for the zero-copy write code.
Jeremy.
(This used to be commit bfbdb6324c
)
2007-10-29 17:16:13 -07:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c
)
2007-10-18 17:40:25 -07:00
Jeremy Allison
470ebf8a35
r25399: Excise uint - > uint32 (where appropriate) or unsigned int.
...
Jeremy.
(This used to be commit b4ee924000
)
2007-10-10 12:31:02 -05:00
Volker Lendecke
4ee8b2937d
r25055: Add file_id_string_tos
...
This removes file_id_string_static and file_id_string_static2
(This used to be commit 638c848c9a
)
2007-10-10 12:30:36 -05:00
Stefan Metzmacher
564e6841d6
r24123: add file_id_create() to some vfs modules
...
metze
(This used to be commit 0bc5a9cd01
)
2007-10-10 12:29:09 -05:00
Andrew Tridgell
153cfb9c83
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 87c91e4362
)
2007-10-10 12:28:27 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b
)
2007-10-10 12:28:20 -05:00
Jeremy Allison
a0ac7a7f4c
r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chown
...
return to correctly return NT_STATUS_INVALID_OWNER if it
should be disallowed. Matches better what W2K3R3 does.
NFSv4 ACL module owners, please examine these changes.
Jeremy.
(This used to be commit fc6899a550
)
2007-10-10 12:23:37 -05:00
Jeremy Allison
57d6318a0b
r23105: Add lchown to the vfs layer. We need this in the POSIX code.
...
Jeremy.
(This used to be commit 932523cbb5
)
2007-10-10 12:22:46 -05:00
Jeremy Allison
7c09cfd080
r21877: Missed one line.
...
Jeremy.
(This used to be commit 184571e4b0
)
2007-10-10 12:18:42 -05:00