git: chown(8)/chgrp(1): Sync with FreeBSD

Peter Avalos pavalos at crater.dragonflybsd.org
Thu May 12 12:07:02 PDT 2016


commit 418b861a8c9d5d25c35c07807b99ce35cb0ea926
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Thu May 12 12:00:30 2016 -0700

    chown(8)/chgrp(1): Sync with FreeBSD
    
    - Be consistent with chmod(1) for symlinks.
    - Use basename(3).
    - Use uid_t.
    - Allocate buffers for getgroups(3) dynamically.
    - Add -x option to prevent crossing of mountpoints.
    - Sprinkle some static.
    
    Obtained-from: FreeBSD

Summary of changes:
 usr.sbin/chown/chgrp.1 |  51 ++++++-------
 usr.sbin/chown/chown.8 |  43 +++++------
 usr.sbin/chown/chown.c | 200 +++++++++++++++++++++++++++----------------------
 3 files changed, 152 insertions(+), 142 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/418b861a8c9d5d25c35c07807b99ce35cb0ea926


-- 
DragonFly BSD source repository



More information about the Commits mailing list