Re: pledge in /bin/mv

2016-04-09 Thread lists
Sat, 9 Apr 2016 21:30:39 +0200 Theo Buehler > On Sat, Apr 09, 2016 at 03:45:58PM +, Héctor Luis Gimbatti wrote: > > Is ok? > > no, the ?chmod and ?chown calls would require "fattr" as well, but since > pledge restricts these calls substantially, pledging mv is currently

Re: pledge in /bin/mv

2016-04-09 Thread Theo Buehler
On Sat, Apr 09, 2016 at 03:45:58PM +, Héctor Luis Gimbatti wrote: > Is ok? no, the ?chmod and ?chown calls would require "fattr" as well, but since pledge restricts these calls substantially, pledging mv is currently impossible. try moving a file between two different partitions with your

pledge in /bin/mv

2016-04-09 Thread Héctor Luis Gimbatti
Is ok? Index: mv.c === RCS file: /cvs/src/bin/mv/mv.c,v retrieving revision 1.43 diff -u -p -r1.43 mv.c --- mv.c17 Nov 2015 18:34:00 - 1.43 +++ mv.c9 Apr 2016 15:44:59 - @@ -72,6 +72,9 @@ main(int argc,