summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* The fix applied to the XDR decoder in revision 1.11 was incorrect.nectar2002-08-011-1/+1
|
* Sort headers to reduce diffs between branches.nectar2002-07-311-1/+1
|
* some dolt forgot to add in an include for <limits.h>darrenr2002-07-311-0/+1
|
* Patch to fix bounds checking/overflow.darrenr2002-07-311-3/+4
| | | | Obtained from: OpenBSD
* Grammar (`was' -> `were')chris2002-07-311-1/+1
|
* Update docs to reflect change in count of procs reserved for rootsilby2002-07-302-2/+2
| | | | | | | | from 1 to 10. PR: kern/40515 Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 day
* Revert part of revision 1.10, as it broke portmap lookups for IPv4iedowse2002-07-261-9/+3
| | | | | | | | | | | | | TCP clients. The problem was that a struct netconfig returned by getnetconfigent() was being treated as a handle for __rpc_getconf(), which certainly isn't right. The tirpc-99 code uses __rpc_setconf("udp")/__rpc_getconf() to find the IPv4 udp netconfig, but our implementation of these functions seem happy to return IPv6 entries, so we can't use them. By reverting to the old version, we are hard-coding the name of the udp4 netid. Tracked down by: Bakul Shah <bakul@bitblocks.com>
* sysctl(NET_RT_IFLIST) up to several (currently 5) times.ume2002-07-251-8/+29
| | | | | | | | This will make the behavior robuster if many addresses are added after the size estimation of storage at the first sysctl. Reviewed by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp> MFC after: 1 week
* - ntohs() returns unsigned value.ume2002-07-241-59/+56
| | | | | | | | | | | | | - use strlcpy. - snprintf can return negative value, so cope with it. - tweak interface index on interface locals (ff01::/16). - removed unused macros. - removed a macro that uses only once (in a trivial context). - explicitly say goodbye to ENI_xxx. - constify struct afd. Obtained from: KAME MFC after: 1 week
* Update glob(3) to add all the POSIX required options, specifically:mikeh2002-07-172-29/+34
| | | | | | | | | | - add GLOB_NOMATCH return value and use it when we don't get a match - rename GLOB_ABEND to GLOB_ABORTED and use it instead of returning 1 in some places - add GLOB_NOESCAPE flag and retire GLOB_QUOTE to compatibility section Suggestions/advice on correct usage of POSIX defines: wollman
* Change utimes to set the file creation time (for filesystems thatmckusick2002-07-171-0/+9
| | | | | | | | support creation times such as UFS2) to the value of the modification time if the value of the modification time is older than the current creation time. See utimes(2) for further details. Sponsored by: DARPA & NAI Labs.
* Don't ask me how I consistently turned struct statvfs into struct vfsconf....wollman2002-07-161-3/+3
|
* Assume that my bug report against 1003.1-2001 will be resolved my way,wollman2002-07-151-13/+9
| | | | | and make 64-bit architectures use the LP64_OFF64 environment instead of the LPBIG_OFFBIG one.
* Support POSIX/SUS ``programming environment'' mistake in confstr().wollman2002-07-151-1/+62
|
* All of the things that confstr() returns are compile-time constants.wollman2002-07-151-31/+10
| | | | | | | | | It's silly to call sysctl() to get the value of _PATH_STDPATH from <paths.h> when we can just use it directly. This greatly simplifies the implementation. (This is also part of my grand scheme to get rid of sysctl's `user' category, which should never have been created.) Use strlcpy() instead of strncpy() as it has the exact semantics we want.
* The .Fn function.keramida2002-07-1511-36/+68
|
* The .Fn functionkeramida2002-07-151-3/+6
|
* Don't bother asking the kernel about _SC_FSYNC; it's not optional.wollman2002-07-151-4/+3
|
* Add a missing 'function' word.keramida2002-07-151-2/+2
| | | | Use .Vt to mark up `struct stat' when it is a variable type.
* Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex()ume2002-07-156-328/+403
| | | | | | | and if_freenameindex(). Obtained from: KAME MFC after: 2 weeks
* The .Fn functionkeramida2002-07-153-11/+18
|
* Don't claim to fully implement C99 in the STANDARDS section and then disclaimwollman2002-07-151-2/+4
| | | | compliance in the BUGS section immediately below.
* Note that fseeko() and ftello() are standard in 1003.1-2001.wollman2002-07-151-1/+1
| | | | (Prefer the more-encompassing POSIX standard to SUSv2.)
* Fix whitespace in .Bd -literal display of S_IXXX constants.keramida2002-07-151-15/+15
| | | | Noticed by: jmallett
* Fix "rpcinfo -m" when talking to other implementations of rpcbind.alfred2002-07-141-0/+3
| | | | Submitted by: mbr (NetBSD PR#15802)
* clnt_vc_create() has const scalar arguments that wind up being modified,alfred2002-07-142-3/+3
| | | | | | fix it (make them non-const) and update the associated documentation. Submitted by: mbr
* Cast function args to silence warning.alfred2002-07-141-1/+2
| | | | Submitted by: mbr
* Add a prototype for __rpcb_findaddr_timed to silence a warning.alfred2002-07-141-0/+4
|
* Silence several warnings due to functions that needed to take a void *alfred2002-07-143-32/+32
| | | | | having a char * as an argument instead. clnt_dg_control(), clnt_raw_control(), clnt_vc_control().
* Fix a few bugs in the ERRORS section.wollman2002-07-131-3/+12
|
* Add statvfs(3) to the build.wollman2002-07-131-2/+3
| | | | Tested by: Steve Kargl
* Well, it's not quite strxfrm(3) but at least it's honest.wollman2002-07-131-0/+176
|
* Various typo fixes.keramida2002-07-121-2/+2
| | | | | PR: docs/39395 Submitted by: Rich Neswold <rneswold@ameritech.net>
* A simple implementation of statvfs(3) (one step above the trivial one).wollman2002-07-111-0/+160
| | | | Not yet connected to the build (awaiting documentation).
* Update manpages to reference 'timed' rpc functionsalfred2002-07-111-0/+8
|
* Add functions allowing for the user to specify a timeout for rpc functions.alfred2002-07-115-96/+670
| | | | | | Update copyrights to reflect where this code was lifted from. (tirpc '99) Submitted by: mbr
* Add missing ret instruction to the ptrace() syscall wrapper.tmm2002-07-111-0/+2
|
* Fix some comments.wollman2002-07-101-4/+6
|
* Typo fix: Setlogin() -> setlogin().mux2002-07-081-1/+1
| | | | Submitted by: Olivier Houchard <cognet@ci0.org>
* Bring poll.h up to conformance with POSIX.1-2001 by adding somemike2002-07-081-3/+2
| | | | | visibility conditionals, adding the nfds_t type, and changing the poll() prototype a little. Update the manual to match.
* s/unavilable/unavailable/dannyboy2002-07-071-1/+1
| | | | | | PR: 39446 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> MFC after: 1 day
* Fix syntax error which occurred when LIBC_SCCS was defined.robert2002-07-071-1/+1
|
* Move appropriate information out of `DESCRIPTION' and into `SECURITYchris2002-07-031-12/+12
| | | | | | CONSIDERATIONS'. Sponsored by: DARPA, NAI Labs
* Correct a call to fcntl(F_SETFD) to use `FD_CLOEXEC' instead of `1'.chris2002-07-031-1/+1
|
* Add a SECURITY CONSIDERATIONS example: make note that access to openchris2002-07-031-0/+33
| | | | | | | | file descriptors does not change upon dropping privilege, and include a likely case of `setuid(non_superuser); exec(...);'. Sponsored by: DARPA, NAI Labs Obtained from: TrustedBSD Project
* Fix off-by-one error.mini2002-07-031-1/+1
| | | | | | PR: misc/40104 Submitted by: Neal Fachan <neal@isilon.com> MFC after: 3 days
* Fix typo (SIGEV_EVENT -> SIGEV_KEVENT).mp2002-07-021-1/+1
|
* Make NI_WITHSCOPEID a default (always on), to synchronizeume2002-07-021-30/+20
| | | | | | | with recent 2553bis. Obtained from: KAME MFC after: 3 weeks
* Rename `CAVEAT' to `SECURITY CONSIDERATIONS' and move it up tochris2002-07-011-10/+10
| | | | | | | | the correct location--this section consists solely of security considerations information. Sponsored by: DARPA, NAI Labs Obtained from: TrustedBSD Project
* Use FBSDIDobrien2002-06-3013-84/+32
|
OpenPOWER on IntegriCloud