summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_recycle.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-25Remove some references to get_current_username() and current_user_infoVolker Lendecke1-1/+1
(This used to be commit 344d69f95e217d16213eaa6b53141af6ab459708)
2008-05-10Remove "user" from connection_structVolker Lendecke1-1/+1
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
2008-05-10Remove the unix token info from connection_structVolker Lendecke1-1/+2
(This used to be commit 2834dacc8d49f77fe55fb5d7e3eb2dda431d1d3d)
2008-01-23strtok -> strtok_rVolker Lendecke1-1/+3
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-16/+16
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-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-10r23692: Couldn't wait, sorry :-). Did the style change.Jeremy Allison1-3/+3
Jeremy. (This used to be commit da0d6ba0f972dbe48e2b7297e86e1717e510fadf)
2007-10-10r23691: fix for bug on touching files as described here:Simo Sorce1-5/+13
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897 (This used to be commit 6b68c006f8ecba8ed3a4d87950691cb1e5c46386)
2007-10-10r22080: Fix directory recycle module bug #4486.Jeremy Allison1-16/+37
Jeremy. (This used to be commit 17b1d11bbb8353e309c8410128a3e9c5964ea766)
2007-10-10r21764: Fix warning in debug comment.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 12c29a8e9bd87550ad7a8e7ceaf4cba59994547a)
2007-10-10r21714: Change the VFS interface to use struct timespecJeremy Allison1-6/+4
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-10r21647: Allow unit on for size parameters.James Peach1-2/+4
(This used to be commit 4d5654a8ab491364be5fd83e9894e9a46401f0f4)
2007-10-10r21646: Patch from SATOH Fumiyasu <fumiyas@osstech.co.jp>Jeremy Allison1-5/+22
- add minsize parameter. Bug #4409. Jeremy. (This used to be commit b9408304db9a64d9b8ad56f53532825a02fdb150)
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-10r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some ↵Volker Lendecke1-2/+2
pstrings. Volker (This used to be commit c5e393d5eda4e13a844171d9ff319d1f1bac3d84)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-28/+36
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r15909: Implement recycle:subdir_modeVolker Lendecke1-0/+18
(This used to be commit 4dd8694a250e4d064a790fe8f422c965ab533880)
2007-10-10r13224: better to cast the return tooSimo Sorce1-1/+1
(This used to be commit c068df483f44a23ad813acd10d583be863128382)
2007-10-10r13222: Never assume mode_t is of type int.Simo Sorce1-2/+2
We were trashing the stack on machines that define mode_t as uint16_t (This used to be commit 6c15af31bcee1e82578b61cae10423b37c285f10)
2007-10-10r12279: unix_mask_match has been broken for *ever*... (How).Jeremy Allison1-1/+1
Ensure it returns a BOOL. Jerry (and anyone else) please check this, I think all uses are now correct but could do with another set of eyes. Essential for 3.0.21 release. Jeremy. (This used to be commit 0c7b8a7637e760fcb6629092f36b610b8c71f5c9)
2007-10-10r7807: Allow to touch mtime in vfs-recycle withGünther Deschner1-5/+16
recycle:touch_mtime = true Guenther (This used to be commit fa8e2c4b04786a77356bb4e310d59d7475d8bd87)
2007-10-10r7544: Fix for bug #2196 from Denis Sbragion <d.sbragion@infotecna.it>.Jeremy Allison1-3/+8
Allow absolute path (system wide) recycle bin. Jeremy. (This used to be commit 451fbbf1d603cb99b0c9f0d39de9ad71a6a12833)
2007-10-10r7542: Patch from Renaud Duhaut <rd@duhaut.com> for a parameterJeremy Allison1-1/+18
"directory_mode" when creating recycle directories. Bug #1040. Jeremy. (This used to be commit 1c94cbd72d93ff8f17d6e1971ff984fa9581f1ce)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-5/+5
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2004-03-12Fix string overflow due to wrong size calculationAlexander Bokovoy1-1/+1
(This used to be commit e1d0b8fc7bbe075dd817e3816f29640cda980732)
2003-10-02Portability fix from Joachim Schmitz. Closes bug #546.Tim Potter1-1/+1
(This used to be commit 803ae4517265e4bb4639c4966e104b392913c7c0)
2003-09-05More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison1-1/+1
as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
2003-08-14Fix overflow in vfs_recycle module (and hopefully also bug #291)Jelmer Vernooij1-1/+2
(This used to be commit 8625f0e015481a79b0a7dedb77c60ce7b2cb7b84)
2003-06-22Found out a good number of NT_STATUS_IS_ERR used the wrong way.Simo Sorce1-1/+1
As abartlet rememberd me NT_STATUS_IS_ERR != !NT_STATUS_IS_OK This patch will cure the problem. Working on this one I found 16 functions where I think NT_STATUS_IS_ERR() is used correctly, but I'm not 100% sure, coders should check the use of NT_STATUS_IS_ERR() in samba is ok now. Simo. (This used to be commit c501e84d412563eb3f674f76038ec48c2b458687)
2003-06-17Const fixes by metzeVolker Lendecke1-2/+2
Volker (This used to be commit c0e35f3be8a33f19823826c5a84c885764c62508)
2003-05-14Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy1-24/+24
VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
2003-05-11Fix VFS layer:Alexander Bokovoy1-310/+198
1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-3/+3
function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-24Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.confJelmer Vernooij1-84/+142
parameters. Does not break binary compatibility with older modules. (This used to be commit 147c4d56d873a20a49194c5b036a3694299b1b48)
2003-04-17Do not use lp_parm_bool() and lp_parm_ulong() yet. They're only in HEADJelmer Vernooij1-138/+72
(This used to be commit 58aa32ea6ac587df92ceefc527afbb1ff5bd0b08)
2003-04-16More merges from HEAD:Jelmer Vernooij1-81/+142
- Stephan Kulow's changes (fixing warnings in libsmbclient) - VFS modules - Seperating libs (This used to be commit 6e9b7802335428c88ecf4e44a0e2395ac58e96b5)
2003-04-09port HEAD modsSimo Sorce1-12/+10
(This used to be commit 646eb2dda66d1f619f165076edfc82cd7144ba5a)
2003-04-07ooops new_dir is already len +1 bytesSimo Sorce1-2/+2
(This used to be commit ffd0d643c224e9169737e7dbfef40cab46fde8f3)
2003-04-07check braindead safe_* function length interpretation is correctSimo Sorce1-7/+7
(This used to be commit b4a5362f04a7798e627c6dce6296165ed1719fca)
2003-04-07remove unneded instructionSimo Sorce1-1/+0
(This used to be commit a6bc706625ad0bb16c11e20d533c536447a661a0)
2002-12-22talloc_init_named -> talloc_init.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73)
2002-11-13Move working VFS modules to source/modules/Jelmer Vernooij1-0/+559
(This used to be commit 14b129e301c94ccf47b9105bda1bd9d142feb1b5)