summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e
Commit message (Collapse)AuthorAgeFilesLines
...
* o Remove definition of CAP_MAX_BUF_LEN since it is defined inrwatson2001-08-311-1/+4
| | | | | | | sys/capability.h now. Submitted by: tmm Obtained from: TrustedBSD Project
* Introduce implementations of POSIX.1e non-portable form capabilityrwatson2001-08-314-0/+366
| | | | | | | | | | | | | | support functions: cap_subset_np() - Is cap1 a subset of cap2 cap_equal_np() - Is cap1 equal to cap2 o Introduce implementations of POSIX.1e capability support functions: cap_copy_ext() - Externalize capability cap_copy_int() - Internalize capability cap_size() - Determine size required for cap_copy_ext() Submitted by: tmm Obtained from: TrustedBSD Project
* o src/sys/capability.h provides a number of support macros that are notrwatson2001-08-292-0/+5
| | | | | | | | | | documented by POSIX.1e, and understand the opaque capability structures. Introduce support in the userland POSIX.1e library for a _CAPABILITY_NEEDMACROS define to remove these macros from the normal namespace, but allow the libc functions to use them. Submitted by: tmm Obtained from: TrustedBSD Project
* o s/violate/override/ Capabilities are part of the system policy, notrwatson2001-08-251-1/+1
| | | | | | | an exception to it. Submitted by: tmm Obtained from: TrustedBSD Project
* Handle snprintf() returning -1brian2001-08-201-2/+2
| | | | MFC after: 2 weeks
* Use the ".Rv" mdoc(7) macro where appropriate.yar2001-08-142-10/+4
| | | | Reviewed by: ru
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.yar2001-08-094-16/+4
| | | | Reviewed by: ru
* Remove whitespace at EOL.dd2001-07-1518-26/+26
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-1022-22/+22
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-064-6/+6
|
* Add RETURN VALUES and ERRORS sections.dd2001-06-251-2/+11
|
* Add a manual page for extattr_string_to_namespace anddd2001-06-241-0/+91
| | | | | | extattr_namespace_to_string. Reviewed by: rwatson
* Remove duplicate words.dd2001-06-241-1/+1
|
* Fix cross-references:sobomax2001-06-101-1/+1
| | | | | | | | xntpd.8 --> ntpd.8 acl_delete_perms.3 --> acl_delete_perm.3 getname.2 --> getsockname.2 MFC after: 1 week
* mdoc(7) police: fix markup.ru2001-05-161-4/+5
|
* Correct prototype (entry_p -> *entry_p)jedgar2001-05-071-1/+1
| | | | Submitted by: Alex Zepeda <jazepeda@pacbell.net>
* Document acl_get_entry(3)jedgar2001-04-261-0/+4
| | | | Obtained from: TrustedBSD Project
* o Separate acl_t into internal and external representations asjedgar2001-04-2416-132/+373
| | | | | | | | | | | 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
* Remove bogus assignments of libc syscall stub return values to errno;tmm2001-04-243-3/+0
| | | | | | | the stubs do errno assignments and return -1 in this case, so that errno would end up with this value. Approved by: rwatson
* mdoc(7) police: normalize .Nd.ru2001-04-1811-11/+11
|
* mdoc(7) police: use .Fx where appropriate.ru2001-04-1811-11/+23
|
* mdoc(7) police: fix markup.ru2001-04-161-5/+5
|
* Correct a bogus cast in acl_get_qualifier() causing invalidjedgar2001-04-151-1/+1
| | | | | | ID's to be stored in the ACL. Obtained from: TrustedBSD Project
* Add acl_get_perm_np(3), a non-portable function to check if ajedgar2001-04-133-0/+114
| | | | | | | | permission is in a permission set, required for third-party applications such as Samba. Reviewed by: rwatson Obtained from: TrustedBSD Project
* Add the remaining POSIX.1e ACL definitions:jedgar2001-04-131-3/+0
| | | | | | | ACL_UNDEFINED_TAG, ACL_UNDEFINED_ID, ACL_FIRST_ENTRY, ACL_NEXT_ENTRY Reviewed by: rwatson Obtained from: TrustedBSD Project
* Revamp acl_create_entry() so it actually works.jedgar2001-04-111-18/+1
| | | | Obtained from: TrustedBSD Project
* Correct the following defines to match the POSIX.1e spec:jedgar2001-04-111-6/+6
| | | | | | | | ACL_PERM_EXEC -> ACL_EXECUTE ACL_PERM_READ -> ACL_READ ACL_PERM_WRITE -> ACL_WRITE Obtained from: TrustedBSD
* mdoc(7) police: add missing LIBRARY section.ru2001-04-059-0/+18
|
* Unbreak world.ru2001-04-051-1/+1
| | | | Submitted by: jhay
* Record -lposix1e merge with -lc.ru2001-04-0526-26/+26
|
* mdoc(7) police rev 1.11: convert descriptions and cross-referencesru2001-04-051-64/+32
| | | | for the ACL editing library functions to the plain tagged list.
* - Add descriptions and cross-references for the ACL editing libraryjedgar2001-04-051-15/+107
| | | | | | | | | | functions. - Place the acl_dup() description in alphabetical order. - Move the POSIX.1e descriptions under the ENVIRONMENT section to the STANDARDS section. Reviewed by: rwatson Obtained from: TrustedBSD Project
* Install the acl_create_entry.3 man pagejedgar2001-04-051-0/+1
|
* Prepare for the inclusion of libposix1e into libc: retire the oldtmm2001-04-0429-12/+70
| | | | | | | | | | 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
* Correct function name: acl_clear_perm -> acl_clear_permsjedgar2001-03-291-2/+2
|
* o De-uglify IMPLEMENTATION NOTES section by removing unnecessary use ofrwatson2001-03-281-2/+1
| | | | .Fx
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* o Update copyright daterwatson2001-03-261-46/+31
| | | | | | | | o Revise description in light of commits over last month including: - ACL editing library is now implemented - ACLs are now implemented Obtained from: TrustedBSD Project
* mdoc(7) police: fix markup.ru2001-03-232-26/+6
|
* Correct the acl_set_permset and acl_set_tag_type man pagesjedgar2001-03-232-33/+30
| | | | | | which somehow got mixed up with the acl_get_* man pages. Submitted by: ru
* mdoc(7) police: fix markup.ru2001-03-238-151/+72
|
* mdoc(7) police: fix markup, function prototype, and RETURN VALUES text.ru2001-03-231-29/+41
|
* Add the following ACL editing functions:jedgar2001-03-2218-2/+1467
| | | | | | | | | | 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
* mdoc(7) police:ru2001-03-192-41/+29
| | | | | | | | | - lowercase Nd argument - mark function arguments with Fa - mark defined values with Dv - simply copying POSIX text for RETURN VALUES and ERRORS sections is not always a good idea. POSIX uses the word "shall" indicating the behavior the correct implementation should follow.
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-191-7/+7
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* Add the following POSIX 1003.1e functions and man pages:jedgar2001-03-195-1/+375
| | | | | | | | | o acl_calc_mask(): calculates the ACL mask entry associated with the given ACL. o acl_delete_entry(): remove a specified ACL entry from the given ACL. Approved by: rwatson
* o To support new EA interface with explicit namespaces, introduce tworwatson2001-03-151-0/+75
| | | | | | | | | | | utility functions which convert between string namespace names and numeric constants used by the interface. Right now, two namespaces are supported, EXTATTR_NAMESPACE_SYSTEM ("system") and EXTATTR_NAMESPACE_USER ("user"). These functions are used by various userland EA utilities, rather than hard coding the routines all over the place. Obtained from: TrustedBSD Project
* o Update copyright dates.rwatson2001-03-1310-98/+107
| | | | | | | | 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
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
OpenPOWER on IntegriCloud