]>
arthur.barton.de Git - netatalk.git/log
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.
franklahm [Mon, 19 Oct 2009 09:51:10 +0000 (09:51 +0000)]
Merge from branch-2-0.
didg [Mon, 19 Oct 2009 08:09:07 +0000 (08:09 +0000)]
cnid dbd remove on time() syscall in the loop
didg [Mon, 19 Oct 2009 07:46:35 +0000 (07:46 +0000)]
cnid dbd don't fall back to 1 sec timeout after an idle timer if active connections
didg [Mon, 19 Oct 2009 05:38:22 +0000 (05:38 +0000)]
do some sanity checks on dbd params read from config file
didg [Mon, 19 Oct 2009 05:02:35 +0000 (05:02 +0000)]
use min(512, number of FD in a select set) for per/db default number of connections
didg [Sun, 18 Oct 2009 20:21:09 +0000 (20:21 +0000)]
use SO_RCVTIMEO rather than alarm in cnid_metad
didg [Sun, 18 Oct 2009 19:02:43 +0000 (19:02 +0000)]
use pselect and no timeout in cnid_metad
didg [Sun, 18 Oct 2009 18:25:13 +0000 (18:25 +0000)]
cnid_metad don't drop the slot if it's outside the respawn window, reuse it
didg [Sun, 18 Oct 2009 17:50:13 +0000 (17:50 +0000)]
use pselect and a better timeout in cnid_dbd
didg [Sun, 18 Oct 2009 06:16:05 +0000 (06:16 +0000)]
ad_open reuse fstat data in header if it's valid
didg [Fri, 16 Oct 2009 01:50:50 +0000 (01:50 +0000)]
psf, remove unused static stuff
didg [Fri, 16 Oct 2009 01:10:59 +0000 (01:10 +0000)]
pap, remove or #if 0 unused static stuff
didg [Fri, 16 Oct 2009 00:57:12 +0000 (00:57 +0000)]
copy_file, check close(destination) return value for error
didg [Fri, 16 Oct 2009 00:48:08 +0000 (00:48 +0000)]
copy_file if EINTR, cc -= write(...) was corrupting the buffer the size
didg [Fri, 16 Oct 2009 00:40:48 +0000 (00:40 +0000)]
copy_file use the right type ssize_t for ccor cc < 0 is always false
didg [Fri, 16 Oct 2009 00:15:53 +0000 (00:15 +0000)]
missing include file
didg [Fri, 16 Oct 2009 00:11:42 +0000 (00:11 +0000)]
declare more stuff static
franklahm [Thu, 15 Oct 2009 23:00:45 +0000 (23:00 +0000)]
Remove vfs_adouble.c, it's moved to libatalk/vfs/vfs.c
franklahm [Thu, 15 Oct 2009 15:35:05 +0000 (15:35 +0000)]
EAs for dirs did not work
franklahm [Thu, 15 Oct 2009 15:00:55 +0000 (15:00 +0000)]
VFS EA: chown