summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Install links to extattr_(get|set|delete)_fd.2 (from extattr_get_file.2).Dima Dorfman2001-04-081-2/+5
| | | | Notes: svn path=/head/; revision=75307
* mdoc(7) police: add missing LIBRARY section.Ruslan Ermilov2001-04-059-0/+18
| | | | Notes: svn path=/head/; revision=75224
* Unbreak world.Ruslan Ermilov2001-04-051-1/+1
| | | | | | | Submitted by: jhay Notes: svn path=/head/; revision=75223
* Record -lposix1e merge with -lc.Ruslan Ermilov2001-04-0526-26/+26
| | | | Notes: svn path=/head/; revision=75222
* mdoc(7) police rev 1.11: convert descriptions and cross-referencesRuslan Ermilov2001-04-051-64/+32
| | | | | | | for the ACL editing library functions to the plain tagged list. Notes: svn path=/head/; revision=75220
* - Add descriptions and cross-references for the ACL editing libraryChris D. Faulhaber2001-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 Notes: svn path=/head/; revision=75211
* Install the acl_create_entry.3 man pageChris D. Faulhaber2001-04-051-0/+1
| | | | Notes: svn path=/head/; revision=75209
* Document the extattr_(get|set|delete)_fd calls, and add a note warningDima Dorfman2001-04-051-4/+52
| | | | | | | | | people that these calls are likely to change in the future. Reviewed by: rwatson Notes: svn path=/head/; revision=75206
* Activate build of posix1e extensions in libc and libc_r that have beenThomas Moestl2001-04-041-0/+1
| | | | | | | | | | | moved in from libposix1e, and deactivate build of the soon-to-be-removed libposix1e. Approved by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75188
* Add entries for the posix1e functions that will be overridden in libc_r.Thomas Moestl2001-04-042-0/+12
| | | | | | | | Approved by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75186
* Prepare for the inclusion of libposix1e into libc: retire the oldThomas Moestl2001-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 Notes: svn path=/head/; revision=75185
* mdoc(7) police: add missing .Pa call.Ruslan Ermilov2001-04-041-1/+3
| | | | Notes: svn path=/head/; revision=75158
* Fix some very broken code in __nc_error() that implements per-threadIan Dowse2001-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> Notes: svn path=/head/; revision=75146
* Remove some hacks that were apparently added to avoid problems withIan Dowse2001-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> Notes: svn path=/head/; revision=75144
* There were a few error cases where the RPC code would return withIan Dowse2001-04-022-1/+5
| | | | | | | | | all signals masked (whoops). Add the missing cleanup code. Reviewed by: Martin Blapp <mb@imp.ch>, alfred Notes: svn path=/head/; revision=75097
* Move the #includes of reentrant.h to after the `#include "namespace.h"',Ian Dowse2001-04-0223-23/+23
| | | | | | | | | | | so that the underscored versions of the pthread functions get declared. This removes around 300 lines of 'implicit declaration of XXX' warnings from the output of a libc build with -Wall. Reviewed by: Martin Blapp <mb@imp.ch>, alfred Notes: svn path=/head/; revision=75094
* Hook the extattr_get_file.2 manual page into the build. Add MLINKSDima Dorfman2001-04-011-1/+3
| | | | | | | for extattr_set_file.2 and extattr_delete_file.2. Notes: svn path=/head/; revision=75076
* A manual page for the extattr_get_file, extattr_set_file, andDima Dorfman2001-04-011-0/+154
| | | | | | | | | | extattr_delete_file system calls. Reviewed by: rwatson, ru Approved by: nik Notes: svn path=/head/; revision=75075
* mdoc(7) police: LIBRARY should be before SYNOPSIS.Ruslan Ermilov2001-03-291-2/+2
| | | | Notes: svn path=/head/; revision=74989
* Correct function name: acl_clear_perm -> acl_clear_permsChris D. Faulhaber2001-03-291-2/+2
| | | | Notes: svn path=/head/; revision=74973
* Catch up with a comment that changed in rev1.73 of mount.hBen Smithurst2001-03-291-1/+1
| | | | | | | | PR: 25836 Submitted by: Tony Finch <dot@dotat.at> Notes: svn path=/head/; revision=74971
* Mostly pick up OpenBSD's rev 1.14 by deraadt@ and millert@.Peter Wemm2001-03-281-42/+39
| | | | | | | | | I've left out a couple of unused args between internal functions. Use MAXPATHLEN, not MAXPATHLEN + 1 in a couple of places. Pass a pointer to the end of the target filename space. Notes: svn path=/head/; revision=74963
* The f_syncreads and f_asyncreads entries are missing from the man page.Poul-Henning Kamp2001-03-281-3/+4
| | | | | | | | | | | This also tidies up the formatting a bit and omits all the padding entries. PR: 25834 Submitted by: Tony Finch <dot@dotat.at> Notes: svn path=/head/; revision=74952
* OpenBSD's g_Ctoc() returned a false error when the target buffer wasPeter Wemm2001-03-281-16/+16
| | | | | | | | | exactly the right size. Do it differently - pass a length rather than an end-of-string+1 pointer as this is more convenient anyway. Get rid of the bogus +1's. Notes: svn path=/head/; revision=74921
* Fix g_Ctoc() interface, approximately based on OpenBSD's recent changes.Peter Wemm2001-03-281-14/+36
| | | | | | | | | | Also, set gl_pathv to NULL after we free it, especially when dealing with realloc failures. Obtained from: OpenBSD Notes: svn path=/head/; revision=74918
* o De-uglify IMPLEMENTATION NOTES section by removing unnecessary use ofRobert Watson2001-03-281-2/+1
| | | | | | | .Fx Notes: svn path=/head/; revision=74888
* Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transportBill Paul2001-03-271-3/+19
| | | | | | | | | | | | | | | | | | | | | to make asynchronous RPCs. This is needed to help fix ypbind, which can no longer override the clnt_dg_call() method (formerly the clntudp_call() method) due to all the internal descriptor locking code in TI-RPC. Turning on this flag allows us to send an RPC request, then return immediately, and handle a reply later, rather than being forced to do the request and reply in a single function call. Also fix a byte ordering bug: when clnt_dg_call() increments the XID prior to transmitting a request, it uses the raw value, which is wrong. The XID is stored in network byte order, i.e. big-endian. The CLSET_XID and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get the byte ordering right, but because clnt_dg_call() does not do this, using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap properly when doing the increment. Notes: svn path=/head/; revision=74879
* Document LOG_CONSOLE.Chris Timmons2001-03-271-0/+2
| | | | Notes: svn path=/head/; revision=74875
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-2718-26/+26
| | | | Notes: svn path=/head/; revision=74870
* give the "netgrent" functions a home in netdb.hAlfred Perlstein2001-03-271-0/+1
| | | | Notes: svn path=/head/; revision=74844
* const'ifyAlfred Perlstein2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74843
* 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
* This is kind of a hack, but it should work. Currently, world is brokenPeter Wemm2001-03-243-81/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because libc/rpc/key_call.c references uname(), and ps/print.c also defines uname(), and ps is linked statically. This leads to a symbol clash. The userland uname(3) kinda sucked anyway as the hostname etc was too short. And since the libc rpc interface now uses the utsname.nodename which gets truncated, I was tempted into doing something about it. Create a new userland uname function, called __xuname() which takes an extra argument that allows you to change the size of the fields. uname() becomes a static inline function in sys/utsname.h that passes the extra argument in. struct utsname has its field members expanded by default now in userland. We still provide a 'uname' externally linkable function for things that either think that they ``know'' the utsname format and assume 32 character strings and bypass the include file, or objects that are linked against old libcs. ie: just about every plausible case that I can think of is covered. Should we ever change the default lengths again, a libc major bump should not be required as the size is now passed to the function. XXX the uname(2) in the kernel is for FreeBSD 1.1 binary compatability! All the uname(3) functions that are exported to userland are actually implemented in libc with sysctl. uname(1) uses sysctl directly and does not call uname(3). PR: bin/4688 Notes: svn path=/head/; revision=74729
* Fix rcsid/$FreeBSD$.David E. O'Brien2001-03-241-2/+15
| | | | | | | Reduce diff from what I think is the original sources. Notes: svn path=/head/; revision=74712
* fix Alpha supportAlfred Perlstein2001-03-241-10/+0
| | | | Notes: svn path=/head/; revision=74710
* IPv4 address is not unsigned int. This change introduces in_addr_t.Hajimu UMEMOTO2001-03-237-18/+25
| | | | | | | | | | PR: 9982 Adviced by: des Reviewed by: -alpha and -net (no objection) Obtained from: OpenBSD Notes: svn path=/head/; revision=74700
* change callrpc() from taking "char *" args, I'm quite sure they really meantAlfred Perlstein2001-03-232-3/+3
| | | | | | | | | to use "void *". remove a duplicate prototype for callrpc() from libexec/ypxfr/ypxfr_extern.h Notes: svn path=/head/; revision=74695
* 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
* Remove struct cmessage from sys/socket.h and reintroduce the privateAlfred Perlstein2001-03-222-2/+9
| | | | | | | | | definitions. Requested by: wollman Notes: svn path=/head/; revision=74660
* Hopefully fix some of the bugs in passing credentials over UNIX ↵Alfred Perlstein2001-03-222-26/+32
| | | | | | | | | | | | | | | domain sockets. Make struct cmessage visible from socket.h (about 4 places were defining it for themselves which wasn't good) Make __rpc_get_local_uid() useable and give it prototype that's visible. Fix some issues with printing out usernames from rpcbind and keyserv. Notes: svn path=/head/; revision=74627
* Get rid of non-standard %E[Ff] formats, userland apps already fixedAndrey A. Chernov2001-03-213-33/+4
| | | | Notes: svn path=/head/; revision=74578
* Oops, back out prev. change - POSIX require %y in d_fmtAndrey A. Chernov2001-03-211-4/+4
| | | | | | | Cosmetique - use exact POSIX string for %c Notes: svn path=/head/; revision=74572
* Replace %y with %YAndrey A. Chernov2001-03-211-1/+1
| | | | Notes: svn path=/head/; revision=74570
* whitespace cleanupAlfred Perlstein2001-03-201-16/+14
| | | | Notes: svn path=/head/; revision=74536
* Fixed some typos.Ruslan Ermilov2001-03-203-3/+3
| | | | Notes: svn path=/head/; revision=74518
* This manpage is heavily based on the old rpc.3 manpage, andRuslan Ermilov2001-03-201-1355/+1139
| | | | | | | | | | should have been repo-copied from it in the first place. Apply all of our fixes up to and including revision 1.14 to the original rpc.3 manpage, including conversion to mdoc(7). Notes: svn path=/head/; revision=74517