CVSROOT: /cvs Module name: src Changes by: sema...@cvs.openbsd.org 2016/07/02 22:36:08
Modified files: lib/libc/sys : pledge.2 sys/kern : kern_pledge.c vfs_syscalls.c sys/sys : pledge.h Log message: introduces new promise "chown" to allow changing owner/group with *chown(2) family it splits PLEDGE_FATTR in two ("fattr" stills grant the 2 flags, so no functional changes): - PLEDGE_CHOWN : to be able to call *chown(2) syscalls - PLEDGE_FATTR : the rest it introduces "chown" which grant: - PLEDGE_CHOWN : be able to call *chown(2) - PLEDGE_CHOWNUID : be able to modifying owner/group ok deraadt@ tedu@