Re: fd-passing: convert internalized format to a struct

2017-01-23 Thread Martin Pieuchot
On 23/01/17(Mon) 16:05, Theo de Raadt wrote: > File descriptor passing internalizes process fd's to an array of > struct file *. This results in tricky pointer management. > > How about passing it as an array of structs instead. Only one field > inside for now, struct file *. However soon I'll

fd-passing: convert internalized format to a struct

2017-01-23 Thread Theo de Raadt
File descriptor passing internalizes process fd's to an array of struct file *. This results in tricky pointer management. How about passing it as an array of structs instead. Only one field inside for now, struct file *. However soon I'll need to pass additional fields along with the file, and