Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-11-06 | Make us clean under valgrind --leak-check=full by using ↵ | Jeremy Allison | 2 | -4/+4 | |
talloc_autofree_context() instead of NULL. Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should be deleted when their parent context is deleted, so freeing them at some arbitrary point later will be a double-free. Jeremy. | |||||
2008-11-06 | Convert to use VFS layer. | Herb Lewis | 1 | -1/+1 | |
2008-11-06 | Add wrapper str_list_make_v3() to replace the old S3 behavior of | Jeremy Allison | 2 | -2/+2 | |
str_list_make(). From Dan Sledz <dan.sledz@isilon.com>: In samba 3.2 passing NULL or an empty string returned NULL. In master, it now returns a list of length 1 with the first string set to NULL (an empty list). Jeremy. | |||||
2008-11-06 | Final fix to make us pass NULL SD test in RAW-ACLs. Not sure if this is 100% ↵ | Jeremy Allison | 1 | -0/+3 | |
right. Only inheritance left to fix. Jeremy. | |||||
2008-11-06 | Don't call FSET_NT_ACL on file create if there's no SD to set. Leave the ↵ | Jeremy Allison | 1 | -1/+6 | |
default ACL in place. Jeremy. | |||||
2008-11-05 | Add reference to bug #4308 to remind me to add regression test to smbtorture. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2008-11-05 | Fix the build | Volker Lendecke | 1 | -1/+1 | |
2008-11-04 | Fix a const warning | Volker Lendecke | 1 | -1/+1 | |
2008-11-04 | Convert blocking.c to store a smb_request instead of just inbuf | Volker Lendecke | 1 | -88/+54 | |
2008-11-04 | Simplify logic of cancel_pending_lock_requests_by_fid() | Volker Lendecke | 1 | -20/+18 | |
The only caller of this function is locking_close_file(). This checks itself if brl_lock != NULL. The additional check is not necessary here. | |||||
2008-11-04 | Slightly simplify logic in process_lockingX() | Volker Lendecke | 1 | -7/+8 | |
The "else" is pointless here, we did a "return True" in the if branch. | |||||
2008-11-04 | Slightly simplify logic in remove_pending_lock_requests_by_mid() | Volker Lendecke | 1 | -13/+21 | |
Use "continue" for (SVAL(blr->inbuf,smb_mid) != mid) | |||||
2008-11-04 | Slightly simplify logic in cancel_pending_lock_requests_by_fid() | Volker Lendecke | 1 | -20/+24 | |
Use a "continue" for (blr->fsp->fnum != fsp->fnum) | |||||
2008-11-04 | Convert blocking.c to use talloc | Volker Lendecke | 1 | -23/+15 | |
2008-11-04 | Rewrite aio.c to keep the whole smb_request structure, not just the inbuf | Volker Lendecke | 1 | -75/+41 | |
2008-11-04 | Make "inbuf" a talloc child of "smb_request" for normal smb requests | Volker Lendecke | 3 | -3/+5 | |
This is necessary if we want to keep the whole smb_request for deferred ops. The explicit settings of req->inbuf will be removed once all those deferring operations are converted to store the whole request and not just the inbuf. | |||||
2008-11-04 | Add construct_reply_common_req wrapper | Volker Lendecke | 3 | -3/+8 | |
The goal is to remove the remaining direct calls to construct_reply_common. | |||||
2008-11-04 | Fix nonempty blank lines | Volker Lendecke | 1 | -3/+3 | |
2008-11-04 | Use talloc for struct aio_extra | Volker Lendecke | 1 | -27/+14 | |
2008-11-04 | Pass all of RAW-ACLS except for inheritence. Working on that next. | Jeremy Allison | 1 | -2/+79 | |
Jeremy. | |||||
2008-11-04 | Trigger (and fix) a bug in Samba3 making smbd an infinite data source | Volker Lendecke | 1 | -0/+1 | |
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite stream of ERRinvuid replies :-( | |||||
2008-11-03 | Pass the directory versions of the RAW-ACL (still not inheritance). Refactor ↵ | Jeremy Allison | 1 | -43/+83 | |
some common code between open_file_ntcreate() and open_directory(). Jeremy. | |||||
2008-11-03 | Pass all the non-inherited S4 RAW-ACL tests. | Jeremy Allison | 1 | -14/+4 | |
Jeremy. | |||||
2008-11-03 | Fix nonempty blank lines | Volker Lendecke | 1 | -14/+14 | |
2008-11-03 | Make a comment match its function definition | Volker Lendecke | 1 | -1/+1 | |
2008-11-02 | Remove some inbuf references by adding "cmd" to smb_request | Volker Lendecke | 4 | -16/+13 | |
2008-11-02 | Remove the inbuf reference from map_checkpath_error() | Volker Lendecke | 1 | -4/+4 | |
2008-11-02 | Remove a direct inbuf reference in reply_negprot | Volker Lendecke | 1 | -2/+8 | |
2008-11-02 | Make a [un]become_root wrap a bit tighter | Volker Lendecke | 1 | -7/+11 | |
Sooner or later this would bite us. | |||||
2008-11-02 | Pass smb_request to send_trans_reply to match with send_[nt]trans[2]_reply | Volker Lendecke | 2 | -10/+10 | |
2008-11-02 | Use "vwv" in trans parsing | Volker Lendecke | 3 | -72/+67 | |
2008-11-02 | Remove a bunch of direct inbuf references by adding "vwv" to smb_request | Volker Lendecke | 8 | -146/+143 | |
2008-11-02 | Fix bug 5860: safe_strcpy gives a nasty error message for overlong strings | Volker Lendecke | 1 | -1/+1 | |
Thanks to Robert Dahlem <Robert.Dahlem@gmx.net> for reporting this! | |||||
2008-11-02 | Rename "inbuf" to "base_ptr" in srvstr_get_path_* | Volker Lendecke | 1 | -5/+5 | |
2008-11-02 | Remove some direct inbuf references by adding smbreq_bufrem | Volker Lendecke | 4 | -8/+8 | |
2008-11-02 | Simplify params of srvstr_pull_buf_talloc() | Volker Lendecke | 6 | -47/+34 | |
Now that "req" is available everywhere, use it. Rename srvstr_pull_buf_talloc() to srvstr_pull_req() | |||||
2008-11-02 | Add srvstr_get_path_req[_wcard] | Volker Lendecke | 2 | -115/+59 | |
2008-11-01 | Kill some fstrings | Volker Lendecke | 1 | -31/+55 | |
2008-11-01 | Remove a bunch of direct inbuf references by adding "buf" to smb_request | Volker Lendecke | 8 | -80/+70 | |
2008-11-01 | In reply_copy, don't write to inbuf when splitting directory and mask | Volker Lendecke | 1 | -19/+14 | |
2008-11-01 | In reply_search(), don't write to inbuf when splitting directory and mask | Volker Lendecke | 1 | -16/+10 | |
2008-11-01 | Apply some const to get_lock_*() | Volker Lendecke | 2 | -7/+12 | |
2008-11-01 | Add a "buflen" struct member to smb_request | Volker Lendecke | 3 | -19/+11 | |
This removes some explicit inbuf references and also removes a pointless check in reply_echo. The buflen can never be more than 64k, this is just a 16 bit value. | |||||
2008-11-01 | Remove unused extern declaration | Volker Lendecke | 1 | -2/+0 | |
2008-11-01 | Merge branch 'master' of /home/jelmer/samba3 | Jelmer Vernooij | 3 | -9/+49 | |
Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c | |||||
2008-11-01 | Use dup2() replacement from libreplace. | Jelmer Vernooij | 1 | -3/+3 | |
2008-11-01 | Remove sys_chroot() - libreplace already provides an alternative. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-31 | Get closer to passing S4 RAW-ACLs. | Jeremy Allison | 2 | -8/+48 | |
Jeremy. | |||||
2008-10-31 | Remove a pointles call to smb_bufrem | Volker Lendecke | 1 | -2/+1 | |
This call expanded to (smb_buflen(req->inbuf) - PTR_DIFF(smb_buf(req->inbuf) - smb_buf(req->inbuf))) which seems pretty pointless :-) | |||||
2008-10-31 | Unify se_access_check with the S4 code. Will make | Jeremy Allison | 1 | -4/+3 | |
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy. |