summaryrefslogtreecommitdiff
path: root/lib/libc/posix1e
Commit message (Collapse)AuthorAgeFilesLines
* Check if string is not NULL, not *string, before setting *string.Brian Feldman2002-02-271-2/+2
| | | | Notes: svn path=/head/; revision=91428
* o style(9) and consistency fix:Chris D. Faulhaber2002-02-211-2/+2
| | | | | | | | | | | - if (!var) -> if (var == NULL) o spelling fix (althouh -> although) Reviewed by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=91035
* o style(9) and consistency fixes:Chris D. Faulhaber2002-02-215-44/+41
| | | | | | | | | | | - if (!var) -> if (var == NULL) - return val; -> return (val); Reviewed by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=91034
* Add more argument checkingChris D. Faulhaber2002-02-212-0/+17
| | | | | | | | Reviewed by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=91033
* static'ize and declare functionsChris D. Faulhaber2002-02-211-1/+5
| | | | | | | | Reviewed by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=91032
* o style and consistency fixes:Chris D. Faulhaber2002-02-176-40/+40
| | | | | | | | | - if (!var) -> if (var == NULL) - return val; -> return (val); o update copyright Notes: svn path=/head/; revision=90781
* Correct function's description.Chris D. Faulhaber2002-01-291-1/+1
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=89953
* o return EINVAL if acl_to_text() have been sent a NULL acl. ↵Chris D. Faulhaber2002-01-261-1/+6
| | | | | | | | | o update copyright dates. Reviewed by: rwatson Notes: svn path=/head/; revision=89831
* Correct phrase 'get an ACL' to 'set an ACL'.Chris D. Faulhaber2002-01-071-1/+1
| | | | | | | | PR: 33660 Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com> Notes: svn path=/head/; revision=89028
* o Change the layout of the tagged lists to be like those in acl(3).Chris Costello2001-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 Notes: svn path=/head/; revision=88430
* o Reflect repo-copy of extattr.[c3] from libutil to libc, movingRobert Watson2001-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 Notes: svn path=/head/; revision=86452
* Fixed missing `const' in synopsis.Bruce Evans2001-10-031-1/+1
| | | | Notes: svn path=/head/; revision=84423
* Fixed return type in synopsis.Bruce Evans2001-10-031-1/+1
| | | | Notes: svn path=/head/; revision=84422
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-0138-79/+79
| | | | Notes: svn path=/head/; revision=84306
* Add __FBSDID()s to libutilMatthew Dillon2001-09-301-2/+4
| | | | Notes: svn path=/head/; revision=84225
* mdoc(7) police: removed commas from the standard (split) AUTHORS block.Ruslan Ermilov2001-09-111-3/+3
| | | | Notes: svn path=/head/; revision=83327
* mdoc(7) police: markup and minor content fixes.Ruslan Ermilov2001-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 Notes: svn path=/head/; revision=83079
* Add Thomas Moestl and Chris Faulhaber to the author list for POSIX.1eRobert Watson2001-09-051-0/+2
| | | | | | | | | support. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=83050
* o Sync up prototypes for cap_size() and cap_copy_ext() withRobert Watson2001-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 Notes: svn path=/head/; revision=82828
* o Attach cap_cmp.c and cap_copy.c to the build.Robert Watson2001-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 Notes: svn path=/head/; revision=82707
* Use ``.Rv -std'' wherever possible.Ruslan Ermilov2001-08-313-12/+3
| | | | | | | Submitted by: yar Notes: svn path=/head/; revision=82642
* o Use .Fx to refer to FreeBSDRobert Watson2001-08-311-1/+2
| | | | | | | | Submitted by: tmm Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=82617
* o Remove definition of CAP_MAX_BUF_LEN since it is defined inRobert Watson2001-08-311-1/+4
| | | | | | | | | | sys/capability.h now. Submitted by: tmm Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=82616
* Introduce implementations of POSIX.1e non-portable form capabilityRobert Watson2001-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 Notes: svn path=/head/; revision=82614
* o src/sys/capability.h provides a number of support macros that are notRobert Watson2001-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 Notes: svn path=/head/; revision=82511
* o s/violate/override/ Capabilities are part of the system policy, notRobert Watson2001-08-251-1/+1
| | | | | | | | | | an exception to it. Submitted by: tmm Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=82321
* Handle snprintf() returning -1Brian Somers2001-08-201-2/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81969
* Use the ".Rv" mdoc(7) macro where appropriate.Yaroslav Tykhiy2001-08-142-10/+4
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=81629
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.Yaroslav Tykhiy2001-08-094-16/+4
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=81352
* Remove whitespace at EOL.Dima Dorfman2001-07-1518-26/+26
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-1022-22/+22
| | | | Notes: svn path=/head/; revision=79531
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-064-6/+6
| | | | Notes: svn path=/head/; revision=79366
* Add RETURN VALUES and ERRORS sections.Dima Dorfman2001-06-251-2/+11
| | | | Notes: svn path=/head/; revision=78748
* Add a manual page for extattr_string_to_namespace andDima Dorfman2001-06-241-0/+91
| | | | | | | | | extattr_namespace_to_string. Reviewed by: rwatson Notes: svn path=/head/; revision=78738
* Remove duplicate words.Dima Dorfman2001-06-241-1/+1
| | | | Notes: svn path=/head/; revision=78686
* Fix cross-references:Maxim Sobolev2001-06-101-1/+1
| | | | | | | | | | | xntpd.8 --> ntpd.8 acl_delete_perms.3 --> acl_delete_perm.3 getname.2 --> getsockname.2 MFC after: 1 week Notes: svn path=/head/; revision=77973
* mdoc(7) police: fix markup.Ruslan Ermilov2001-05-161-4/+5
| | | | Notes: svn path=/head/; revision=76673
* Correct prototype (entry_p -> *entry_p)Chris D. Faulhaber2001-05-071-1/+1
| | | | | | | Submitted by: Alex Zepeda <jazepeda@pacbell.net> Notes: svn path=/head/; revision=76346
* Document acl_get_entry(3)Chris D. Faulhaber2001-04-261-0/+4
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=76055
* o Separate acl_t into internal and external representations asChris D. Faulhaber2001-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 Notes: svn path=/head/; revision=75928
* Remove bogus assignments of libc syscall stub return values to errno;Thomas Moestl2001-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 Notes: svn path=/head/; revision=75924
* mdoc(7) police: normalize .Nd.Ruslan Ermilov2001-04-1811-11/+11
| | | | Notes: svn path=/head/; revision=75670
* mdoc(7) police: use .Fx where appropriate.Ruslan Ermilov2001-04-1811-11/+23
| | | | Notes: svn path=/head/; revision=75660
* mdoc(7) police: fix markup.Ruslan Ermilov2001-04-161-5/+5
| | | | Notes: svn path=/head/; revision=75543
* Correct a bogus cast in acl_get_qualifier() causing invalidChris D. Faulhaber2001-04-151-1/+1
| | | | | | | | | ID's to be stored in the ACL. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75526
* Add acl_get_perm_np(3), a non-portable function to check if aChris D. Faulhaber2001-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 Notes: svn path=/head/; revision=75492
* Add the remaining POSIX.1e ACL definitions:Chris D. Faulhaber2001-04-131-3/+0
| | | | | | | | | | ACL_UNDEFINED_TAG, ACL_UNDEFINED_ID, ACL_FIRST_ENTRY, ACL_NEXT_ENTRY Reviewed by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75490
* Revamp acl_create_entry() so it actually works.Chris D. Faulhaber2001-04-111-18/+1
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75434
* Correct the following defines to match the POSIX.1e spec:Chris D. Faulhaber2001-04-111-6/+6
| | | | | | | | | | | ACL_PERM_EXEC -> ACL_EXECUTE ACL_PERM_READ -> ACL_READ ACL_PERM_WRITE -> ACL_WRITE Obtained from: TrustedBSD Notes: svn path=/head/; revision=75404