#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
200142 |
|
05-Dec-2009 |
ed |
Don't let the C library depend on <utmp.h>.
The maximum length of a username has nothing to do with the size of the username in the utmp files. Use MAXLOGNAME, which is defined as 17 (UT_USERSIZE + 1).
|
#
196740 |
|
01-Sep-2009 |
trasz |
Fix regression introduced with NFSv4 ACL support - make acl_to_text(3) and acl_calc_mask(3) return error instead of crashing when acl passed to them is NULL.
Submitted by: markus Reviewed by: rwatson MFC after: 3 days
|
#
194955 |
|
25-Jun-2009 |
trasz |
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@
|
#
117982 |
|
24-Jul-2003 |
rwatson |
Print group name in getfacl output when calculating an effective permission set based on a more restrictive mask.
Submitted by: Glen Gibb <grg@ridley.unimelb.edu.au>
|
#
92986 |
|
22-Mar-2002 |
obrien |
Fix the style of the SCM ID's. I believe have made all of libc .c's as consistent as possible.
|
#
91034 |
|
21-Feb-2002 |
jedgar |
o style(9) and consistency fixes: - if (!var) -> if (var == NULL) - return val; -> return (val);
Reviewed by: rwatson Obtained from: TrustedBSD Project
|
#
89831 |
|
26-Jan-2002 |
jedgar |
o return EINVAL if acl_to_text() have been sent a NULL acl. o update copyright dates.
Reviewed by: rwatson
|
#
75928 |
|
24-Apr-2001 |
jedgar |
o Separate acl_t into internal and external representations as required by POSIX.1e. This maintains the current 'struct acl' in the kernel while providing the generic external acl_t interface required to complete the ACL editing library. o Add the acl_get_entry() function. o Convert the existing ACL utilities, getfacl and setfacl, to fully make use of the ACL editing library.
Obtained from: TrustedBSD Project
|
#
75185 |
|
04-Apr-2001 |
tmm |
Prepare for the inclusion of libposix1e into libc: retire the old Makefile, add Makefile.inc needed for libc build; add #include "namespace.h"/#include "un-namespace.h" pairs around the includes of sys/acl.h and sys/capability.h, and an additional underscore in front of the functions that will be overridden in libc_r.
Approved by: rwatson Obtained from: TrustedBSD Project
|
#
74191 |
|
13-Mar-2001 |
rwatson |
o Update copyright dates. o Rename internal library functions so that they are prefixed with _posix1e or _POSIX1E, removing them from the application namespace (and potential conflict with other ACL functions elsewhere in the system).
Obtained from: TrustedBSD Project
|
#
71142 |
|
17-Jan-2001 |
rwatson |
o When returning NULL, return (NULL) instead of return (0).
Submitted by: jedgar Obtained from: TrustedBSD Project
|
#
70841 |
|
09-Jan-2001 |
rwatson |
o acl_from_text.c: - errno is already set to ENOMEM (as appropriate) when asprintf(), strdup(), or acl_init() fails o acl_to_text.c: - the return value of the initial strdup() is not checked - errno is already set to ENOMEM (as appropriate) when asprintf and acl_init() fails - let the the default: case use 'goto error_label' for consistency
Submitted by: jedgar
|
#
56625 |
|
26-Jan-2000 |
rwatson |
Minor fixes to library interface to improve POSIX.1e compliance. This adds _np to a couple of function prototypes that provided more broad/useful interfaces than POSIX.1e interfaces included.
Also, move from using a heuristic to identify POSIX.1e-semantic ACLs to using different ACL types for non-POSIX.1e ACLs. This should clean up the existing fuzzy logic that determined when acl_sort() should be applied before kernel submission.
|
#
56055 |
|
15-Jan-2000 |
rwatson |
libposix1e provides userland library calls for the POSIX.1e security interface. This commit introduces the library, as well as a modest subset of the ACL calls, with some modifications to support multiple ACL semantics.
Reviewed by: eivind
|