CVS update: samba/source/locking

2004-03-18 Thread jerry

Date:   Thu Mar 18 17:09:41 2004
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv12592/source/locking

Modified Files:
  Tag: SAMBA_3_0_RELEASE
brlock.c locking.c 
Log Message:
starting to sync the cvs tree

Revisions:
brlock.c1.39.2.1 => 1.39.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c.diff?r1=1.39.2.1&r2=1.39.2.2
locking.c   1.144.2.2 => 1.144.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.144.2.2&r2=1.144.2.3


CVS update: samba/source/locking

2004-02-11 Thread jerry

Date:   Thu Feb 12 05:24:02 2004
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv31267/locking

Modified Files:
  Tag: SAMBA_3_0
brlock.c locking.c 
Log Message:
merge from old APP_HEAD
* remove corrupt tdb and shutdown (only for printing tdbs, connections, 
  sessionid & locking)
* decrement smbd counter in connections.tdb in smb_panic()
* various Makefile hack to get things to link

'max smbd processes' looks like it might be broken.  The counter KEY is not
being set.  Will look into that tomorrow.




Revisions:
brlock.c1.34.2.5 => 1.34.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c.diff?r1=1.34.2.5&r2=1.34.2.6
locking.c   1.135.2.13 => 1.135.2.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.135.2.13&r2=1.135.2.14


CVS update: samba/source/locking

2004-01-13 Thread jerry

Date:   Tue Jan 13 17:55:39 2004
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv2653/locking

Modified Files:
locking.c 
Log Message:
sync HEAD with recent changes in 3.0

Revisions:
locking.c   1.148 => 1.149

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.148&r2=1.149


CVS update: samba/source/locking

2003-12-04 Thread jerry

Date:   Thu Dec  4 14:54:33 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv15959/locking

Modified Files:
  Tag: APPLIANCE_HEAD
brlock.c locking.c 
Log Message:
syncing up with the current 3.0 tree

Revisions:
brlock.c1.15.2.8 => 1.15.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c.diff?r1=1.15.2.8&r2=1.15.2.9
locking.c   1.92.2.18 => 1.92.2.19

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.92.2.18&r2=1.92.2.19


CVS update: samba/source/locking

2003-11-05 Thread sharpe

Date:   Wed Nov  5 19:16:56 2003
Author: sharpe

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv14078

Modified Files:
locking.c 
Log Message:

Minor comment updates ...



Revisions:
locking.c   1.147 => 1.148

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.147&r2=1.148


CVS update: samba/source/locking

2003-10-10 Thread jerry

Date:   Fri Oct 10 18:03:57 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv8527/source/locking

Modified Files:
  Tag: SAMBA_3_0_RELEASE
brlock.c locking.c 
Log Message:
syncing up for 3.0.1pre1

Revisions:
brlock.c1.39 => 1.39.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c.diff?r1=1.39&r2=1.39.2.1
locking.c   1.144.2.1 => 1.144.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.144.2.1&r2=1.144.2.2


CVS update: samba/source/locking

2003-10-08 Thread jra

Date:   Thu Oct  9 01:46:03 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv16250/locking

Modified Files:
brlock.c locking.c 
Log Message:
Changes to allow Samba3 to pass the Samba4 RAW-READ tests.
Jeremy.


Revisions:
brlock.c1.39 => 1.40

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c.diff?r1=1.39&r2=1.40
locking.c   1.146 => 1.147

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.146&r2=1.147


CVS update: samba/source/locking

2003-10-08 Thread jra

Date:   Thu Oct  9 01:46:00 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv16438/locking

Modified Files:
  Tag: SAMBA_3_0
brlock.c locking.c 
Log Message:
Changes to allow Samba3 to pass the Samba4 RAW-READ tests.
Jeremy.


Revisions:
brlock.c1.34.2.4 => 1.34.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c.diff?r1=1.34.2.4&r2=1.34.2.5
locking.c   1.135.2.12 => 1.135.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.135.2.12&r2=1.135.2.13


CVS update: samba/source/locking

2003-09-27 Thread jerry

Date:   Sat Sep 27 16:54:29 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv10870/source/locking

Modified Files:
  Tag: APPLIANCE_HEAD
locking.c 
Log Message:
syncing tree with 3.0

Revisions:
locking.c   1.92.2.17 => 1.92.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.92.2.17&r2=1.92.2.18


CVS update: samba/source/locking

2003-09-08 Thread jerry

Date:   Tue Sep  9 04:07:08 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv31563/locking

Modified Files:
locking.c 
Log Message:
sync 3.0 into HEAD for the last time



Revisions:
locking.c   1.145 => 1.146

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.145&r2=1.146


CVS update: samba/source/locking

2003-09-08 Thread jra

Date:   Mon Sep  8 20:42:34 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv9651/locking

Modified Files:
  Tag: SAMBA_3_0
locking.c 
Log Message:
Tidy up some formatting. Get ready for allowing bad password lockout. (based
on a patch posted from Richard Renard <[EMAIL PROTECTED]>.
Jeremy.


Revisions:
locking.c   1.135.2.11 => 1.135.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.135.2.11&r2=1.135.2.12


CVS update: samba/source/locking

2003-09-02 Thread jerry

Date:   Tue Sep  2 22:18:03 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv20033/locking

Modified Files:
  Tag: APPLIANCE_HEAD
brlock.c locking.c posix.c 
Log Message:
starting to sync up app_head with 3.0

Revisions:
brlock.c1.15.2.7 => 1.15.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c.diff?r1=1.15.2.7&r2=1.15.2.8
locking.c   1.92.2.16 => 1.92.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.92.2.16&r2=1.92.2.17
posix.c 1.19.2.5 => 1.19.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c.diff?r1=1.19.2.5&r2=1.19.2.6


CVS update: samba/source/locking

2003-08-15 Thread jerry

Date:   Fri Aug 15 17:49:55 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv22432/locking

Modified Files:
  Tag: SAMBA_3_0_RELEASE
locking.c 
Log Message:
syncing up to 3.0.0rc1

Revisions:
locking.c   1.144 => 1.144.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.144&r2=1.144.2.1


CVS update: samba/source/locking

2003-08-02 Thread idra

Date:   Sat Aug  2 20:06:47 2003
Author: idra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv26703/locking

Modified Files:
locking.c 
Log Message:

port latest changes from SAMBA_3_0 tree



Revisions:
locking.c   1.144 => 1.145

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.144&r2=1.145


CVS update: samba/source/locking

2003-07-31 Thread jra

Date:   Fri Aug  1 06:10:30 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv31547/locking

Modified Files:
  Tag: SAMBA_3_0
locking.c 
Log Message:
Final fix for the bug tridge found. Only push locks onto a blocking lock
queue if the posix lock failed with EACCES or EAGAIN (this means another
lock conflicts). Else return an error and don't queue the request.
Jeremy.


Revisions:
locking.c   1.135.2.10 => 1.135.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.135.2.10&r2=1.135.2.11


CVS update: samba/source/locking

2003-07-21 Thread tpot

Date:   Tue Jul 22 04:31:19 2003
Author: tpot

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv31393/locking

Modified Files:
  Tag: SAMBA_3_0
locking.c 
Log Message:
Fixup a bunch of printf-style functions and debugs to use unsigned long when
displaying pid_t, uid_t and gid_t values.  This removes a whole lot of warnings
on some of the 64-bit build farm machines as well as help us out when 64-bit
uid/gid/pid values come along.


Revisions:
locking.c   1.135.2.9 => 1.135.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c.diff?r1=1.135.2.9&r2=1.135.2.10


CVS update: samba/source/locking

2003-07-15 Thread jerry

Date:   Wed Jul 16 05:34:41 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv4827/source/locking

Modified Files:
posix.c 
Log Message:
trying to get HEAD building again.  If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE



Revisions:
posix.c 1.35 => 1.36

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c.diff?r1=1.35&r2=1.36


CVS update: samba/source/locking

2003-06-06 Thread jerry

Date:   Fri Jun  6 14:53:23 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/home/jerry/src/samba_3_0_release/source/locking

Modified Files:
  Tag: SAMBA_3_0_RELEASE
posix.c 
Log Message:
working on creating the 3.0 release tree

Revisions:
posix.c 1.35 => 1.35.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c.diff?r1=1.35&r2=1.35.2.1


CVS update: samba/source/locking

2003-04-04 Thread jra

Date:   Fri Apr  4 20:38:25 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv9871/locking

Modified Files:
brlock.c locking.c 
Log Message:
Fix for very subtle POSIX lock interaction race condition found by
Herb. We need to unlock POSIX locks before notifying pending lock
processes.
Jeremy.


Revisions:
brlock.c1.38 => 1.39

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.38&r2=1.39
locking.c   1.142 => 1.143

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.142&r2=1.143


CVS update: samba/source/locking

2003-04-04 Thread jra

Date:   Fri Apr  4 20:38:12 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv9786/locking

Modified Files:
  Tag: SAMBA_3_0
brlock.c locking.c 
Log Message:
Fix for very subtle POSIX lock interaction race condition found by
Herb. We need to unlock POSIX locks before notifying pending lock
processes.
Jeremy.


Revisions:
brlock.c1.34.2.3 => 1.34.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.34.2.3&r2=1.34.2.4
locking.c   1.135.2.7 => 1.135.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.135.2.7&r2=1.135.2.8


CVS update: samba/source/locking

2003-04-04 Thread jra

Date:   Fri Apr  4 20:04:56 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv6165/locking

Modified Files:
  Tag: SAMBA_2_2
brlock.c locking.c 
Log Message:
Fix for very subtle POSIX lock interaction race condition found by
Herb. We need to unlock POSIX locks before notifying pending lock
processes.
Jeremy.


Revisions:
brlock.c1.15.4.21 => 1.15.4.22

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.15.4.21&r2=1.15.4.22
locking.c   1.93.2.42 => 1.93.2.43

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.42&r2=1.93.2.43


CVS update: samba/source/locking

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:46 2003
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv19740/source/locking

Modified Files:
  Tag: SAMBA_2_2_RELEASE
brlock.c locking.c posix.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
brlock.c1.15.4.3.2.4 => 1.15.4.3.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.15.4.3.2.4&r2=1.15.4.3.2.5
locking.c   1.93.2.4.2.6 => 1.93.2.4.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.4.2.6&r2=1.93.2.4.2.7
posix.c 1.19.4.4.2.3 => 1.19.4.4.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.19.4.4.2.3&r2=1.19.4.4.2.4


CVS update: samba/source/locking

2003-02-26 Thread jra

Date:   Thu Feb 27 01:04:34 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv2567/locking

Modified Files:
  Tag: SAMBA_3_0
brlock.c locking.c 
Log Message:
Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.


Revisions:
brlock.c1.34.2.2 => 1.34.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.34.2.2&r2=1.34.2.3
locking.c   1.135.2.6 => 1.135.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.135.2.6&r2=1.135.2.7


CVS update: samba/source/locking

2003-02-26 Thread jra

Date:   Thu Feb 27 00:43:23 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv32735/locking

Modified Files:
brlock.c locking.c 
Log Message:
Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.


Revisions:
brlock.c1.37 => 1.38

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.37&r2=1.38
locking.c   1.141 => 1.142

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.141&r2=1.142


CVS update: samba/source/locking

2003-02-26 Thread jra

Date:   Wed Feb 26 21:28:07 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv9437/locking

Modified Files:
  Tag: SAMBA_2_2
brlock.c locking.c 
Log Message:
Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.


Revisions:
brlock.c1.15.4.20 => 1.15.4.21

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.15.4.20&r2=1.15.4.21
locking.c   1.93.2.41 => 1.93.2.42

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.41&r2=1.93.2.42


CVS update: samba/source/locking

2003-02-26 Thread jra

Date:   Wed Feb 26 21:26:56 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv9287/locking

Modified Files:
  Tag: APPLIANCE_HEAD
brlock.c locking.c 
Log Message:
Fix for blocking lock issues found by Herb. No CR#.
Jeremy.


Revisions:
brlock.c1.15.2.6 => 1.15.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.15.2.6&r2=1.15.2.7
locking.c   1.92.2.14 => 1.92.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.92.2.14&r2=1.92.2.15


CVS update: samba/source/locking

2003-02-23 Thread jra

Date:   Mon Feb 24 03:27:10 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv21763/locking

Modified Files:
  Tag: SAMBA_2_2
locking.c 
Log Message:
Merge off-by-one crash fixes found and fixed in HEAD by Andrew Bartlett.
Jeremy.


Revisions:
locking.c   1.93.2.40 => 1.93.2.41

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.40&r2=1.93.2.41


CVS update: samba/source/locking

2003-02-23 Thread jra

Date:   Mon Feb 24 03:27:07 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv21827/locking

Modified Files:
  Tag: APPLIANCE_HEAD
locking.c 
Log Message:
Merge off-by-one crash fixes found and fixed in HEAD by Andrew Bartlett.
No CR#.
Jeremy.


Revisions:
locking.c   1.92.2.13 => 1.92.2.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.92.2.13&r2=1.92.2.14


CVS update: samba/source/locking

2003-02-23 Thread abartlet

Date:   Mon Feb 24 03:03:15 2003
Author: abartlet

Update of /home/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv19000/locking

Modified Files:
  Tag: SAMBA_3_0
locking.c 
Log Message:
Merge off-by-one fix from HEAD (caused crash with --enable-developer)


Revisions:
locking.c   1.135.2.5 => 1.135.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.135.2.5&r2=1.135.2.6


CVS update: samba/source/locking

2003-02-23 Thread abartlet

Date:   Mon Feb 24 01:13:31 2003
Author: abartlet

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv8831/locking

Modified Files:
locking.c 
Log Message:
Fix 2 off-by-one bugs in the use of malloc()ed strings and safe_strcpy().

safe_strcpy() isn't particularly safe (this has been noted before) as it does
not take the size of the buffer, but instead the size of the buffer *minus 1*

The locking.c fix was causing segfaults on machines running with 
--enable-developer, and was tracked down thanks to the fact that vance's build
farm machine runs with such an option, and smbtorture's DIR1 test hits this
bug very well.

(The --enable-developer code writes to the last byte of the string, to check
for incorrect use of safe_strcpy()).

Andrew Bartlett


Revisions:
locking.c   1.140 => 1.141

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.140&r2=1.141


CVS update: samba/source/locking

2003-02-21 Thread jra

Date:   Sat Feb 22 01:10:26 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv3365/locking

Modified Files:
  Tag: APPLIANCE_HEAD
brlock.c 
Log Message:
When checking is_locked() new WRITE locks conflict with existing READ locks even
if the context is the same. See LOCKTEST7 in smbtorture. No CR#.
Jeremy.


Revisions:
brlock.c1.15.2.5 => 1.15.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.15.2.5&r2=1.15.2.6


CVS update: samba/source/locking

2003-02-21 Thread jra

Date:   Sat Feb 22 01:10:13 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv3334/locking

Modified Files:
  Tag: SAMBA_2_2
brlock.c 
Log Message:
When checking is_locked() new WRITE locks conflict with existing READ locks even
if the context is the same. See LOCKTEST7 in smbtorture.
Jeremy.


Revisions:
brlock.c1.15.4.19 => 1.15.4.20

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.15.4.19&r2=1.15.4.20


CVS update: samba/source/locking

2003-02-21 Thread jra

Date:   Sat Feb 22 01:09:57 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv3259/locking

Modified Files:
  Tag: SAMBA_3_0
brlock.c 
Log Message:
When checking is_locked() new WRITE locks conflict with existing READ locks even
if the context is the same. See LOCKTEST7 in smbtorture.
Jeremy.


Revisions:
brlock.c1.34.2.1 => 1.34.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.34.2.1&r2=1.34.2.2


CVS update: samba/source/locking

2003-02-21 Thread jra

Date:   Sat Feb 22 01:09:43 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv3206/locking

Modified Files:
brlock.c 
Log Message:
When checking is_locked() new WRITE locks conflict with existing READ locks even
if the context is the same. See LOCKTEST7 in smbtorture.
Jeremy.


Revisions:
brlock.c1.36 => 1.37

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.36&r2=1.37


Re: CVS update: samba/source/locking

2003-02-14 Thread Simo
That's what I fear as it is easy to misunderstand the code and introduce
errors later, anyway, it was just a question, nothing to lose too much
time on.

Simo.

On Thu, 2003-02-13 at 20:06, [EMAIL PROTECTED] wrote:
> On Thu, Feb 13, 2003 at 10:58:19AM +0100, Simo wrote:
> > Jeremy why did you used an "AND NOT something" to check a boundary and
> > not "MAJOR THAN something" ?
> 
> Hmmm. It makes sense as we're treating the offsets/counts as bitmasks
> at this point.
> 
> Jeremy.
-- 
Simo Sorce-  [EMAIL PROTECTED]
Samba Team-  http://www.samba.org
Italian Site  -  http://samba.xsec.it



Re: CVS update: samba/source/locking

2003-02-13 Thread jra
On Thu, Feb 13, 2003 at 10:58:19AM +0100, Simo wrote:
> Jeremy why did you used an "AND NOT something" to check a boundary and
> not "MAJOR THAN something" ?

Hmmm. It makes sense as we're treating the offsets/counts as bitmasks
at this point.

Jeremy.



Re: CVS update: samba/source/locking

2003-02-13 Thread Simo
Jeremy why did you used an "AND NOT something" to check a boundary and
not "MAJOR THAN something" ?

I was looking for code readability ...

Simo.

On Wed, 2003-02-12 at 21:40, [EMAIL PROTECTED] wrote:
> Date: Wed Feb 12 20:40:29 2003
> Author:   jra
> 
> Update of /data/cvs/samba/source/locking
> In directory dp.samba.org:/tmp/cvs-serv26774/locking
> 
> Modified Files:
>   Tag: SAMBA_3_0
>   posix.c 
> Log Message:
> Fixes for HPUX only having limited POSIX lock range from Michael Steffens 
><[EMAIL PROTECTED]>
> Jeremy.
> 
> 
> Revisions:
> posix.c   1.32.2.2 => 1.32.2.3
>   
>http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.32.2.2&r2=1.32.2.3
-- 
Simo Sorce-  [EMAIL PROTECTED]
Samba Team-  http://www.samba.org
Italian Site  -  http://samba.xsec.it



CVS update: samba/source/locking

2003-02-12 Thread jra

Date:   Wed Feb 12 20:40:29 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv26774/locking

Modified Files:
  Tag: SAMBA_3_0
posix.c 
Log Message:
Fixes for HPUX only having limited POSIX lock range from Michael Steffens 
<[EMAIL PROTECTED]>
Jeremy.


Revisions:
posix.c 1.32.2.2 => 1.32.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.32.2.2&r2=1.32.2.3



CVS update: samba/source/locking

2003-02-12 Thread jra

Date:   Wed Feb 12 20:38:51 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv26485/locking

Modified Files:
  Tag: SAMBA_2_2
posix.c 
Log Message:
Fixes for HPUX only having limited POSIX lock range from Michael Steffens 
<[EMAIL PROTECTED]>
Jeremy.


Revisions:
posix.c 1.19.4.14 => 1.19.4.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.19.4.14&r2=1.19.4.15



CVS update: samba/source/locking

2003-02-12 Thread jra

Date:   Wed Feb 12 20:38:02 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv26404/locking

Modified Files:
posix.c 
Log Message:
Fixes for HPUX only having limited POSIX lock range from Michael Steffens 
<[EMAIL PROTECTED]>
Jeremy.


Revisions:
posix.c 1.34 => 1.35

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.34&r2=1.35



CVS update: samba/source/locking

2003-02-12 Thread jra

Date:   Wed Feb 12 18:58:10 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv16542/locking

Modified Files:
  Tag: SAMBA_2_2
posix.c 
Log Message:
Formatting tidyup before applying patch.
Jeremy.


Revisions:
posix.c 1.19.4.13 => 1.19.4.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.19.4.13&r2=1.19.4.14



CVS update: samba/source/locking

2003-02-11 Thread jra

Date:   Wed Feb 12 01:31:43 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv27006/locking

Modified Files:
  Tag: SAMBA_2_2
locking.c 
Log Message:
Fix from Andrew Bartlett. Always use safe_strcpy not pstrcpy for malloced
strings.
Jeremy.


Revisions:
locking.c   1.93.2.39 => 1.93.2.40

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.39&r2=1.93.2.40



CVS update: samba/source/locking

2003-02-11 Thread jra

Date:   Wed Feb 12 01:31:26 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv26932/locking

Modified Files:
  Tag: APPLIANCE_HEAD
locking.c 
Log Message:
Fix from Andrew Bartlett. Always use safe_strcpy not pstrcpy for malloced
strings. No CR#.
Jeremy.


Revisions:
locking.c   1.92.2.12 => 1.92.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.92.2.12&r2=1.92.2.13



CVS update: samba/source/locking

2003-02-10 Thread abartlet

Date:   Mon Feb 10 11:47:20 2003
Author: abartlet

Update of /home/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv20913/locking

Modified Files:
  Tag: SAMBA_3_0
locking.c 
Log Message:
Cleanups:  (merge from HEAD)

 - use safe_strcpy() instead of pstrcpy() for malloc()ed strings

 - CUPS: a failure in an attempt to automaticly add a printer is not level 0 stuff.
 
 - Fix up a possible Realloc() failure segfault
 
Andrew Bartlett


Revisions:
locking.c   1.135.2.4 => 1.135.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.135.2.4&r2=1.135.2.5



CVS update: samba/source/locking

2003-02-10 Thread abartlet

Date:   Mon Feb 10 09:20:10 2003
Author: abartlet

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv24807/locking

Modified Files:
locking.c 
Log Message:
Use safe_strcpy() instead of pstrcpy() for malloced strings.

Andrew Bartlett


Revisions:
locking.c   1.139 => 1.140

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.139&r2=1.140



CVS update: samba/source/locking

2003-01-03 Thread jra

Date:   Fri Jan  3 19:07:26 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv27108/locking

Modified Files:
locking.c 
Log Message:
Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.


Revisions:
locking.c   1.138 => 1.139

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.138&r2=1.139



CVS update: samba/source/locking

2003-01-03 Thread jra

Date:   Fri Jan  3 18:50:13 2003
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv26463/locking

Modified Files:
  Tag: SAMBA_3_0
locking.c 
Log Message:
Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.


Revisions:
locking.c   1.135.2.3 => 1.135.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.135.2.3&r2=1.135.2.4



CVS update: samba/source/locking

2002-12-20 Thread jra

Date:   Fri Dec 20 20:23:04 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv29132/locking

Modified Files:
posix.c 
Log Message:
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.


Revisions:
posix.c 1.33 => 1.34

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.33&r2=1.34



CVS update: samba/source/locking

2002-12-20 Thread jra

Date:   Fri Dec 20 20:21:26 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv28828/locking

Modified Files:
  Tag: SAMBA_3_0
posix.c 
Log Message:
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.


Revisions:
posix.c 1.32.2.1 => 1.32.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.32.2.1&r2=1.32.2.2



CVS update: samba/source/locking

2002-12-13 Thread jra

Date:   Fri Dec 13 21:09:51 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv20316/locking

Modified Files:
  Tag: APPLIANCE_HEAD
posix.c 
Log Message:
Attempt to track memory usage better. Added tallocdump command to smbcontrol.
Causes smbd/nmbd/winbindd to return their current talloc pool allocations.
Changed all talloc_init() calls to talloc_init_named() (made talloc_init
static to make sure) to ensure we name all talloc pools. Should help track
memory leaks in daemons.
Jeremy.


Revisions:
posix.c 1.19.2.4 => 1.19.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.19.2.4&r2=1.19.2.5



CVS update: samba/source/locking

2002-11-26 Thread jra

Date:   Tue Nov 26 17:48:27 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv5209/locking

Modified Files:
  Tag: APPLIANCE_HEAD
locking.c posix.c 
Log Message:
Fix tdb_fetch memory leaks. No CR.
Jeremy.


Revisions:
locking.c   1.92.2.11 => 1.92.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.92.2.11&r2=1.92.2.12
posix.c 1.19.2.3 => 1.19.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.19.2.3&r2=1.19.2.4



CVS update: samba/source/locking

2002-11-22 Thread jra

Date:   Sat Nov 23 02:52:38 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv30662/locking

Modified Files:
locking.c posix.c 
Log Message:
Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <[EMAIL PROTECTED]>.
Jeremy.



Revisions:
locking.c   1.137 => 1.138

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.137&r2=1.138
posix.c 1.32 => 1.33

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.32&r2=1.33



CVS update: samba/source/locking

2002-11-22 Thread jra

Date:   Sat Nov 23 02:52:36 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv30655/locking

Modified Files:
  Tag: SAMBA_3_0
locking.c posix.c 
Log Message:
Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <[EMAIL PROTECTED]>.
Jeremy.


Revisions:
locking.c   1.135.2.2 => 1.135.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.135.2.2&r2=1.135.2.3
posix.c 1.32 => 1.32.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.32&r2=1.32.2.1



CVS update: samba/source/locking

2002-10-09 Thread jerry


Date:   Wed Oct  9 19:50:26 2002
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv30587/source/locking

Modified Files:
  Tag: SAMBA_2_2_RELEASE
locking.c 
Log Message:
 sync with SAMBA_2_2 for 2.2.6rc1

Revisions:
locking.c   1.93.2.4.2.5 => 1.93.2.4.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.4.2.5&r2=1.93.2.4.2.6



CVS update: samba/source/locking

2002-09-25 Thread jerry


Date:   Wed Sep 25 15:18:53 2002
Author: jerry

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv7790/locking

Modified Files:
  Tag: SAMBA_3_0
locking.c 
Log Message:
sync'ing up for 3.0alpha20 release

Revisions:
locking.c   1.135.2.1 => 1.135.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.135.2.1&r2=1.135.2.2



CVS update: samba/source/locking

2002-09-10 Thread jra


Date:   Wed Sep 11 00:50:13 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv2637/locking

Modified Files:
locking.c 
Log Message:
Fix missing braces around push lock call.
Jeremy.


Revisions:
locking.c   1.136 => 1.137

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.136&r2=1.137



CVS update: samba/source/locking

2002-09-10 Thread jra


Date:   Wed Sep 11 00:47:32 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv2228/locking

Modified Files:
  Tag: APPLIANCE_HEAD
locking.c 
Log Message:
Formatting tidyup before real bugfix.
Jeremy.


Revisions:
locking.c   1.92.2.10 => 1.92.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.92.2.10&r2=1.92.2.11



CVS update: samba/source/locking

2002-09-10 Thread jra


Date:   Wed Sep 11 00:47:25 2002
Author: jra

Update of /data/cvs/samba/source/locking
In directory dp.samba.org:/tmp/cvs-serv2295/locking

Modified Files:
  Tag: SAMBA_2_2
locking.c 
Log Message:
Formatting tidyup before real bugfix.
Jeremy.


Revisions:
locking.c   1.93.2.38 => 1.93.2.39

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.38&r2=1.93.2.39