summaryrefslogtreecommitdiff
path: root/lib/libposix1e
Commit message (Collapse)AuthorAgeFilesLines
* Remove the libposix1e, since it has been repo copied to libc/posix1e andThomas Moestl2001-04-0465-7110/+0
| | | | | | | | | | integrated into libc. Approved by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75191
* Correct function name: acl_clear_perm -> acl_clear_permsChris D. Faulhaber2001-03-291-2/+2
| | | | Notes: svn path=/head/; revision=74973
* o De-uglify IMPLEMENTATION NOTES section by removing unnecessary use ofRobert Watson2001-03-281-2/+1
| | | | | | | .Fx Notes: svn path=/head/; revision=74888
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* o Update copyright dateRobert Watson2001-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 Notes: svn path=/head/; revision=74832
* mdoc(7) police: fix markup.Ruslan Ermilov2001-03-232-26/+6
| | | | Notes: svn path=/head/; revision=74693
* Correct the acl_set_permset and acl_set_tag_type man pagesChris D. Faulhaber2001-03-232-33/+30
| | | | | | | | | which somehow got mixed up with the acl_get_* man pages. Submitted by: ru Notes: svn path=/head/; revision=74686
* mdoc(7) police: fix markup.Ruslan Ermilov2001-03-238-151/+72
| | | | Notes: svn path=/head/; revision=74684
* mdoc(7) police: fix markup, function prototype, and RETURN VALUES text.Ruslan Ermilov2001-03-231-29/+41
| | | | Notes: svn path=/head/; revision=74683
* Add the following ACL editing functions:Chris D. Faulhaber2001-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 Notes: svn path=/head/; revision=74667
* mdoc(7) police:Ruslan Ermilov2001-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. Notes: svn path=/head/; revision=74451
* Add the following POSIX 1003.1e functions and man pages:Chris D. Faulhaber2001-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 Notes: svn path=/head/; revision=74432
* o Update copyright dates.Robert Watson2001-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 Notes: svn path=/head/; revision=74191
* Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | | | Seperate does not exist in the english language. Submitted to look at by: kris Notes: svn path=/head/; revision=72089
* Fixed C error(s) in synopsis.Bruce Evans2001-02-063-2/+3
| | | | Notes: svn path=/head/; revision=72064
* o When returning NULL, return (NULL) instead of return (0).Robert Watson2001-01-174-12/+12
| | | | | | | | Submitted by: jedgar Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=71142
* o acl_from_text.c:Robert Watson2001-01-092-24/+10
| | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=70841
* o bzero() the ACL structure only if malloc() returns non-NULL.Robert Watson2001-01-091-1/+2
| | | | | | | Submitted by: jedgar Notes: svn path=/head/; revision=70840
* o Correct spelling error from patch in previous commit.Robert Watson2001-01-091-1/+1
| | | | Notes: svn path=/head/; revision=70839
* o Add missing initialization of errno from error returns ofRobert Watson2001-01-093-0/+3
| | | | | | | | | cap_get_fd(), cap_get_file() and cap_get_proc(). Submitted by: jedgar Notes: svn path=/head/; revision=70838
* o Make acl_from_text() support uid's and gid's as well as usernamesRobert Watson2001-01-081-6/+18
| | | | | | | | | | and groupnames, by adding appropriate support to acl_name_to_id() in acl_support.c Submitted by: green Notes: svn path=/head/; revision=70781
* Correct check of getgrnam outputChris D. Faulhaber2001-01-071-1/+1
| | | | | | | Approved by: rwatson Notes: svn path=/head/; revision=70768
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-2913-48/+47
| | | | Notes: svn path=/head/; revision=70481
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-1422-22/+22
| | | | Notes: svn path=/head/; revision=70015
* o Introduce a pile more documentation about capabilities, includingRobert Watson2000-12-111-6/+213
| | | | | | | | | | | identification and descriptions of most capabilities, current inheritence rules, etc. More to follow. Reviewed by: sheldonh Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=69859
* mdoc(7) police: Er macro usage cleanup.Ruslan Ermilov2000-11-222-2/+2
| | | | Notes: svn path=/head/; revision=69051
* Use Fx macro wherever possible.Ruslan Ermilov2000-11-1411-17/+39
| | | | Notes: svn path=/head/; revision=68716
* o Introduce cap_from_text() and cap_to_text() implementations.Robert Watson2000-10-132-1/+573
| | | | | | | | | Reviewed by: green Obtained from: TrustedBSD Project Security audited by: imp, green Notes: svn path=/head/; revision=67088
* o Simplify capability types away from an array of ints to a singleRobert Watson2000-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 Notes: svn path=/head/; revision=67086
* o Update BUGS entry to indicate in a more precise manner the implementationRobert Watson2000-10-129-23/+15
| | | | | | | | | | status of capabilities (library is complete, kernel work is maintained outside the tree). Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=67035
* o Introduce a MAINTAINER entry for libposix1e, since it is activelyRobert Watson2000-10-021-0/+1
| | | | | | | developed and maintained. Notes: svn path=/head/; revision=66566
* o Minor whitespace, comment cleanupsRobert Watson2000-09-221-27/+14
| | | | | | | | | | o Removal of unneeded enum o Removal of commented out debugging printf()'s. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=66259
* o Whitespace reduction appled to FreeBSD CVS IDRobert Watson2000-09-191-1/+1
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=66079
* o General warning fixing commitRobert Watson2000-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 Notes: svn path=/head/; revision=66078
* o Add cap_from_text(3) and cap_to_text(3) man pages.Robert Watson2000-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 Notes: svn path=/head/; revision=66077
* o EACCES is not a possible error for acl_from_text(), so fixRobert Watson2000-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 Notes: svn path=/head/; revision=66076
* o cap_set_flag() was not correctly clearing capabilities when valueRobert Watson2000-09-191-2/+5
| | | | | | | | | was CAP_CLEAR. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=66049
* Fix typo, teh -> the.Jeroen Ruigrok van der Werven2000-07-141-1/+1
| | | | Notes: svn path=/head/; revision=63139
* o Enable building of libposix1e capability state utility functions andRobert Watson2000-07-051-8/+12
| | | | | | | | | capability-related syscall wrappers. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=62611
* o Introduce cap_{get,set}_{file,fd}() syscall wrappers, associated withRobert Watson2000-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 Notes: svn path=/head/; revision=62610
* o When calling the syscall, use &cap instead of cap. Apparently thisRobert Watson2000-07-051-1/+1
| | | | | | | | | | error was introduced during the merge; fixing it corrects a (correct) warning about types. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=62609
* o Comment out <sys/audit.h> and <sys/mac.h> since they are not yetRobert Watson2000-07-051-2/+2
| | | | | | | | | committed Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=62608
* - Replace ``.Va (cap_t)NULL'' with ``.Dv NULL''Chris Costello2000-06-091-3/+3
| | | | | | | | | - Fix a typo: ``constrains'' -> ``constraints'' Reviewed by: rwatson Notes: svn path=/head/; revision=61436
* - ReplaceChris Costello2000-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 Notes: svn path=/head/; revision=61435
* o Introduce libposix1e capability support routines, which provide aRobert Watson2000-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 Notes: svn path=/head/; revision=61264
* o Fix incorrect descriptions of cap_get_flag() and cap_set_flag() inRobert Watson2000-06-041-12/+18
| | | | | | | | | capabilities summary manpage, cap(3). Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=61263
* o Build and install POSIX.1e capabilities man pagesRobert Watson2000-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 Notes: svn path=/head/; revision=61259
* o Add posix1e(3) references to acl.3 and cap.3Robert Watson2000-06-042-2/+4
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=61258
* o Add mention of capabilities documentation + APIsRobert Watson2000-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 Notes: svn path=/head/; revision=61257
* o Introduce man pages for POSIX.1e capability APIRobert Watson2000-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 Notes: svn path=/head/; revision=61256