summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_full_audit.c
AgeCommit message (Collapse)AuthorFilesLines
2008-01-07Remove unneeded parameter fd from SMB_VFS_PREAD().Michael Adam1-3/+3
Michael (This used to be commit 73e28806ce87d829ea7c38ed3440020845bb13bf)
2008-01-06Remove superfluous parameter fd from SMB_VFS_FSET_NT_ACL().Michael Adam1-4/+3
Michael (This used to be commit 4f2d139a186048f08180378a877b69d2f80ad51f)
2008-01-06Remove superfluous fd parameter from SMB_VFS_FGET_NT_ACL().Michael Adam1-4/+3
Michael (This used to be commit c0c7c1223da29c68359dac64a340c1c710d5f3d2)
2007-12-19Change the prototype of the vfs function get_nt_acl().Michael Adam1-2/+1
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 b5f600fab53c9d159a958c59795db3ba4a8acc63)
2007-12-11Fix warning message about data type always true.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 0a3be0aad7220eb97fe39460e20f36c8ae9ce474)
2007-11-16Remove pstring from modules directory.Jeremy Allison1-12/+26
Jeremy. (This used to be commit 977dc3accb3d440e5fd19591c425da7dc3718d94)
2007-11-13Make [f]get_nt_acl return NTSTATUSVolker Lendecke1-10/+12
(This used to be commit dcbe1bf942d017a3cd5084c6ef605a13912f795b)
2007-10-29Add in the recvfile entry to the VFS layer with a defaultJeremy Allison1-0/+22
implementation. Needed for the zero-copy write code. Jeremy. (This used to be commit bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-15/+15
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 f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25399: Excise uint - > uint32 (where appropriate) or unsigned int.Jeremy Allison1-2/+2
Jeremy. (This used to be commit b4ee924000f4a21b16a70e08e58331d209c4d114)
2007-10-10r25055: Add file_id_string_tosVolker Lendecke1-1/+1
This removes file_id_string_static and file_id_string_static2 (This used to be commit 638c848c9afe374feb30e34c494f89b2a6c64f7b)
2007-10-10r24123: add file_id_create() to some vfs modulesStefan Metzmacher1-0/+22
metze (This used to be commit 0bc5a9cd0136f8512e963a30b6e7b009667fb0bf)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison1-8/+8
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 fc6899a5506b272f8cd5f5837ca13300b4e69a5f)
2007-10-10r23105: Add lchown to the vfs layer. We need this in the POSIX code.Jeremy Allison1-0/+18
Jeremy. (This used to be commit 932523cbb508db869b726768e86bfa8e248f768b)
2007-10-10r21877: Missed one line.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 184571e4b0283fb1a62c441f10429006656052c8)
2007-10-10r21874: Fix missing notify function. Thanks to Thomas Bork <tombork@web.de>Jeremy Allison1-0/+26
for pointing this out ! Jeremy. (This used to be commit b69e18c7f167418ca364a85f1dac252f7b549e57)
2007-10-10r21757: Add SMB_VFS_CHFLAGS operation.James Peach1-0/+17
(This used to be commit 16cb22d6b83c502dec1b297c544c05d89714b3d6)
2007-10-10r21714: Change the VFS interface to use struct timespecJeremy Allison1-8/+8
for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy. (This used to be commit 8f3d530c5a748ea90f42ed8fbe68ae92178d4875)
2007-10-10r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,Jim McDonough1-0/+18
it should be abstracted a little higher up so other os'es can have an entry, but it will take a bit more work. Thanks to Chetan Shringarpure and Mathias Dietz. I didn't increment the vfs number again because the kernel change notify stuff hasn't been released yet anyway. (This used to be commit 9463211bf3b46ee408b88dfbf42d498e3839d4cc)
2007-10-10r20261: merge 20260 from samba_3_0_24Herb Lewis1-0/+1
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10r20124: clean up nested extern declaration warningsHerb Lewis1-1/+2
(This used to be commit ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb)
2007-10-10r20048: Fix vfs_full_audit after Jims kernel_flock additionVolker Lendecke1-0/+20
(This used to be commit 4fe19e741fcb384f0cec59d3ec742d5bd173d41f)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-182/+153
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r15910: vfs_full_audit does not need current_userVolker Lendecke1-2/+0
(This used to be commit 09f3c7a86f931371dc6f886edccc15d3f5437d34)
2007-10-10r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison1-0/+17
into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy. (This used to be commit 08e52ead03304ff04229e1bfe544ff40e2564fc7)
2007-10-10r14333: Fix coverity #77, ensure we can't exit after allocation.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 15d78ab1fc83249552476d99144389cfe42a786f)
2007-10-10r13028: Fix for #3419 - vfs_full_audit *never* workedJeremy Allison1-20/+64
correctly. Static variables were used ! Jeremy. (This used to be commit 2ab5aeca895476869f0b50e513a77c9f2558fc56)
2007-10-10r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.Jeremy Allison1-0/+21
Jeremy. (This used to be commit af8545806770a7530eecc184bdd230ca14999884)
2007-10-10r10619: Allow syslog facility and priority to be set viaDeryck Hodge1-14/+33
smb.conf for audit modules. Facility may be set to USER or LOCAL0-LOCAL7. Any of the syslog priority settings may be used. smb.conf will look like: audit:facility = LOCAL5 audit:priority = INFO (Or full_audit:facility, or whatever audit module is used.) deryck (This used to be commit c619ee38f0aee43de571524c8ef3bf6b27b30e74)
2007-10-10r10239: Fix cut&paste errorVolker Lendecke1-1/+1
(This used to be commit e076453cf38b17cae07a1292713cd93d35890fbd)
2007-10-10r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison1-13/+13
UNIX vendor not understanding abstract data types :-(. Jeremy. (This used to be commit be5b4e2fa3ed30b0ff01b47d2354e5f782a12e25)
2007-10-10r7963: Add aio support to 3.0.Jeremy Allison1-0/+108
Jeremy. (This used to be commit 1de27da47051af08790317f5b48b02719d6b9934)
2007-10-10r7893: Add in the extra parameters to opendir() to fix the large ↵Jeremy Allison1-3/+3
directory/insane app problem. Rev vfs version. Doesn't change the normal codepath. Jeremy. (This used to be commit 0f03a6bdcdbdf60da81e0aeffa84ac6e48fc6a04)
2007-10-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison1-4/+4
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10r6777: Fix vfs_full_audit.c after jra's change.Volker Lendecke1-0/+8
Volker (This used to be commit 16af4645822f1b3cf39c6dffbbb8ef6b1c9d7751)
2007-10-10r5820: Fix bug #2451 - missing functions in full audit vfs module.Jeremy Allison1-2/+21
Jeremy. (This used to be commit dc6fbc0268b79c5d53319d77e14a59f158cfd55d)
2007-10-10r3670: Warning fixes from Rob Foehl <rwf@loonybin.net>.Jeremy Allison1-2/+44
Jeremy. (This used to be commit 54da75ca4cc27dfb0012fd17047702ec2f39cae9)
2007-10-10r3662: Fix dirent return.Jeremy Allison1-1/+1
Jeremy. (This used to be commit da4117841db731da8f1b7fe7c2524e9d4d60f09a)
2007-10-10r2133: Several fixes:Gerald Carter1-234/+234
* BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 and 5.1 patch from Olaf Flebbe <o.flebbe@science-computing.de>. Will need to watch this one in the build farm. * Fix bug found by rwf@loonybin.net where the PRINT_ATTRIBUTE_PUBLISHED was getting reset by attempts to sanitize the defined attributes (PRINTER_ATTRIBUTE_SAMBA) * Resolve name conflict on DEC OSF-5.1 (inspired by patch from Adharsh Praveen <rprav@india.hp.com>) * Work around parsing error in the print change notify code (not that the alignment bug is still there but reording the entries in the array works around it). * remove duplicate declaration of getprintprocdir from rpcclient. (This used to be commit 7474c6a446037f3ca2546cb6984d800bfc524029)
2007-10-10r405: Some docs of vfs_full_audit.c as comment :-)Volker Lendecke1-0/+31
(This used to be commit 567f79237727a446c0e8427f18c74f00eca45c8e)
2007-10-10r404: Revert the change 378 to vfs_extd_audit.c, the parseable auditingVolker Lendecke1-0/+1758
Implement vfs_full_audit.c that can log every vfs.h operation. So if you change vfs.h, from now on you also have to change full_audit :-) Volker (This used to be commit 9cb9c5f7c97fe8f76735a77b321c9500d28b55b2)