From 549c6812a94339302b34e899ce15d452ed69ef23 Mon Sep 17 00:00:00 2001 From: csjp Date: Mon, 5 Sep 2005 04:36:08 +0000 Subject: Attempt to complete the userspace integration of POSIX.1e extended ACLs. This includes adding support for ACLs into cp(1) and mv(1) userspace utilities. For mv(1), if _PC_ACL_EXTENDED is in effect for the source AND destination operands, the destination file's ACLs shall reflect the source. For cp(1), if _PC_ACL_EXTENDED is in effect for both source and destination operands, and -p has been specified, the ACLs from the source shall be preserved on the destination. MFC after: 1 month --- bin/cp/extern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/cp/extern.h') diff --git a/bin/cp/extern.h b/bin/cp/extern.h index a6b53c2..25077f8 100644 --- a/bin/cp/extern.h +++ b/bin/cp/extern.h @@ -46,5 +46,7 @@ int copy_file(const FTSENT *, int); int copy_link(const FTSENT *, int); int copy_special(struct stat *, int); int setfile(struct stat *, int); +int preserve_dir_acls(struct stat *, char *, char *); +int preserve_fd_acls(int, int); void usage(void); __END_DECLS -- cgit v1.1