make ftpd restart beyond 2G

2013-12-27 Thread Peter Strömberg
The only limit was in the command parser. Tested with FIleZilla Client and wget -c ftp: Index: ftpcmd.y === RCS file: /cvs/src/libexec/ftpd/ftpcmd.y,v retrieving revision 1.55 diff -u -p -u -r1.55 ftpcmd.y --- ftpcmd.y27 Nov 2013

PATCH: fix bug in handling genmask

2013-12-27 Thread Kieran Devlin
maybe someone could verify commit this patch a. fix a bug b. get rid of junk in ‘mask_rnhead' c. forbid unprivileged user to insert mask into ‘mask_rnhead' bug is in this line Bcmp((caddr_t *)genmask + 1, (caddr_t *)t-rn_key + 1, ((struct sockaddr *)t-rn_key)-sa_len) to make this

PATCH: fix bug in handling genmask

2013-12-27 Thread Kieran Devlin
re-send this patch, loop in claudio@ maybe someone could verify commit this patch a. fix a bug b. get rid of junk in ‘mask_rnhead' c. forbid unprivileged user to insert mask into ‘mask_rnhead' bug is in this line Bcmp((caddr_t *)genmask + 1, (caddr_t *)t-rn_key + 1, ((struct sockaddr

Re: bus_dmamap_sync semantics

2013-12-27 Thread David Gwynne
Ok On 27/12/2013 5:28 am, Mark Kettenis mark.kette...@xs4all.nl wrote: Our bus_dmamap(9) man page says: On platforms which implement reordered stores, bus_dmamap_sync() will always cause the store buffer to be flushed. In 2003 NetBSD actually changed that to: On platforms which