2000-09-19 19:20:21 +00:00
|
|
|
# $FreeBSD$
|
2000-01-15 23:33:49 +00:00
|
|
|
|
2014-03-04 02:19:39 +00:00
|
|
|
.PATH: ${LIBC_SRCTOP}/posix1e
|
2001-04-04 18:00:52 +00:00
|
|
|
|
2009-05-22 15:56:43 +00:00
|
|
|
CFLAGS+=-D_ACL_PRIVATE
|
|
|
|
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
# Copy kern/subr_acl_nfs4.c to the libc object directory.
|
2017-01-20 03:23:24 +00:00
|
|
|
subr_acl_nfs4.c: ${SRCTOP}/sys/kern/subr_acl_nfs4.c
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
cat ${.ALLSRC} > ${.TARGET}
|
|
|
|
|
|
|
|
SRCS+= acl_branding.c \
|
|
|
|
acl_calc_mask.c \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_copy.c \
|
2001-03-19 03:19:51 +00:00
|
|
|
acl_delete.c \
|
|
|
|
acl_delete_entry.c \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_entry.c \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_flag.c \
|
2000-01-15 23:33:49 +00:00
|
|
|
acl_free.c \
|
|
|
|
acl_from_text.c \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_from_text_nfs4.c \
|
2000-01-15 23:33:49 +00:00
|
|
|
acl_get.c \
|
2010-06-14 02:26:13 +00:00
|
|
|
acl_id_to_name.c \
|
2000-01-15 23:33:49 +00:00
|
|
|
acl_init.c \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_perm.c \
|
2000-01-15 23:33:49 +00:00
|
|
|
acl_set.c \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_strip.c \
|
2000-01-15 23:33:49 +00:00
|
|
|
acl_support.c \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_support_nfs4.c \
|
2000-01-15 23:33:49 +00:00
|
|
|
acl_to_text.c \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_to_text_nfs4.c \
|
2000-06-04 21:25:31 +00:00
|
|
|
acl_valid.c \
|
2002-08-02 21:14:42 +00:00
|
|
|
extattr.c \
|
2002-10-22 14:36:11 +00:00
|
|
|
mac.c \
|
2002-11-06 03:38:47 +00:00
|
|
|
mac_exec.c \
|
2002-08-02 21:14:42 +00:00
|
|
|
mac_get.c \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
mac_set.c \
|
|
|
|
subr_acl_nfs4.c
|
2016-03-15 19:26:32 +00:00
|
|
|
.if ${MK_SYMVER} == yes
|
|
|
|
SRCS+= acl_compat.c
|
|
|
|
.endif
|
2000-06-04 21:25:31 +00:00
|
|
|
|
2014-03-04 02:19:39 +00:00
|
|
|
SYM_MAPS+=${LIBC_SRCTOP}/posix1e/Symbol.map
|
2006-03-13 01:15:01 +00:00
|
|
|
|
2001-04-05 07:47:06 +00:00
|
|
|
MAN+= acl.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_add_flag_np.3 \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_add_perm.3 \
|
2001-03-19 03:19:51 +00:00
|
|
|
acl_calc_mask.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_clear_flags_np.3 \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_clear_perms.3 \
|
|
|
|
acl_copy_entry.3 \
|
2001-04-05 01:36:54 +00:00
|
|
|
acl_create_entry.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_delete.3 \
|
2001-03-19 03:19:51 +00:00
|
|
|
acl_delete_entry.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_delete_flag_np.3 \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_delete_perm.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_dup.3 \
|
|
|
|
acl_free.3 \
|
|
|
|
acl_from_text.3 \
|
|
|
|
acl_get.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_get_brand_np.3 \
|
2001-04-24 22:45:41 +00:00
|
|
|
acl_get_entry.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_get_entry_type_np.3 \
|
|
|
|
acl_get_flagset_np.3 \
|
|
|
|
acl_get_flag_np.3 \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_get_permset.3 \
|
2001-04-13 19:37:04 +00:00
|
|
|
acl_get_perm_np.3 \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_get_qualifier.3 \
|
|
|
|
acl_get_tag_type.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_init.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_is_trivial_np.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_set.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_set_entry_type_np.3 \
|
|
|
|
acl_set_flagset_np.3 \
|
Add the following ACL editing functions:
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry,
acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type,
acl_set_permset, acl_set_qualifier, acl_set_tag_type
This brings us within 4 functions of a full ACL editing library.
Reviewed by: rwatson
2001-03-22 22:31:01 +00:00
|
|
|
acl_set_permset.3 \
|
|
|
|
acl_set_qualifier.3 \
|
|
|
|
acl_set_tag_type.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_strip_np.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_to_text.3 \
|
|
|
|
acl_valid.3 \
|
2001-11-16 05:09:45 +00:00
|
|
|
extattr.3 \
|
2002-08-02 21:14:42 +00:00
|
|
|
mac.3 \
|
2003-04-20 03:18:44 +00:00
|
|
|
mac.conf.5 \
|
2002-08-02 21:14:42 +00:00
|
|
|
mac_free.3 \
|
2006-07-07 14:02:17 +00:00
|
|
|
mac_is_present.3 \
|
2002-08-02 21:14:42 +00:00
|
|
|
mac_get.3 \
|
2003-01-15 00:45:31 +00:00
|
|
|
mac_prepare.3 \
|
2002-08-02 21:14:42 +00:00
|
|
|
mac_set.3 \
|
|
|
|
mac_text.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
posix1e.3
|
|
|
|
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
MLINKS+=acl_create_entry.3 acl_create_entry_np.3\
|
|
|
|
acl_delete.3 acl_delete_def_file.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_delete.3 acl_delete_file_np.3 \
|
|
|
|
acl_delete.3 acl_delete_fd_np.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_delete_entry.3 acl_delete_entry_np.3\
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_get.3 acl_get_file.3 \
|
|
|
|
acl_get.3 acl_get_fd.3 \
|
|
|
|
acl_get.3 acl_get_fd_np.3 \
|
2009-07-14 19:37:53 +00:00
|
|
|
acl_get.3 acl_get_link_np.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_set.3 acl_set_file.3 \
|
|
|
|
acl_set.3 acl_set_fd.3 \
|
|
|
|
acl_set.3 acl_set_fd_np.3 \
|
2009-07-14 19:37:53 +00:00
|
|
|
acl_set.3 acl_set_link_np.3 \
|
Add NFSv4 ACL support to libc.
This adds the following functions to the acl(3) API: acl_add_flag_np,
acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np,
acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np,
acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np,
acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin
does. There are no backward-incompatible changes.
Approved by: rwatson@
2009-06-25 12:46:59 +00:00
|
|
|
acl_to_text.3 acl_to_text_np.3 \
|
2000-01-28 20:07:00 +00:00
|
|
|
acl_valid.3 acl_valid_file_np.3 \
|
2001-09-01 00:00:50 +00:00
|
|
|
acl_valid.3 acl_valid_fd_np.3 \
|
2001-11-16 05:09:45 +00:00
|
|
|
extattr.3 extattr_namespace_to_string.3 \
|
2002-08-02 21:14:42 +00:00
|
|
|
extattr.3 extattr_string_to_namespace.3 \
|
|
|
|
mac_get.3 mac_get_fd.3 \
|
|
|
|
mac_get.3 mac_get_file.3 \
|
2004-06-17 16:08:36 +00:00
|
|
|
mac_get.3 mac_get_link.3 \
|
2009-08-12 10:46:48 +00:00
|
|
|
mac_get.3 mac_get_peer.3 \
|
2003-01-15 00:45:31 +00:00
|
|
|
mac_get.3 mac_get_pid.3 \
|
2002-08-02 21:14:42 +00:00
|
|
|
mac_get.3 mac_get_proc.3 \
|
2003-01-15 00:45:31 +00:00
|
|
|
mac_prepare.3 mac_prepare_file_label.3 \
|
|
|
|
mac_prepare.3 mac_prepare_ifnet_label.3 \
|
|
|
|
mac_prepare.3 mac_prepare_process_label.3 \
|
2009-08-12 10:46:48 +00:00
|
|
|
mac_prepare.3 mac_prepare_type.3 \
|
2002-08-02 21:14:42 +00:00
|
|
|
mac_set.3 mac_set_fd.3 \
|
|
|
|
mac_set.3 mac_set_file.3 \
|
2009-08-12 10:46:48 +00:00
|
|
|
mac_set.3 mac_set_link.3 \
|
2002-08-02 21:14:42 +00:00
|
|
|
mac_set.3 mac_set_proc.3 \
|
|
|
|
mac_text.3 mac_from_text.3 \
|
|
|
|
mac_text.3 mac_to_text.3
|
2010-01-02 20:27:14 +00:00
|
|
|
|
|
|
|
CLEANFILES+= subr_acl_nfs4.c
|