Garrett Wollman
020d4fa6de
Don't ask me how I consistently turned struct statvfs into struct vfsconf....
2002-07-16 20:40:12 +00:00
Garrett Wollman
252724764d
Assume that my bug report against 1003.1-2001 will be resolved my way,
...
and make 64-bit architectures use the LP64_OFF64 environment instead
of the LPBIG_OFFBIG one.
2002-07-15 22:43:03 +00:00
Garrett Wollman
603a6e79d8
Support POSIX/SUS ``programming environment'' mistake in confstr().
2002-07-15 22:21:33 +00:00
Garrett Wollman
97ec79a175
All of the things that confstr() returns are compile-time constants.
...
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.
2002-07-15 21:51:19 +00:00
Giorgos Keramidas
1f2cec106f
The .Fn function.
2002-07-15 20:59:12 +00:00
Giorgos Keramidas
ab7e1a5712
The .Fn function
2002-07-15 20:50:16 +00:00
Garrett Wollman
45d2fcfaae
Don't bother asking the kernel about _SC_FSYNC; it's not optional.
2002-07-15 20:42:05 +00:00
Giorgos Keramidas
68a8e8a9f3
Add a missing 'function' word.
...
Use .Vt to mark up `struct stat' when it is a variable type.
2002-07-15 20:07:09 +00:00
Hajimu UMEMOTO
8071d8d70d
Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex()
...
and if_freenameindex().
Obtained from: KAME
MFC after: 2 weeks
2002-07-15 19:58:56 +00:00
Giorgos Keramidas
e812f24f6d
The .Fn function
2002-07-15 19:56:24 +00:00
Garrett Wollman
c98a4bf3fb
Don't claim to fully implement C99 in the STANDARDS section and then disclaim
...
compliance in the BUGS section immediately below.
2002-07-15 19:46:06 +00:00
Garrett Wollman
647e4efd97
Note that fseeko() and ftello() are standard in 1003.1-2001.
...
(Prefer the more-encompassing POSIX standard to SUSv2.)
2002-07-15 19:42:25 +00:00
Giorgos Keramidas
ce9fa5fcb2
Fix whitespace in .Bd -literal display of S_IXXX constants.
...
Noticed by: jmallett
2002-07-15 08:58:16 +00:00
Alfred Perlstein
988553e96a
Fix "rpcinfo -m" when talking to other implementations of rpcbind.
...
Submitted by: mbr (NetBSD PR#15802)
2002-07-14 23:38:37 +00:00
Alfred Perlstein
886ee6f6a5
clnt_vc_create() has const scalar arguments that wind up being modified,
...
fix it (make them non-const) and update the associated documentation.
Submitted by: mbr
2002-07-14 23:35:04 +00:00
Alfred Perlstein
c549fd466b
Cast function args to silence warning.
...
Submitted by: mbr
2002-07-14 23:20:08 +00:00
Alfred Perlstein
261e68702a
Add a prototype for __rpcb_findaddr_timed to silence a warning.
2002-07-14 23:14:08 +00:00
Alfred Perlstein
cffc0b5784
Silence several warnings due to functions that needed to take a void *
...
having a char * as an argument instead. clnt_dg_control(), clnt_raw_control(),
clnt_vc_control().
2002-07-14 23:14:02 +00:00
Garrett Wollman
d04f03fc63
Fix a few bugs in the ERRORS section.
2002-07-13 19:38:59 +00:00
Garrett Wollman
6e97e157e8
Add statvfs(3) to the build.
...
Tested by: Steve Kargl
2002-07-13 19:33:20 +00:00
Garrett Wollman
b3928a066a
Well, it's not quite strxfrm(3) but at least it's honest.
2002-07-13 19:29:44 +00:00
Giorgos Keramidas
079167d6d7
Various typo fixes.
...
PR: docs/39395
Submitted by: Rich Neswold <rneswold@ameritech.net>
2002-07-12 01:30:18 +00:00
Garrett Wollman
4f6799e61e
A simple implementation of statvfs(3) (one step above the trivial one).
...
Not yet connected to the build (awaiting documentation).
2002-07-11 22:54:11 +00:00
Alfred Perlstein
62947a57cc
Update manpages to reference 'timed' rpc functions
2002-07-11 22:25:16 +00:00
Alfred Perlstein
4e37855e01
Add functions allowing for the user to specify a timeout for rpc functions.
...
Update copyrights to reflect where this code was lifted from. (tirpc '99)
Submitted by: mbr
2002-07-11 16:23:04 +00:00
Thomas Moestl
58d646cdd3
Add missing ret instruction to the ptrace() syscall wrapper.
2002-07-11 15:48:02 +00:00
Garrett Wollman
f646fac5e0
Fix some comments.
2002-07-10 16:35:02 +00:00
Maxime Henrion
193d036860
Typo fix: Setlogin() -> setlogin().
...
Submitted by: Olivier Houchard <cognet@ci0.org>
2002-07-08 20:16:15 +00:00
Mike Barcroft
f71e6a5243
Bring poll.h up to conformance with POSIX.1-2001 by adding some
...
visibility conditionals, adding the nfds_t type, and changing the
poll() prototype a little. Update the manual to match.
2002-07-08 16:37:35 +00:00
Daniel Harris
883d00eb92
s/unavilable/unavailable/
...
PR: 39446
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 day
2002-07-07 18:08:51 +00:00
Robert Drehmel
897ad22f04
Fix syntax error which occurred when LIBC_SCCS was defined.
2002-07-07 11:28:28 +00:00
Chris Costello
05ddd41b23
Move appropriate information out of DESCRIPTION' and into
SECURITY
...
CONSIDERATIONS'.
Sponsored by: DARPA, NAI Labs
2002-07-03 15:31:47 +00:00
Chris Costello
00c3b17e1e
Correct a call to fcntl(F_SETFD) to use FD_CLOEXEC' instead of
1'.
2002-07-03 08:15:55 +00:00
Chris Costello
32f9f49908
Add a SECURITY CONSIDERATIONS example: make note that access to open
...
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
2002-07-03 08:13:25 +00:00
Jonathan Mini
16f33a4885
Fix off-by-one error.
...
PR: misc/40104
Submitted by: Neal Fachan <neal@isilon.com>
MFC after: 3 days
2002-07-03 06:28:04 +00:00
Mark Peek
3aaa96958d
Fix typo (SIGEV_EVENT -> SIGEV_KEVENT).
2002-07-02 21:05:08 +00:00
Hajimu UMEMOTO
15e4dafc91
Make NI_WITHSCOPEID a default (always on), to synchronize
...
with recent 2553bis.
Obtained from: KAME
MFC after: 3 weeks
2002-07-02 11:05:31 +00:00
Chris Costello
de19436f24
Rename CAVEAT' to
SECURITY CONSIDERATIONS' and move it up to
...
the correct location--this section consists solely of security
considerations information.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
2002-07-01 14:41:05 +00:00
David E. O'Brien
3b7de54d68
Use FBSDID
2002-06-30 05:36:49 +00:00
David E. O'Brien
2d39517f33
Use __FBSDID.
2002-06-29 03:23:51 +00:00
David E. O'Brien
45d767fbbe
Add frexp(3).
...
Obtained from: OpenBSD
2002-06-29 03:23:18 +00:00
Mike Silbersack
11289efd80
Fix style bugs I added in last commit.
...
Spotted by: bde
2002-06-27 14:16:21 +00:00
Daniel Eischen
eee80fbd9c
Remove pselect from application namespace and instead use a weak reference
...
to the actual implementation. This is to allow libc_r to override
pselect() making it a cancellation point.
Prompted by: wollman
2002-06-27 13:23:46 +00:00
Daniel Eischen
53154da089
Remove improper use of <namespace.h>.
...
Remove fmtcheck from application name space (fix the weak reference).
2002-06-27 13:20:54 +00:00
Daniel Eischen
c40995b36a
Remove improper use of <namespace.h>
2002-06-27 13:18:27 +00:00
Mike Silbersack
1228a1c634
Modify bcopy (and memcpy/memmove) so that the length value is not
...
re-read from the stack mid copy. This may help mitigate the recent
Apache buffer overrun and future overruns of the sort.
Reviewed by: jdp
MFC after: 2 days
2002-06-27 03:55:36 +00:00
Warner Losh
ecddb03f1e
Remove two lines that were cvs merged that shouldn't have been. This
...
fixes the build.
Reported by: dillon.
2002-06-26 18:03:31 +00:00
Warner Losh
145ec10619
Remove two stray lines that snuck in the cvs merge
2002-06-26 14:18:36 +00:00
Jacques Vidrine
9a370b24b5
Initialize a pointer that was left uninitialized with the previous
...
commit.
2002-06-26 08:48:34 +00:00
Warner Losh
d6af58f572
Include more robust checking of end of buffer that more completely
...
plugs the hole.
2002-06-26 08:18:05 +00:00