Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-11 | s3:smbd: explain parameters to filename_convert call in smbd_smb2_create_send() | Michael Adam | 1 | -2/+2 | |
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Jun 11 19:21:51 CEST 2012 on sn-devel-104 | |||||
2012-06-11 | s3: Fix Coverity ID 703869 Logically dead code | Volker Lendecke | 1 | -10/+6 | |
We "TALLOC_FREE(curr)" and assign prev=curr in the for-loop header. This will lead to "prev"==NULL always. In this loop, we do not need to correctly re-shuffle the linked list, we delete all from the beginning anyway. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 11 17:26:53 CEST 2012 on sn-devel-104 | |||||
2012-06-11 | s3: Fix Coverity ID 709049 Dereference before null check | Volker Lendecke | 1 | -1/+1 | |
We have dereferenced fsp before. Because smb2 is only handle based, this is a bogus check. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 11 15:30:54 CEST 2012 on sn-devel-104 | |||||
2012-06-11 | s3-smbd: Remove unused branches in negprot since security=share was removed | Andrew Bartlett | 1 | -21/+8 | |
2012-06-10 | s3: fix build on systems without O_NOFOLLOW | Björn Jacke | 1 | -1/+1 | |
2012-06-10 | Revert "s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()" | Stefan Metzmacher | 1 | -3/+0 | |
This reverts commit c2716a7d5ccf78f9716b703c22e6cf4d4f179656. This is not needed anymore, as we have file_fsp_smb2() now. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Jun 10 18:04:21 CEST 2012 on sn-devel-104 | |||||
2012-06-10 | s3: handle non-POSIX compliant Tru64, NetBSD and FreeBSD errno on O_NOFOLLOW ↵ | Björn Jacke | 1 | -1/+20 | |
symlink open calls or should we leave the NetBSD and FreeBSD platforms just broken? Actually these two *want* to have broken platforms as they use different errno's than POSIX demands *interntionally*. The POSIX errno ELOOP for O_NOFOLLOW open calls on symlinks is clear and unambiguous. See http://gnats.netbsd.org/43154 for the interesting NetBSD discussion on that. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Jun 10 16:10:02 CEST 2012 on sn-devel-104 | |||||
2012-06-10 | s3:smb2_ioctl: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -30/+12 | |
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Jun 10 01:10:15 CEST 2012 on sn-devel-104 | |||||
2012-06-09 | s3:smb2_lock: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -30/+12 | |
metze | |||||
2012-06-09 | s3:smb2_write: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -26/+9 | |
metze | |||||
2012-06-09 | s3:smb2_read: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -29/+11 | |
metze | |||||
2012-06-09 | s3:smb2_notify: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -26/+9 | |
metze | |||||
2012-06-09 | s3:smb2_setinfo: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -29/+12 | |
metze | |||||
2012-06-09 | s3:smb2_getinfo: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -29/+12 | |
metze | |||||
2012-06-09 | s3:smb2_find: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -26/+9 | |
metze | |||||
2012-06-09 | s3:smb2_break: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -32/+13 | |
metze | |||||
2012-06-09 | s3:smb2_close: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -30/+15 | |
metze | |||||
2012-06-09 | s3:smb2_flush: make use of file_fsp_smb2() | Stefan Metzmacher | 1 | -26/+9 | |
metze | |||||
2012-06-09 | s3:smbd: add file_fsp_smb2() | Stefan Metzmacher | 2 | -0/+46 | |
metze | |||||
2012-06-09 | s3:smb2_write: pass fsp->fnum to init_strict_lock_struct() | Stefan Metzmacher | 1 | -1/+1 | |
fsp->fnum is the same as in_file_id_volatile. When we start to support durable handles we should pass in_file_id_persistent. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Jun 9 18:50:32 CEST 2012 on sn-devel-104 | |||||
2012-06-09 | s3:smb2_read: pass fsp->fnum to init_strict_lock_struct() | Stefan Metzmacher | 1 | -2/+2 | |
fsp->fnum is the same as in_file_id_volatile. When we start to support durable handles we should pass in_file_id_persistent. metze | |||||
2012-06-09 | s3:smb2_lock: use fsp->fnum as locking context | Stefan Metzmacher | 1 | -1/+1 | |
fsp->fnum is the same as in_file_id_volatile. When we start to support durable handles we should pass in_file_id_persistent. metze | |||||
2012-06-09 | s3:smb2_lock: use smb2req->compat_chain_fsp instead of looking it up again | Stefan Metzmacher | 1 | -6/+1 | |
metze | |||||
2012-06-09 | s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp() | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2012-06-09 | s3:smb2_close: add missing TALLOC_FREE(subreq) in smbd_smb2_request_close_done() | Stefan Metzmacher | 1 | -0/+1 | |
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Jun 9 13:57:31 CEST 2012 on sn-devel-104 | |||||
2012-06-09 | s3:smbd: readd START_PROFILE(smbd_idle)/END_PROFILE(smbd_idle) | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
2012-06-08 | s3:smbd: change set_file_oplock() to return NTSTATUS | Michael Adam | 3 | -7/+9 | |
Pair-Programmed-With: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 8 23:20:20 CEST 2012 on sn-devel-104 | |||||
2012-06-08 | s3: Replace an if with a boolean short circuit | Volker Lendecke | 1 | -5/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-08 | s3: Assigning ?True:False to a bool is a bit pointless | Volker Lendecke | 1 | -3/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-08 | s3: Remove unnecessary () | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-08 | s3: Replace an if with a boolean short circuit | Volker Lendecke | 1 | -5/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-08 | s3: Assigning ?True:False to a bool is a bit pointless | Volker Lendecke | 1 | -2/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-08 | s3: Remove unnecessary () | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-08 | s3:smbd: remove unnecessary variable readret from read_file() | Michael Adam | 1 | -7/+3 | |
Pair-Programmed-With: Volker Lendecke <vl@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 8 18:08:09 CEST 2012 on sn-devel-104 | |||||
2012-06-08 | s3:smbd: remove ancient DMF_FIX from read_file(). | Michael Adam | 1 | -15/+0 | |
Pair-Programmed-With: Volker Lendecke <vl@samba.org> | |||||
2012-06-06 | s3:include: change connection_struct->cnum to uint32_t | Michael Adam | 2 | -2/+2 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid | Michael Adam | 2 | -2/+2 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:connections: add a CNUM_OFFSET for mapping between cnum and the bitmap index | Michael Adam | 1 | -4/+10 | |
This moves the start of the range of valid cnum values up from 0 to CNUM_OFFSET (currently 1), so that in a later step we can use 0 as invalid cnum value instead of the current -1. This will allow us to change the type of cnum to uint32_t from a mix of int and unsigned. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smbd: change user_struct->vuid to uint64_t | Stefan Metzmacher | 7 | -34/+36 | |
Only sconn->smb1.sessions.next_vuid remains as uint16_t, so that we do not generate larger values yet. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 6 12:07:33 CEST 2012 on sn-devel-104 | |||||
2012-06-06 | s3:smbd: let file_close_pid/file_close_user take a uint64_t vuid | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2012-06-06 | s3:smbd: pass down vuid as uint64_t in lanman.c | Stefan Metzmacher | 2 | -37/+37 | |
metze | |||||
2012-06-06 | s3:smbd: pass down vuid as uint64_t in ipc.c | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2012-06-06 | s3:smbd: change vuid to uint64_t in uid.c | Stefan Metzmacher | 2 | -14/+14 | |
metze | |||||
2012-06-06 | s3:smbd: let fcb_or_dos_open() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:smbd: let close_cnum() take a uint64_t vuid | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: use UID_FIELD_INVALID (0) instead of (uint16)-1 when calling ↵ | Stefan Metzmacher | 1 | -1/+1 | |
close_cnum() The only thing that's important is that the value is invalid. metze | |||||
2012-06-06 | s3:smbd: let make_connection() take a uint64_t vuid | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: let conn_clear_vuid_caches() take a uint64_t vuid | Stefan Metzmacher | 2 | -3/+3 | |
metze | |||||
2012-06-06 | s3:smbd: let open_fake_file() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:smbd: change conn_ctx->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze |