]> arthur.barton.de Git - netatalk.git/log
netatalk.git
14 years agosendfile commit didn't compile if sendfile disable
didg [Sun, 25 Oct 2009 12:09:00 +0000 (12:09 +0000)]
sendfile commit didn't compile if sendfile disable

14 years agouse off_t rather than size_t for read/write_count, doesn't overflow at 4GB, yes movin...
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

14 years agoon linux put sendfile back
didg [Sun, 25 Oct 2009 09:47:03 +0000 (09:47 +0000)]
on linux put sendfile back

14 years agoseteuid back to our login user in logout in case there're volumes' prexec_close scripts.
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.

14 years ago1) try a better workaround for deadlocks when both the server and the client are...
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

14 years agoEA, don't use st.st_mode if stat() failed. and goto exit was filling the log with...
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

14 years agoafp_delete don't call deletefile if we already know that there's no file from cname()
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()

14 years agoWe didn't always seteuid back. Thanks to Didier for spotting this.
franklahm [Fri, 23 Oct 2009 14:49:30 +0000 (14:49 +0000)]
We didn't always seteuid back. Thanks to Didier for spotting this.

14 years agoBegin Solaris EA VFS cleanup
franklahm [Fri, 23 Oct 2009 14:09:50 +0000 (14:09 +0000)]
Begin Solaris EA VFS cleanup

14 years agoad_open mask out O_EXCL with O_CREAT
didg [Fri, 23 Oct 2009 08:24:33 +0000 (08:24 +0000)]
ad_open mask out O_EXCL with O_CREAT

14 years agoFix all remaining warnings from gcc -Wall that can be fixed
franklahm [Thu, 22 Oct 2009 13:40:11 +0000 (13:40 +0000)]
Fix all remaining warnings from gcc -Wall that can be fixed

14 years agoFix incompatible func args warnings
franklahm [Thu, 22 Oct 2009 12:35:38 +0000 (12:35 +0000)]
Fix incompatible func args warnings

14 years agoPrivate Webmin installation with our netatalk.wbm module
franklahm [Thu, 22 Oct 2009 08:36:30 +0000 (08:36 +0000)]
Private Webmin installation with our netatalk.wbm module

14 years agooops, a previous commit wrongly removed this
didg [Thu, 22 Oct 2009 07:40:50 +0000 (07:40 +0000)]
oops, a previous commit wrongly removed this

14 years agoremove SIGUSR2 (message) from the list of blocked signals when writing to the client...
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

14 years agoremove SIGHUP from the list of blocked signals when writing to the client
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

14 years agoremove obsolete DSI #ifdef DEBUG1 code
didg [Thu, 22 Oct 2009 05:09:56 +0000 (05:09 +0000)]
remove obsolete DSI #ifdef DEBUG1 code

14 years agoremove the need for blocking SIGALRM (still need to deal with attention volumes changed)
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)

14 years agoConvert EA names from UTF8-MAC to volcharset with CONV_ESCAPEHEX
franklahm [Wed, 21 Oct 2009 17:41:45 +0000 (17:41 +0000)]
Convert EA names from UTF8-MAC to volcharset with CONV_ESCAPEHEX

14 years agoconst pointers
franklahm [Wed, 21 Oct 2009 16:16:30 +0000 (16:16 +0000)]
const pointers

14 years agofactorize lock test (fewer fcntl calls)
didg [Wed, 21 Oct 2009 13:28:17 +0000 (13:28 +0000)]
factorize lock test (fewer fcntl calls)

14 years agolock use F_GETLK for testing lock
didg [Wed, 21 Oct 2009 10:49:36 +0000 (10:49 +0000)]
lock use F_GETLK for testing lock

14 years agoad_lock rename user --> fork, this code is confusing enough
didg [Wed, 21 Oct 2009 07:33:50 +0000 (07:33 +0000)]
ad_lock rename user --> fork, this code is confusing enough

14 years agodon't reset timer each time afpd get a request
didg [Wed, 21 Oct 2009 07:03:08 +0000 (07:03 +0000)]
don't reset timer each time afpd get a request

14 years agoEA support with AppleDouble files
franklahm [Tue, 20 Oct 2009 14:17:59 +0000 (14:17 +0000)]
EA support with AppleDouble files

14 years agoImport NEWS for 2.0.1 to 2.0.5
franklahm [Tue, 20 Oct 2009 14:14:59 +0000 (14:14 +0000)]
Import NEWS for 2.0.1 to 2.0.5

14 years agoDefault and empty FinderInfo for dirs are not all 0 like files are
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

14 years agoEA VFS: chmod for files and directorires
franklahm [Tue, 20 Oct 2009 08:38:41 +0000 (08:38 +0000)]
EA VFS: chmod for files and directorires

14 years ago'if filename is empty use syslog...' test that filename is not null first
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

14 years agodsi, remove never used ifdef TIMER_ON_WRITE
didg [Tue, 20 Oct 2009 04:53:19 +0000 (04:53 +0000)]
dsi, remove never used ifdef TIMER_ON_WRITE

14 years agodsi, remove never used ifdef TIMER_ON_READ
didg [Tue, 20 Oct 2009 04:31:41 +0000 (04:31 +0000)]
dsi, remove never used ifdef TIMER_ON_READ

14 years agologger, if filename is empty use syslog, make cnid_metad syslog work again
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

14 years agoDont duplicate CFLAGS in AM_CFLAGS. Inspired by Jonas Smedegaard.
franklahm [Mon, 19 Oct 2009 12:27:26 +0000 (12:27 +0000)]
Dont duplicate CFLAGS in AM_CFLAGS. Inspired by Jonas Smedegaard.

14 years ago'logger, better buffer overrun tests' and of course I screwed it, off by one error...
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...

14 years agologger, test return code for seteuid
didg [Mon, 19 Oct 2009 11:53:30 +0000 (11:53 +0000)]
logger, test return code for seteuid

14 years agologger, better buffer overrun tests
didg [Mon, 19 Oct 2009 11:32:41 +0000 (11:32 +0000)]
logger, better buffer overrun tests

14 years agocheck the return value of nprintf functions
didg [Mon, 19 Oct 2009 11:15:45 +0000 (11:15 +0000)]
check the return value of nprintf functions

14 years agodsi, when reading functions' packet try to do it with one read call rather than two
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

14 years agoafpd dbd, don't use select but setsockopt timeout
didg [Mon, 19 Oct 2009 11:00:28 +0000 (11:00 +0000)]
afpd dbd, don't use select but setsockopt timeout

14 years agologger use the same order for parameters in static functions than in public ones
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

14 years agoOops, 'more descriptive name fors LOG macro parameters' didn't compile
didg [Mon, 19 Oct 2009 10:41:40 +0000 (10:41 +0000)]
Oops, 'more descriptive name fors LOG macro parameters' didn't compile

14 years agomore descriptive name fors LOG macro parameters and missing void in log_close functio...
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

14 years agologger don't generate the log string if there's nowhere to write it
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

14 years agoInclude NetBSD downstream patches. From HAT.
franklahm [Mon, 19 Oct 2009 10:13:28 +0000 (10:13 +0000)]
Include NetBSD downstream patches. From HAT.

14 years agoInclude NetBSD downstream patches. From HAT.
franklahm [Mon, 19 Oct 2009 10:01:07 +0000 (10:01 +0000)]
Include NetBSD downstream patches. From HAT.

14 years agoMerge from branch-2-0.
franklahm [Mon, 19 Oct 2009 09:51:10 +0000 (09:51 +0000)]
Merge from branch-2-0.

14 years agocnid dbd remove on time() syscall in the loop
didg [Mon, 19 Oct 2009 08:09:07 +0000 (08:09 +0000)]
cnid dbd remove on time() syscall in the loop

14 years agocnid dbd don't fall back to 1 sec timeout after an idle timer if active connections
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

14 years agodo some sanity checks on dbd params read from config file
didg [Mon, 19 Oct 2009 05:38:22 +0000 (05:38 +0000)]
do some sanity checks on dbd params read from config file

14 years agouse min(512, number of FD in a select set) for per/db default number of connections
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

14 years agouse SO_RCVTIMEO rather than alarm in cnid_metad
didg [Sun, 18 Oct 2009 20:21:09 +0000 (20:21 +0000)]
use SO_RCVTIMEO rather than alarm in cnid_metad

14 years agouse pselect and no timeout in cnid_metad
didg [Sun, 18 Oct 2009 19:02:43 +0000 (19:02 +0000)]
use pselect and no timeout in cnid_metad

14 years agocnid_metad don't drop the slot if it's outside the respawn window, reuse it
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

14 years agouse pselect and a better timeout in cnid_dbd
didg [Sun, 18 Oct 2009 17:50:13 +0000 (17:50 +0000)]
use pselect and a better timeout in cnid_dbd

14 years agoad_open reuse fstat data in header if it's valid
didg [Sun, 18 Oct 2009 06:16:05 +0000 (06:16 +0000)]
ad_open reuse fstat data in header if it's valid

14 years agopsf, remove unused static stuff
didg [Fri, 16 Oct 2009 01:50:50 +0000 (01:50 +0000)]
psf, remove  unused static stuff

14 years agopap, remove or #if 0 unused static stuff
didg [Fri, 16 Oct 2009 01:10:59 +0000 (01:10 +0000)]
pap, remove or #if 0 unused static stuff

14 years agocopy_file, check close(destination) return value for error
didg [Fri, 16 Oct 2009 00:57:12 +0000 (00:57 +0000)]
copy_file, check close(destination) return value for error

14 years agocopy_file if EINTR, cc -= write(...) was corrupting the buffer the size
didg [Fri, 16 Oct 2009 00:48:08 +0000 (00:48 +0000)]
copy_file if EINTR, cc -= write(...) was corrupting the buffer the size

14 years agocopy_file use the right type ssize_t for ccor cc < 0 is always false
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

14 years agomissing include file
didg [Fri, 16 Oct 2009 00:15:53 +0000 (00:15 +0000)]
missing include file

14 years agodeclare more stuff static
didg [Fri, 16 Oct 2009 00:11:42 +0000 (00:11 +0000)]
declare more stuff static

14 years agoRemove vfs_adouble.c, it's moved to libatalk/vfs/vfs.c
franklahm [Thu, 15 Oct 2009 23:00:45 +0000 (23:00 +0000)]
Remove vfs_adouble.c, it's moved to libatalk/vfs/vfs.c

14 years agoEAs for dirs did not work
franklahm [Thu, 15 Oct 2009 15:35:05 +0000 (15:35 +0000)]
EAs for dirs did not work

14 years agoVFS EA: chown
franklahm [Thu, 15 Oct 2009 15:00:55 +0000 (15:00 +0000)]
VFS EA: chown

14 years agoMore debugging
franklahm [Thu, 15 Oct 2009 14:54:43 +0000 (14:54 +0000)]
More debugging

14 years agoremove some const qualifier for volume parameter, cname() and dir_lookup(), it's...
didg [Thu, 15 Oct 2009 12:08:22 +0000 (12:08 +0000)]
remove some const qualifier for volume parameter, cname() and dir_lookup(), it's not a constant

14 years agoEA VFS: FPCopyFile support
franklahm [Thu, 15 Oct 2009 12:06:07 +0000 (12:06 +0000)]
EA VFS: FPCopyFile support

14 years agomove login buffer size to size_t
didg [Thu, 15 Oct 2009 11:39:48 +0000 (11:39 +0000)]
move login buffer size to size_t

14 years agoUse the right type for AFP function buffers size, size_t not int or unsigned int
didg [Thu, 15 Oct 2009 10:43:13 +0000 (10:43 +0000)]
Use the right type for AFP function buffers size, size_t not int or unsigned int

14 years agoImplement VFS chaining, EA VFS rm/mv
franklahm [Wed, 14 Oct 2009 15:04:00 +0000 (15:04 +0000)]
Implement VFS chaining, EA VFS rm/mv

14 years agoad_util.c, wrong parameters order for memset
didg [Wed, 14 Oct 2009 02:30:42 +0000 (02:30 +0000)]
ad_util.c, wrong parameters order for memset

14 years agoremove most sparse warning 'Using plain integer as NULL pointer'
didg [Wed, 14 Oct 2009 02:24:04 +0000 (02:24 +0000)]
remove most sparse warning 'Using plain integer as NULL pointer'

14 years agoremove most sparse warning 'symbol 'xxx' was not declared. Should it be static?'
didg [Wed, 14 Oct 2009 01:38:28 +0000 (01:38 +0000)]
remove most sparse warning 'symbol 'xxx' was not declared. Should it be static?'

14 years agoremove pre ansi declarations
didg [Tue, 13 Oct 2009 22:55:36 +0000 (22:55 +0000)]
remove pre ansi declarations

14 years agoError message when volinfo file is not found
franklahm [Mon, 12 Oct 2009 13:18:11 +0000 (13:18 +0000)]
Error message when volinfo file is not found

14 years agoUsage description with -f was outdated
franklahm [Mon, 12 Oct 2009 11:55:27 +0000 (11:55 +0000)]
Usage description with -f was outdated

14 years agoUsage summary specified the -u option wrong
franklahm [Mon, 12 Oct 2009 11:38:01 +0000 (11:38 +0000)]
Usage summary specified the -u option wrong

14 years agoNew option -n for scanning with -s: dont open CNID database,
franklahm [Mon, 12 Oct 2009 11:30:52 +0000 (11:30 +0000)]
New option -n for scanning with -s: dont open CNID database,
only scan filesystem.

14 years agoEA bug fixes
franklahm [Fri, 2 Oct 2009 14:57:57 +0000 (14:57 +0000)]
EA bug fixes

14 years agoExtended Attributes support via files in .AppleDouble.
franklahm [Fri, 2 Oct 2009 09:32:40 +0000 (09:32 +0000)]
Extended Attributes support via files in .AppleDouble.
Extended VFS stack, so apps linking libatalk can also actually use adouble and EA code.
Missing: EA integration into AFP rm, cp, mv.

14 years agoFix for possible NULL pointer passing to LOG if KRB5_KTNAME is not set in the process...
franklahm [Mon, 28 Sep 2009 13:19:48 +0000 (13:19 +0000)]
Fix for possible NULL pointer passing to LOG if KRB5_KTNAME is not set in the process environment

14 years agoUntabify and reindent
franklahm [Mon, 28 Sep 2009 12:16:49 +0000 (12:16 +0000)]
Untabify and reindent

14 years agoReadability fix (endif comment was wrong), remove ifdef DEBUG, adjust loglevel to...
franklahm [Mon, 28 Sep 2009 12:04:51 +0000 (12:04 +0000)]
Readability fix (endif comment was wrong), remove ifdef DEBUG, adjust loglevel to debug instead

14 years agoAFP_LOGINCONT was missing in AFP cmdcode stringizer
franklahm [Mon, 28 Sep 2009 11:59:44 +0000 (11:59 +0000)]
AFP_LOGINCONT was missing in AFP cmdcode stringizer

14 years agoUntabify and reindent
franklahm [Mon, 28 Sep 2009 09:21:09 +0000 (09:21 +0000)]
Untabify and reindent

14 years agoChanging UNIX privs doesn't require adouble access. Fixes #2863424
franklahm [Mon, 21 Sep 2009 12:35:04 +0000 (12:35 +0000)]
Changing UNIX privs doesn't require adouble access. Fixes #2863424

14 years agoRequiere C99 via AC_PROG_CC_C99 in configure.in
franklahm [Fri, 18 Sep 2009 12:36:39 +0000 (12:36 +0000)]
Requiere C99 via AC_PROG_CC_C99 in configure.in

14 years agoFix warnings
franklahm [Thu, 17 Sep 2009 08:35:08 +0000 (08:35 +0000)]
Fix warnings

14 years agoUntabify, reindent, realign, cleanup
franklahm [Mon, 14 Sep 2009 14:11:45 +0000 (14:11 +0000)]
Untabify, reindent, realign, cleanup

14 years agoUntabify and reindent
franklahm [Mon, 14 Sep 2009 10:04:16 +0000 (10:04 +0000)]
Untabify and reindent

14 years agoremove pointer of type ‘void *’ used in arithmetic warning
didg [Mon, 14 Sep 2009 03:12:11 +0000 (03:12 +0000)]
remove pointer of type ‘void *’ used in arithmetic warning

14 years agoremove 'ISO C90 forbids mixed declarations and code' warning
didg [Mon, 14 Sep 2009 02:56:19 +0000 (02:56 +0000)]
remove 'ISO C90 forbids mixed declarations and code' warning

14 years agoremove 'ISO C90 forbids mixed declarations and code' warning
didg [Mon, 14 Sep 2009 01:24:40 +0000 (01:24 +0000)]
remove 'ISO C90 forbids mixed declarations and code' warning

14 years agoremove obsolete ATACC ifdef
didg [Mon, 14 Sep 2009 00:02:21 +0000 (00:02 +0000)]
remove obsolete ATACC ifdef

14 years agoUntabify and reindent
franklahm [Fri, 11 Sep 2009 13:26:05 +0000 (13:26 +0000)]
Untabify and reindent

14 years agoTime Machine support. Merge from branch-2-0
franklahm [Fri, 11 Sep 2009 09:14:16 +0000 (09:14 +0000)]
Time Machine support. Merge from branch-2-0

14 years agoFix comment for cnid caching enabled by default
franklahm [Fri, 11 Sep 2009 07:46:30 +0000 (07:46 +0000)]
Fix comment for cnid caching enabled by default

14 years agoPrevios merge from 2-0 did still contain a conflict marker
franklahm [Wed, 9 Sep 2009 11:52:26 +0000 (11:52 +0000)]
Previos merge from 2-0 did still contain a conflict marker

14 years agoMakefile.am was using absolute paths which broke make distcheck. Merge from 2-0
franklahm [Wed, 9 Sep 2009 11:50:39 +0000 (11:50 +0000)]
Makefile.am was using absolute paths which broke make distcheck. Merge from 2-0