]> arthur.barton.de Git - netatalk.git/commitdiff
BUGFIX: deny mode, tmp lock, byte lock when length is -1, setforkparams,
authordidg <didg>
Thu, 16 Jan 2003 21:18:15 +0000 (21:18 +0000)
committerdidg <didg>
Thu, 16 Jan 2003 21:18:15 +0000 (21:18 +0000)
AFP3 large file support

deny mode: make it works with more than 2 openers

tmp lock: check conflicting locks with files open multiple times by the same
process, was only check locks held by other afpd.

byte lock: -1 means to the maximum size of a fork, was always error EOVERFLOW,
because we don't start from offset 0 and we can't use the POSIX way ie length 0.

setforparams: only conflicting locks if it's a truncate and it removes a locked
range, was any lock return an error.

AFP3: check for negative values with 32 bits calls, setforparams for size >2GBytes,
read and write with offset > 2GBytes.

etc/afpd/file.c
etc/afpd/fork.c
etc/afpd/fork.h
include/atalk/adouble.h
libatalk/adouble/ad_lock.c
libatalk/adouble/ad_write.c

index 691ec0cafdf05ec318a89871a7fe5a68f2f381e0..6d9382eaec1b863f9e35581f496155b5a35906c7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: file.c,v 1.73 2003-01-16 20:06:33 didg Exp $
+ * $Id: file.c,v 1.74 2003-01-16 21:18:15 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
index 543c769c5fc20de9433d1fe3ef094423ff4b6496..c8684e1d9d10d5a1cbd48e3a9dab0e56911bf727 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: fork.c,v 1.44 2003-01-16 20:06:33 didg Exp $
+ * $Id: fork.c,v 1.45 2003-01-16 21:18:15 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
index 512f5f2c254c4107720009ccccbc4a18ac4fa101..8c00a38d213a27ed09620309d10c5406d6386860 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: fork.h,v 1.7 2003-01-16 20:06:33 didg Exp $
+ * $Id: fork.h,v 1.8 2003-01-16 21:18:15 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
index f1820381ee0c31702523508e8d3b564267022421..4b7848835bd16853b97560fa88ba7a1cf507e8e7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: adouble.h,v 1.13 2003-01-16 20:06:33 didg Exp $
+ * $Id: adouble.h,v 1.14 2003-01-16 21:18:15 didg Exp $
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
  *
index 0331bb3c3d239aab3347075c14ea2ebba59d5736..26cf186ae2ecfe0b4d6f5247315b3a7ab4e56af1 100644 (file)
@@ -1,5 +1,5 @@
 /* 
- * $Id: ad_lock.c,v 1.7 2003-01-16 20:06:33 didg Exp $
+ * $Id: ad_lock.c,v 1.8 2003-01-16 21:18:15 didg Exp $
  *
  * Copyright (c) 1998,1999 Adrian Sun (asun@zoology.washington.edu)
  * All Rights Reserved. See COPYRIGHT for more information.
index 1faf1799603a1a1e46362a63e239c72968180305..6de42aaff7b9dce7864b4bd7fa664bba11400a7a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ad_write.c,v 1.5 2003-01-16 20:06:33 didg Exp $
+ * $Id: ad_write.c,v 1.6 2003-01-16 21:18:15 didg Exp $
  *
  * Copyright (c) 1990,1995 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.