summaryrefslogtreecommitdiffstats
path: root/lib/libposix1e
Commit message (Collapse)AuthorAgeFilesLines
* o Introduce cap_from_text() and cap_to_text() implementations.rwatson2000-10-132-1/+573
| | | | | | Reviewed by: green Obtained from: TrustedBSD Project Security audited by: imp, green
* o Simplify capability types away from an array of ints to a singlerwatson2000-10-132-8/+10
| | | | | | | | | | | | | | | | | | u_int64_t flag field, bounding the number of capabilities at 64, but substantially cleaning up capability logic (there are currently 43 defined capabilities). o Heads up to anyone actually using capabilities: the constant assignments for various capabilities have been redone, so any persistent binary capability stores (i.e., '$posix1e.cap' EA backing files) must be recreated. If you have one of these, you'll know about it, so if you have no idea what this means, don't worry. o Update libposix1e to reflect this new definition, fixing the exposed functions that directly manipulate the flags fields. Obtained from: TrustedBSD Project
* o Update BUGS entry to indicate in a more precise manner the implementationrwatson2000-10-129-23/+15
| | | | | | | status of capabilities (library is complete, kernel work is maintained outside the tree). Obtained from: TrustedBSD Project
* o Introduce a MAINTAINER entry for libposix1e, since it is activelyrwatson2000-10-021-0/+1
| | | | developed and maintained.
* o Minor whitespace, comment cleanupsrwatson2000-09-221-27/+14
| | | | | | | o Removal of unneeded enum o Removal of commented out debugging printf()'s. Obtained from: TrustedBSD Project
* o Whitespace reduction appled to FreeBSD CVS IDrwatson2000-09-191-1/+1
| | | | Obtained from: TrustedBSD Project
* o General warning fixing commitrwatson2000-09-197-9/+6
| | | | | | | | - Include <stdlib.h> and <string.h> as needed for prototypes - Remove unneeded "error" variables o Make cap_init() use cap_clear() instead of bzero() Obtained from: TrustedBSD Project
* o Add cap_from_text(3) and cap_to_text(3) man pages.rwatson2000-09-193-0/+232
| | | | | | | o Implementations will remain in the seperately distributed capability patch until the cap_t type changes are synchronized. Obtained from: TrustedBSD Project
* o EACCES is not a possible error for acl_from_text(), so fixrwatson2000-09-1910-14/+11
| | | | | | | | acl_from_text.3 o Minor whitespace cleanups relative to the TrustedBSD tree to reduce content-free differences. Obtained from: TrustedBSD Project
* o cap_set_flag() was not correctly clearing capabilities when valuerwatson2000-09-191-2/+5
| | | | | | was CAP_CLEAR. Obtained from: TrustedBSD Project
* Fix typo, teh -> the.asmodai2000-07-141-1/+1
|
* o Enable building of libposix1e capability state utility functions andrwatson2000-07-051-8/+12
| | | | | | capability-related syscall wrappers. Obtained from: TrustedBSD Project
* o Introduce cap_{get,set}_{file,fd}() syscall wrappers, associated withrwatson2000-07-054-0/+196
| | | | | | | soon to be committed syscall stubs. These calls will be used to get and set capability state associated with executables. Obtained from: TrustedBSD Project
* o When calling the syscall, use &cap instead of cap. Apparently thisrwatson2000-07-051-1/+1
| | | | | | | error was introduced during the merge; fixing it corrects a (correct) warning about types. Obtained from: TrustedBSD Project
* o Comment out <sys/audit.h> and <sys/mac.h> since they are not yetrwatson2000-07-051-2/+2
| | | | | | committed Obtained from: TrustedBSD Project
* - Replace ``.Va (cap_t)NULL'' with ``.Dv NULL''chris2000-06-091-3/+3
| | | | | | - Fix a typo: ``constrains'' -> ``constraints'' Reviewed by: rwatson
* - Replacechris2000-06-091-27/+13
| | | | | | | | | | | | .Pp .Fn func .Pp Description ... with a list (Bl ... Li ... El). - Remove a superfluous ``.Sh ENVIRONMENT'' and replace it with a ``.Pp'' within the IMPLEMENTATION DETAILS section. Reviewed by: rwatson
* o Introduce libposix1e capability support routines, which provide arwatson2000-06-048-0/+405
| | | | | | | | standardized interface to the capability support in TrustedBSD. o Not currently enabled in Makefile, as this code depends on syscalls and include files that will be committed at a later date. Obtained from: TrustedBSD Project
* o Fix incorrect descriptions of cap_get_flag() and cap_set_flag() inrwatson2000-06-041-12/+18
| | | | | | capabilities summary manpage, cap(3). Obtained from: TrustedBSD Project
* o Build and install POSIX.1e capabilities man pagesrwatson2000-06-041-1/+21
| | | | | | | | o Add shared library version 2 to libposix1e given API changes, et al o Commented out cap_*.c as that is not currently being compiled into the library (pending syscalls being committed) Obtained from: TrustedBSD Project
* o Add posix1e(3) references to acl.3 and cap.3rwatson2000-06-042-2/+4
| | | | Obtained from: TrustedBSD Project
* o Add mention of capabilities documentation + APIsrwatson2000-06-041-7/+13
| | | | | | | | | o Switch reference to www.trustedbsd.org instead of POSIX.1e implementation page o Add cross references to capabilities man pages o Remove extended attribute not implemented "BUGS" entry Obtained from: TrustedBSD Project
* o Introduce man pages for POSIX.1e capability APIrwatson2000-06-049-0/+948
| | | | | | | | | - cap.3 describing library interface - cap_*.3 describing specific API calls APIs to follow relatively soon, code to follow later. Obtained from: TrustedBSD Project
* o Remove extra cross reference from acl.3 to acl.3rwatson2000-06-0410-31/+10
| | | | | | | o Remove "BUGS" entries indicating that there's nowhere to store ACLs as we now have extended attributes. Obtained from: TrustedBSD Project
* Introduce .Lb macro to libposix1e manpagesphantom2000-04-2211-15/+37
| | | | | Sort some .Nm values Decapitalize .Nd values
* Fixed wrong function return types in synopsis.bde2000-03-032-4/+4
|
* Fix various typos and mdoc style issues.mpp2000-01-2911-54/+100
| | | | Reviewed by: rwatson
* Introduce ACL man pages en masse for library calls, and general introduction.rwatson2000-01-2813-7/+1262
| | | | | | | Introduce ACL man pages en masse for library calls, and general introduction. Also, fix acl_valid.c non-portable calls to include _np in their names, making them standard-happy as well as consistent with acl.h
* A few more touchups:rwatson2000-01-263-73/+94
| | | | | | | | | - clean up unneeded AFS ID type - Add Coda, NTFS, NWFS ACL types - Add acl_dup() prototype - Remove acl_calc_mask, which belongs in the editing library - Introduce posix1e.3, a man page introducing POSIX.1e library calls (more man pages to follow)
* Minor fixes to library interface to improve POSIX.1e compliance. Thisrwatson2000-01-269-78/+65
| | | | | | | | | | 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.
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-196-14/+14
| | | | | | | | | prettier (?) names, adding some const's around here, et al. This is commit 4 out of 3, updating the userland library to reflect kernel interface changes. Reviewed by: bde
* acl_delete_default_file() changed to acl_delete_def_file()rwatson2000-01-171-1/+1
|
* Oops, didn't commit the Makefile for libposix1e--this should fix buildrwatson2000-01-151-0/+15
| | | | | | problems. Reviewed by: eivind
* libposix1e provides userland library calls for the POSIX.1e securityrwatson2000-01-1511-0/+1468
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
OpenPOWER on IntegriCloud