Re: prop_*_internalize and copyin/out for syscall ?

2011-01-18 Thread David Holland
On Mon, Jan 17, 2011 at 04:33:25PM +0100, Manuel Bouyer wrote: so I'm evaluating how to use proplib for the new quotactl(2) I'm working on. er, why? When I was looking at quota stuff in the context of lfs and other fs types, the existing quotactl interface seemed fine -- it just needs to have a

Re: prop_*_internalize and copyin/out for syscall ?

2011-01-18 Thread Adam Hamsik
On Jan,Monday 17 2011, at 6:00 PM, Manuel Bouyer wrote: On Mon, Jan 17, 2011 at 04:33:25PM +0100, Manuel Bouyer wrote: [sorry for the cross-post, but I can't decide which list is more appropriate than the other :) ] Hello, so I'm evaluating how to use proplib for the new quotactl(2) I'm

prop_*_internalize and copyin/out for syscall ?

2011-01-17 Thread Manuel Bouyer
[sorry for the cross-post, but I can't decide which list is more appropriate than the other :) ] Hello, so I'm evaluating how to use proplib for the new quotactl(2) I'm working on. I see there is already provision of function to pass property list between kernel and userland using ioctl, but

Re: prop_*_internalize and copyin/out for syscall ?

2011-01-17 Thread John Nemeth
On Jun 9, 11:09am, Manuel Bouyer wrote: } } so I'm evaluating how to use proplib for the new quotactl(2) I'm working on. } I see there is already provision of function to pass property list between } kernel and userland using ioctl, but there is no equivalent for syscalls. } Should there be ?

Re: prop_*_internalize and copyin/out for syscall ?

2011-01-17 Thread Manuel Bouyer
On Mon, Jan 17, 2011 at 08:06:00AM -0800, John Nemeth wrote: On Jun 9, 11:09am, Manuel Bouyer wrote: } } so I'm evaluating how to use proplib for the new quotactl(2) I'm working on. } I see there is already provision of function to pass property list between } kernel and userland using

Re: prop_*_internalize and copyin/out for syscall ?

2011-01-17 Thread Manuel Bouyer
On Mon, Jan 17, 2011 at 04:33:25PM +0100, Manuel Bouyer wrote: [sorry for the cross-post, but I can't decide which list is more appropriate than the other :) ] Hello, so I'm evaluating how to use proplib for the new quotactl(2) I'm working on. I see there is already provision of function to

Re: prop_*_internalize and copyin/out for syscall ?

2011-01-17 Thread Manuel Bouyer
On Mon, Jan 17, 2011 at 08:55:00AM -0800, Matt Thomas wrote: returning a proplib via sysctl has similar problems. I want to use a proplib to retrieve the evcnts ... sysctl is a special case of syscall, isn't it ? -- Manuel Bouyer bou...@antioche.eu.org NetBSD: 26 ans d'experience feront