Re: socket splicing thread

2014-11-02 Thread David Gwynne
> On 31 Oct 2014, at 22:37, Alexander Bluhm wrote: > > On Fri, Oct 31, 2014 at 02:50:00PM +1000, David Gwynne wrote: >> so without splicing, the payloads from multiple tcp packets (at least all of >> the ones in a single softnet run?) get bundled up into a buffer that >> userland reads and the

[no subject]

2014-11-02 Thread maurice prince
Envoyé depuis Windows Mail

Re: ressl: two way fds extention

2014-11-02 Thread Joel Sing
On Sat, 1 Nov 2014, Jan Klemkow wrote: > On Fri, Oct 31, 2014 at 09:18:26PM -0700, Doug Hogan wrote: > > On Sat, Nov 01, 2014 at 03:07:24AM +0100, Jan Klemkow wrote: > > > Index: tls_client.c > > > === > > > RCS file: /cvs/src/lib/libt

Re: sys unistd includes

2014-11-02 Thread Jonathan Gray
On Sun, Nov 02, 2014 at 01:08:46AM -0500, Ted Unangst wrote: > several kernel files have a dependency on unistd.h but fail to include > it. (indirect include through file.h, which i'd like to eliminate.) > > if you need the file, include it. > > and udf_subr.c at least is one file that doesn't ne

sys unistd includes

2014-11-02 Thread Ted Unangst
several kernel files have a dependency on unistd.h but fail to include it. (indirect include through file.h, which i'd like to eliminate.) if you need the file, include it. and udf_subr.c at least is one file that doesn't need unistd.h for reference, here's the sys/file.h diff, then the big .c d

deobfuscate disk subr gpt

2014-11-02 Thread Ted Unangst
Pull out a few common subexpressions. I think this makes the code easier to read. Some byte swaps are left, when they are only used once. Then use mallocarray for bounds checking. Also observe the following: + if (ghsize < GPTMINHDRSIZE && ghsize > DEV_BSIZE) I'm pretty sure that sh