Re: Pledge: quota syscall

2016-04-06 Thread Ted Unangst
Héctor Luis Gimbatti wrote:
> Greetings,
> Ive found that the call at line 536 of quota.c (current) causes abort when
> pledge is required:
> 
> if(quotactl(fs->fs_file, qcmd, id, (char *)>dqblk) != 0)
> 
> Is it necessary to include quotactl (SYS_quotactl) in pledge in order to
> support basecode such as edquota, quota, etc?

I think it would be better to leave pledge out of these utilities for now.



Pledge: quota syscall

2016-04-04 Thread Héctor Luis Gimbatti
Greetings,
Ive found that the call at line 536 of quota.c (current) causes abort when
pledge is required:

if(quotactl(fs->fs_file, qcmd, id, (char *)>dqblk) != 0)

Is it necessary to include quotactl (SYS_quotactl) in pledge in order to
support basecode such as edquota, quota, etc?

Thanks

--- HLG