summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Typo; fix open() so that it is not a cancellation point when calleddeischen2001-04-183-3/+3
| | | | from libc.
* Reinstall the alternate signal stack after a fork.deischen2001-04-183-3/+33
| | | | | PR: 25110 Tested by: knu
* mdoc(7) police: uppercase document title.ru2001-04-181-1/+1
|
* Correct a typo; prefered -> preferred.kris2001-04-171-1/+1
|
* Add fmtcheck(), a function for checking consistency of format stringkris2001-04-173-2/+355
| | | | | | | | | | | | | | | | | arguments where the format string is obtained from user data, or otherwise difficult to verify statically. Example usage: printf(fmtcheck(user_format, standard_format), arg1, arg2); checks the format string user_format for consistency (same number/order/ type of format operators) with standard_format. If they differ, standard_format is used instead to avoid potential crashes or security violations. Obtained from: NetBSD Reviewed by: -arch
* mdoc(7) police: add missing .El call.ru2001-04-161-0/+1
|
* mdoc(7) police: fix markup.ru2001-04-161-5/+5
|
* Grammar police: "its", not "it's", is the possessive form of "it".dd2001-04-153-3/+3
|
* Make links from setresuid.2 to getresgid.2 and getresuid.2.dd2001-04-151-1/+1
|
* Document getresgid and getresuid calls.dd2001-04-151-2/+21
| | | | Reviewed by: ru
* 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 ``RETURN VALUES'' and ``ERRORS'' sections since getpgid(2) candd2001-04-141-1/+18
| | | | | | fail. Also fix a minor grammar nit (it's -> its). PR: 26520
* 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
* Back out history.3 link removing - conflict fixed in libreadline insteadache2001-04-121-4/+1
|
* Comment out one of many editline.3 MLINKS conflicting with libreadlineache2001-04-121-1/+4
| | | | (history.3)
* 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
* Clean up a bit. Use the correct TAILQ link when walking the threaddeischen2001-04-103-114/+213
| | | | | lists to free thread resources after a fork (in the child). Also remember to free the dead thread list.
* Added a missing set of braces to a conditional that encompasses more thandeischen2001-04-102-10/+12
| | | | one statement.
* To be consistent, use the __weak_reference macro from <sys/cdefs.h>deischen2001-04-10277-405/+405
| | | | | | instead of #pragma weak to create weak definitions. Suggested by: bde
* To be consistent, use the __weak_reference macro from <sys/cdefs.h>deischen2001-04-105-37/+39
| | | | | | | | instead of #pragma weak to create weak definitions. This macro is improperly named, though, since a weak definition is not the same thing as a weak reference. Suggested by: bde
* Include <unistd.h> so that read(2) and write(2) don't cause warnings.deischen2001-04-101-1/+2
|
* Fix a comment within a comment warning due to a missing "*/".deischen2001-04-101-1/+1
|
* The maximum RPC message size was set at 8k for UDP. This is loweriedowse2001-04-081-5/+6
| | | | | | | | | | | | | | | than the default buffer size in the old RPC code (8800 bytes), and it could not be overriden by the application. This caused problems with CFS (/usr/port/security/cfs). Change this default back to UDPMSGSIZE (8800 bytes), but more importantly, allow applications to use larger message sizes for all protocols if desired. Choose an arbitrary maximum message size of 256k instead of using the default as the maximum (which is silly). Reported by: ache Reviewed by: alfred, Martin Blapp <mb@imp.ch>
* Mention that locks are inherited across an exec.dd2001-04-081-0/+6
| | | | | PR: 24802 Submitted by: Kenneth Ingham <ingham@i-pi.com>
* Install links to extattr_(get|set|delete)_fd.2 (from extattr_get_file.2).dd2001-04-081-2/+5
|
* fix cd9660 to work on files larger than ISO_DEFAULT_BLOCK_SIZE and unbreakgallatin2001-04-071-3/+4
| | | | | | cdboot on alphas (which has been broken since just after 4.0-RELEASE) submitted by: jlemon
* If the server's reply to the SIZE command is unparseable, reset us->sizedes2001-04-071-0/+1
| | | | to -1 so the caller will know it's invalid. This is an MFC candidate.
* IPv6 support for skeyaccess(3). You can specify IPv6 addressume2001-04-051-81/+182
| | | | | | using `internet' keyword into /etc/skey.access. Not Objected to by: -audit and -net
* 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
|
* Document the extattr_(get|set|delete)_fd calls, and add a note warningdd2001-04-051-4/+52
| | | | | | people that these calls are likely to change in the future. Reviewed by: rwatson
* Remove the libposix1e, since it has been repo copied to libc/posix1e andtmm2001-04-0465-7110/+0
| | | | | | | integrated into libc. Approved by: rwatson Obtained from: TrustedBSD Project
* Activate build of posix1e extensions in libc and libc_r that have beentmm2001-04-045-1/+20
| | | | | | | | moved in from libposix1e, and deactivate build of the soon-to-be-removed libposix1e. Approved by: rwatson Obtained from: TrustedBSD Project
* Add thread safety wrappers for the posix1e syscalls that deal with filetmm2001-04-0410-0/+369
| | | | | | | descriptors. Approved by: rwatson Obtained from: TrustedBSD Project
* Add entries for the posix1e functions that will be overridden in libc_r.tmm2001-04-042-0/+12
| | | | | Approved by: rwatson Obtained from: TrustedBSD Project
* 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
* mdoc(7) police: use proper markup for function arguments.ru2001-04-043-18/+18
|
* mdoc(7) police: add missing .Pa call.ru2001-04-041-1/+3
|
* Fix some very broken code in __nc_error() that implements per-threadiedowse2001-04-032-17/+28
| | | | | | | | | | | | | | | `nc_error' variables. Move the nc_lock mutex from mt_misc.c to a static variable within this function, since it is only used here. Add a new getnetconfigent() error code `NC_NOTFOUND' to report the case where the specified netid was not found. Set nc_error in all error cases in getnetconfigent() so that the error messages returned by nc_(s)perror are always meaningful. Add a terminating \n to the output of nc_perror() to match both our manpage and other implementations of this function. Reviewed by: deischen, alfred, Martin Blapp <mb@imp.ch>
* Add a leading underscore to the pthread_main_np function name, andiedowse2001-04-033-3/+6
| | | | | | | | | a "#pragma weak" directive linking the external symbol. This matches the other pthread_* definitions, and ensures that users of this function from within libc get the real version, not the stub. Suggested by: deischen Reviewed by: deischen, alfred
* Remove some hacks that were apparently added to avoid problems withiedowse2001-04-032-4/+2
| | | | | | | RPC clients hanging. The real problem turned out to be missing cleanup code; this was fixed in clnt_vc.c r1.5 and clnt_dg.c r1.4. Submitted by: Martin Blapp <mb@imp.ch>
* Fixed world breakage in previous commit (config.h was inaccessiblebde2001-04-031-4/+2
| | | | | | | except in the unusual case where ${.OBJDIR} == ${.CURDIR}). Fixed nearby style bugs (the DEFS variable had rotted to be just an obfuscation).
* Update for libpcap 0.6.2fenner2001-04-032-8/+106
|
* There were a few error cases where the RPC code would return withiedowse2001-04-022-1/+5
| | | | | | all signals masked (whoops). Add the missing cleanup code. Reviewed by: Martin Blapp <mb@imp.ch>, alfred
OpenPOWER on IntegriCloud