summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e
Commit message (Collapse)AuthorAgeFilesLines
...
* Place mac_prepare() with the other mac_prepare*() functions.chris2002-10-241-10/+10
|
* mac_free() no longer accepts a void * parameter; only mac_t's are supposedchris2002-10-241-9/+20
| | | | | | | | to be passed. Point this out in a warning notice, which will eventually go away, sometime between now and -RELEASE. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove superfluous empty "FILES" section.chris2002-10-231-1/+0
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove hard sentence breaks.chris2002-10-231-11/+19
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Reflect MAC kernel/user API changes into the libc MAC implementation.rwatson2002-10-227-247/+398
| | | | | | | | | | | | This removes a lot of complexity, since we basically just reserve space on a retrieval of a label, and pass around strings. Two new elements: (1) consumers of the API must now declare what label elements they are interested in retrieving, or (2) rely on the default provided in a new configuration file, mac.conf. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* .Xr mac.3 and posix1e.3 to mac.9. Point at sys/mac.h in posix1e.3.rwatson2002-10-222-3/+5
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Unhook the per-policy parsing/printing MAC modules in libc to preparerwatson2002-10-217-815/+5
| | | | | | | | | to bring in the new MAC label management API. With the new API revision, we have only policy-agnostic code in libc and the base kernel. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Update TE policy and MAC text conversion routines to support partialrwatson2002-08-092-10/+71
| | | | | | | | | | label updates. Biba and MLS already supported this. This permits the userland library to submit relative updates on MAC labels, rather than submitting an entire label to replace the current label. This also requires changes to the MAC modules, which are forthcoming. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* X-ref mac.3.rwatson2002-08-091-0/+1
|
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-0218-2/+1878
| | | | | | | | | | | | | | kernel access control. Extensions to libc to provide basic MAC label manipulation facilities for userland. These interface will be replaced in the next month or two with more flexible interfaces, but provide sufficient support to allow use of the Biba and MLS policies for user applications. libc_r wrappers to follow. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* No POSIX.1e capabilities in the main tree yet.rwatson2002-06-1329-2995/+0
|
* Correct a bunch of typos. Translators can ignore this commit.schweikh2002-06-021-8/+8
| | | | MFC after: 3 weeks
* Fix the style of the SCM ID's.obrien2002-03-2231-68/+93
| | | | I believe have made all of libc .c's as consistent as possible.
* Check if string is not NULL, not *string, before setting *string.green2002-02-271-2/+2
|
* o style(9) and consistency fix:jedgar2002-02-211-2/+2
| | | | | | | | - if (!var) -> if (var == NULL) o spelling fix (althouh -> although) Reviewed by: rwatson Obtained from: TrustedBSD Project
* o style(9) and consistency fixes:jedgar2002-02-215-44/+41
| | | | | | | | - if (!var) -> if (var == NULL) - return val; -> return (val); Reviewed by: rwatson Obtained from: TrustedBSD Project
* Add more argument checkingjedgar2002-02-212-0/+17
| | | | | Reviewed by: rwatson Obtained from: TrustedBSD Project
* static'ize and declare functionsjedgar2002-02-211-1/+5
| | | | | Reviewed by: rwatson Obtained from: TrustedBSD Project
* o style and consistency fixes:jedgar2002-02-176-40/+40
| | | | | | - if (!var) -> if (var == NULL) - return val; -> return (val); o update copyright
* Correct function's description.jedgar2002-01-291-1/+1
| | | | Obtained from: TrustedBSD Project
* o return EINVAL if acl_to_text() have been sent a NULL acl. ↵jedgar2002-01-261-1/+6
| | | | | | o update copyright dates. Reviewed by: rwatson
* Correct phrase 'get an ACL' to 'set an ACL'.jedgar2002-01-071-1/+1
| | | | | PR: 33660 Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com>
* o Change the layout of the tagged lists to be like those in acl(3).chris2001-12-231-3/+12
| | | | | | | | o Document the following capabilities: CAP_NET_ADMIN, CAP_SYS_RAWIO, CAP_SYS_ADMIN, and CAP_SYS_TTY_CONFIG. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* o Reflect repo-copy of extattr.[c3] from libutil to libc, movingrwatson2001-11-161-2/+6
| | | | | | | | extattr namespace routines to the libc/posix1e directory. While the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't strictly ever approved, so I think that's OK. Obtained from: TrustedBSD Project
* Fixed missing `const' in synopsis.bde2001-10-031-1/+1
|
* Fixed return type in synopsis.bde2001-10-031-1/+1
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-0138-79/+79
|
* Add __FBSDID()s to libutildillon2001-09-301-2/+4
|
* mdoc(7) police: removed commas from the standard (split) AUTHORS block.ru2001-09-111-3/+3
|
* mdoc(7) police: markup and minor content fixes.ru2001-09-052-73/+61
| | | | | | | | | | | | o Removed whitespace at EOL o Removed hard sentence breaks o Added cap_size() to the NAME section o Normalized .Nd descriptions o Fixed the abuses of .Nm and .Va o Fixed some DESCRIPTION texts o Fixed the RETURN VALUES and ERRORS texts to look more traditional Reviewed by: tmm
* Add Thomas Moestl and Chris Faulhaber to the author list for POSIX.1erwatson2001-09-051-0/+2
| | | | | | support. Obtained from: TrustedBSD Project
* o Sync up prototypes for cap_size() and cap_copy_ext() withrwatson2001-09-021-2/+2
| | | | | | | | sys/capability.h--this compiled fine on i386 where (int) and (ssize_t) are the same, but broke on Alpha where they differ. Submitted by: Mike Barcroft <mike@FreeBSD.org> Obtained from: TrustedBSD Project
* o Attach cap_cmp.c and cap_copy.c to the build.rwatson2001-09-011-1/+6
| | | | | | | | o Attach cap_copy_ext.3 and cap_copy_int.3 to the install, and link cap_size.3 to cap_copy_ext.3. Submitted by: tmm Obtained from: TrustedBSD Project
* Use ``.Rv -std'' wherever possible.ru2001-08-313-12/+3
| | | | Submitted by: yar
* o Use .Fx to refer to FreeBSDrwatson2001-08-311-1/+2
| | | | | Submitted by: tmm Obtained from: TrustedBSD Project
* 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
OpenPOWER on IntegriCloud