summaryrefslogtreecommitdiffstats
path: root/bin/cp/extern.h
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2005-09-05 04:36:08 +0000
committercsjp <csjp@FreeBSD.org>2005-09-05 04:36:08 +0000
commit549c6812a94339302b34e899ce15d452ed69ef23 (patch)
tree4d654ae429b6264f02e5490e9c9b223e74cd7b60 /bin/cp/extern.h
parent57d500e0a77c3bb556a8303725a9195b630c5771 (diff)
downloadFreeBSD-src-549c6812a94339302b34e899ce15d452ed69ef23.zip
FreeBSD-src-549c6812a94339302b34e899ce15d452ed69ef23.tar.gz
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
Diffstat (limited to 'bin/cp/extern.h')
-rw-r--r--bin/cp/extern.h2
1 files changed, 2 insertions, 0 deletions
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
OpenPOWER on IntegriCloud