]>
arthur.barton.de Git - netatalk.git/log
didg [Sun, 8 Nov 2009 00:41:45 +0000 (00:41 +0000)]
use the right definition for pad append function placeholder in afpd
didg [Sun, 8 Nov 2009 00:32:03 +0000 (00:32 +0000)]
remove a gcc warning, signed/unsigned test
didg [Sat, 7 Nov 2009 17:25:33 +0000 (17:25 +0000)]
remove redundant lazy_initialize_conv calls
didg [Sat, 7 Nov 2009 01:19:55 +0000 (01:19 +0000)]
speed up validupath_adouble for the common case: it's not a file with a leading '.' or it's .AppleDouble
didg [Sat, 7 Nov 2009 01:18:50 +0000 (01:18 +0000)]
speed up a little ad_dir
didg [Sat, 7 Nov 2009 01:02:58 +0000 (01:02 +0000)]
speed up a little ad_path
didg [Sat, 7 Nov 2009 00:58:16 +0000 (00:58 +0000)]
set errno after calling LOG
didg [Fri, 6 Nov 2009 23:25:35 +0000 (23:25 +0000)]
dsi init, move interface guessing in its own function
didg [Fri, 6 Nov 2009 23:05:09 +0000 (23:05 +0000)]
clean up a little log msgs
franklahm [Fri, 6 Nov 2009 14:37:26 +0000 (14:37 +0000)]
Previos patch was commited a little to quick
franklahm [Fri, 6 Nov 2009 14:33:52 +0000 (14:33 +0000)]
We're listening of :::548 ie IPv6 socket by default, so ioctl for address needs its own AF_INET socket
franklahm [Fri, 6 Nov 2009 13:53:16 +0000 (13:53 +0000)]
Use address from interface if hostname doesn't resolve
franklahm [Fri, 6 Nov 2009 09:16:15 +0000 (09:16 +0000)]
ipaddr option wasn't ported to IPv6 code
franklahm [Fri, 6 Nov 2009 08:42:33 +0000 (08:42 +0000)]
Update NEWS
didg [Fri, 6 Nov 2009 04:28:25 +0000 (04:28 +0000)]
test that the extension map is not empty(now the common case) before searching for '.'
didg [Fri, 6 Nov 2009 03:52:42 +0000 (03:52 +0000)]
IP6 ipok was undefined if no dsi
didg [Fri, 6 Nov 2009 03:51:54 +0000 (03:51 +0000)]
small optimization, in of_stat '../' is never modified
didg [Fri, 6 Nov 2009 03:50:32 +0000 (03:50 +0000)]
IP6 compilation error if SLP defined
didg [Thu, 5 Nov 2009 21:31:53 +0000 (21:31 +0000)]
IP6 remove a 'unsigned expression < 0 is always false' test and a const warning with free()
didg [Thu, 5 Nov 2009 21:28:13 +0000 (21:28 +0000)]
IP6 add missing include for free and remove unused one (logger)
franklahm [Thu, 5 Nov 2009 14:38:07 +0000 (14:38 +0000)]
IPv6 support for afpd and cnid_metad
didg [Mon, 2 Nov 2009 14:35:27 +0000 (14:35 +0000)]
small clean up, use of_ad when we can
franklahm [Mon, 2 Nov 2009 10:27:13 +0000 (10:27 +0000)]
Untabify and reindent
franklahm [Sun, 1 Nov 2009 10:58:50 +0000 (10:58 +0000)]
Fix some webmin installation stuff
franklahm [Fri, 30 Oct 2009 15:28:54 +0000 (15:28 +0000)]
Merge NEWS from 2.0.5
franklahm [Fri, 30 Oct 2009 07:00:03 +0000 (07:00 +0000)]
Untabify and reindent
franklahm [Thu, 29 Oct 2009 19:20:28 +0000 (19:20 +0000)]
Force conversion of EA names
franklahm [Thu, 29 Oct 2009 18:38:48 +0000 (18:38 +0000)]
build.sh is obsolete
didg [Thu, 29 Oct 2009 16:19:49 +0000 (16:19 +0000)]
move most of a LOG macros in the logger function
didg [Thu, 29 Oct 2009 15:04:41 +0000 (15:04 +0000)]
the use of the new LOG code introduce a 50% code size penalty, text size with LOG: 514748 Bytes, without it : 365325 Bytes, no way that this stuff can stay. Add a new NO_DEBUG which remove log_debug when compile with O2, need a configure option
didg [Thu, 29 Oct 2009 13:38:15 +0000 (13:38 +0000)]
use log_debug9 rather than log_debug for LOG inside ifdef DEBUG
franklahm [Thu, 29 Oct 2009 13:28:57 +0000 (13:28 +0000)]
vfs->ad_path wasn't set
didg [Thu, 29 Oct 2009 13:17:28 +0000 (13:17 +0000)]
use log_debug rather than log_info for LOG inside ifdef DEBUG
franklahm [Thu, 29 Oct 2009 13:06:19 +0000 (13:06 +0000)]
Move VFS stack from _one_ global stack to per volume stack
didg [Thu, 29 Oct 2009 12:58:11 +0000 (12:58 +0000)]
remove redundant debug output, it's already print in afp_dsi
didg [Thu, 29 Oct 2009 12:48:34 +0000 (12:48 +0000)]
convert_string can deal with not 0 terminated strings thus move the copy outside the fast path in the LOG macros
didg [Thu, 29 Oct 2009 11:35:57 +0000 (11:35 +0000)]
compute the right size if len == -1 in convert_string and use -1 than strlen(in) in most calls
didg [Thu, 29 Oct 2009 11:19:23 +0000 (11:19 +0000)]
use _USE_GNU_SOURCE rather than the internal __USE_GNU
franklahm [Thu, 29 Oct 2009 10:55:45 +0000 (10:55 +0000)]
Remove etc/afpd/afp_vfs.h. Obsolete and moved to include/atalk/vfs.h
didg [Thu, 29 Oct 2009 10:53:52 +0000 (10:53 +0000)]
convert_string always 0-terminate or return an error
didg [Thu, 29 Oct 2009 10:34:15 +0000 (10:34 +0000)]
remove unused parameter warning
didg [Thu, 29 Oct 2009 10:27:45 +0000 (10:27 +0000)]
only call stat(path) if it's not done in cname
didg [Thu, 29 Oct 2009 10:04:35 +0000 (10:04 +0000)]
remove include already in adouble.h
didg [Thu, 29 Oct 2009 09:47:11 +0000 (09:47 +0000)]
use the parent directory id in the hash
didg [Wed, 28 Oct 2009 01:52:49 +0000 (01:52 +0000)]
attribute name length is 16bits not 32bits, on big endian was returning junk
didg [Wed, 28 Oct 2009 01:44:58 +0000 (01:44 +0000)]
use sizeof(foo) rather than 2 or 4 when copying from/to cmd buffers so variables with a wrong type bug quickly
didg [Wed, 28 Oct 2009 01:31:57 +0000 (01:31 +0000)]
apple attributes' name are constant
didg [Wed, 28 Oct 2009 01:30:25 +0000 (01:30 +0000)]
fcntl.h is already included in adouble.h
didg [Tue, 27 Oct 2009 23:35:17 +0000 (23:35 +0000)]
dirent.h is included in directory.h
didg [Tue, 27 Oct 2009 13:49:34 +0000 (13:49 +0000)]
add missing include files in 'make dist'
franklahm [Tue, 27 Oct 2009 12:35:23 +0000 (12:35 +0000)]
Some declarations were missing static keyword
franklahm [Tue, 27 Oct 2009 10:24:02 +0000 (10:24 +0000)]
mv unix_rename from etc/afpd/unix.c to libatalk/vfs/unix.c.
Untabify and reindent libatalk/vfs/unix.c.
franklahm [Mon, 26 Oct 2009 13:12:00 +0000 (13:12 +0000)]
Adjust args names to match new VFS args names
franklahm [Mon, 26 Oct 2009 12:35:56 +0000 (12:35 +0000)]
Use fcntl O_NONBLOCK instead of ioctl FIONBIO
franklahm [Mon, 26 Oct 2009 12:34:18 +0000 (12:34 +0000)]
C99 forbids _XOPEN_SOURCE < 600
didg [Sun, 25 Oct 2009 12:09:00 +0000 (12:09 +0000)]
sendfile commit didn't compile if sendfile disable
didg [Sun, 25 Oct 2009 12:06:28 +0000 (12:06 +0000)]
use off_t rather than size_t for read/write_count, doesn't overflow at 4GB, yes moving more than 4GB of data over asp is a bad idea
didg [Sun, 25 Oct 2009 09:47:03 +0000 (09:47 +0000)]
on linux put sendfile back
didg [Sun, 25 Oct 2009 07:18:11 +0000 (07:18 +0000)]
seteuid back to our login user in logout in case there're volumes' prexec_close scripts.
didg [Sun, 25 Oct 2009 06:12:51 +0000 (06:12 +0000)]
1) try a better workaround for deadlocks when both the server and the client are sleeping in write by using a timeout. 2) Don't block signals when the server write to the socket, SIGTERM is not fully protect yet, the server can still disconnect in a middle of a write
didg [Sun, 25 Oct 2009 05:45:59 +0000 (05:45 +0000)]
EA, don't use st.st_mode if stat() failed. and goto exit was filling the log with ea_close('.'): non initialized ea
didg [Fri, 23 Oct 2009 17:35:06 +0000 (17:35 +0000)]
afp_delete don't call deletefile if we already know that there's no file from cname()
franklahm [Fri, 23 Oct 2009 14:49:30 +0000 (14:49 +0000)]
We didn't always seteuid back. Thanks to Didier for spotting this.
franklahm [Fri, 23 Oct 2009 14:09:50 +0000 (14:09 +0000)]
Begin Solaris EA VFS cleanup
didg [Fri, 23 Oct 2009 08:24:33 +0000 (08:24 +0000)]
ad_open mask out O_EXCL with O_CREAT
franklahm [Thu, 22 Oct 2009 13:40:11 +0000 (13:40 +0000)]
Fix all remaining warnings from gcc -Wall that can be fixed
franklahm [Thu, 22 Oct 2009 12:35:38 +0000 (12:35 +0000)]
Fix incompatible func args warnings
franklahm [Thu, 22 Oct 2009 08:36:30 +0000 (08:36 +0000)]
Private Webmin installation with our netatalk.wbm module
didg [Thu, 22 Oct 2009 07:40:50 +0000 (07:40 +0000)]
oops, a previous commit wrongly removed this
didg [Thu, 22 Oct 2009 05:53:20 +0000 (05:53 +0000)]
remove SIGUSR2 (message) from the list of blocked signals when writing to the client, move readmessage outside the signal handler and exit if it can't seteuid back to the suser
didg [Thu, 22 Oct 2009 05:19:29 +0000 (05:19 +0000)]
remove SIGHUP from the list of blocked signals when writing to the client
didg [Thu, 22 Oct 2009 05:09:56 +0000 (05:09 +0000)]
remove obsolete DSI #ifdef DEBUG1 code
didg [Thu, 22 Oct 2009 04:59:50 +0000 (04:59 +0000)]
remove the need for blocking SIGALRM (still need to deal with attention volumes changed)
franklahm [Wed, 21 Oct 2009 17:41:45 +0000 (17:41 +0000)]
Convert EA names from UTF8-MAC to volcharset with CONV_ESCAPEHEX
franklahm [Wed, 21 Oct 2009 16:16:30 +0000 (16:16 +0000)]
const pointers
didg [Wed, 21 Oct 2009 13:28:17 +0000 (13:28 +0000)]
factorize lock test (fewer fcntl calls)
didg [Wed, 21 Oct 2009 10:49:36 +0000 (10:49 +0000)]
lock use F_GETLK for testing lock
didg [Wed, 21 Oct 2009 07:33:50 +0000 (07:33 +0000)]
ad_lock rename user --> fork, this code is confusing enough
didg [Wed, 21 Oct 2009 07:03:08 +0000 (07:03 +0000)]
don't reset timer each time afpd get a request
franklahm [Tue, 20 Oct 2009 14:17:59 +0000 (14:17 +0000)]
EA support with AppleDouble files
franklahm [Tue, 20 Oct 2009 14:14:59 +0000 (14:14 +0000)]
Import NEWS for 2.0.1 to 2.0.5
franklahm [Tue, 20 Oct 2009 09:53:42 +0000 (09:53 +0000)]
Default and empty FinderInfo for dirs are not all 0 like files are
franklahm [Tue, 20 Oct 2009 08:38:41 +0000 (08:38 +0000)]
EA VFS: chmod for files and directorires
didg [Tue, 20 Oct 2009 06:06:06 +0000 (06:06 +0000)]
'if filename is empty use syslog...' test that filename is not null first
didg [Tue, 20 Oct 2009 04:53:19 +0000 (04:53 +0000)]
dsi, remove never used ifdef TIMER_ON_WRITE
didg [Tue, 20 Oct 2009 04:31:41 +0000 (04:31 +0000)]
dsi, remove never used ifdef TIMER_ON_READ
didg [Mon, 19 Oct 2009 13:08:00 +0000 (13:08 +0000)]
logger, if filename is empty use syslog, make cnid_metad syslog work again
franklahm [Mon, 19 Oct 2009 12:27:26 +0000 (12:27 +0000)]
Dont duplicate CFLAGS in AM_CFLAGS. Inspired by Jonas Smedegaard.
didg [Mon, 19 Oct 2009 12:14:43 +0000 (12:14 +0000)]
'logger, better buffer overrun tests' and of course I screwed it, off by one error...
didg [Mon, 19 Oct 2009 11:53:30 +0000 (11:53 +0000)]
logger, test return code for seteuid
didg [Mon, 19 Oct 2009 11:32:41 +0000 (11:32 +0000)]
logger, better buffer overrun tests
didg [Mon, 19 Oct 2009 11:15:45 +0000 (11:15 +0000)]
check the return value of nprintf functions
didg [Mon, 19 Oct 2009 11:01:51 +0000 (11:01 +0000)]
dsi, when reading functions' packet try to do it with one read call rather than two
didg [Mon, 19 Oct 2009 11:00:28 +0000 (11:00 +0000)]
afpd dbd, don't use select but setsockopt timeout
didg [Mon, 19 Oct 2009 10:58:30 +0000 (10:58 +0000)]
logger use the same order for parameters in static functions than in public ones
didg [Mon, 19 Oct 2009 10:41:40 +0000 (10:41 +0000)]
Oops, 'more descriptive name fors LOG macro parameters' didn't compile
didg [Mon, 19 Oct 2009 10:33:14 +0000 (10:33 +0000)]
more descriptive name fors LOG macro parameters and missing void in log_close function declaration
didg [Mon, 19 Oct 2009 10:29:58 +0000 (10:29 +0000)]
logger don't generate the log string if there's nowhere to write it
franklahm [Mon, 19 Oct 2009 10:13:28 +0000 (10:13 +0000)]
Include NetBSD downstream patches. From HAT.
franklahm [Mon, 19 Oct 2009 10:01:07 +0000 (10:01 +0000)]
Include NetBSD downstream patches. From HAT.