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
Warner Losh
4cbd2472b3
Don't allow buffer overflow here either.
2002-06-26 06:31:06 +00:00
Warner Losh
fda8311189
Fix a minor last, minute issue that came in after I committed.
...
Noticed by: nectar
2002-06-26 06:23:22 +00:00
Warner Losh
4cf0747073
Avoid remote buffer overflow on hostbuf[].
...
Submitted by: joost Pol <joost@pine.nl>
2002-06-26 06:04:46 +00:00
Chris Costello
1b5c321d3f
Fix style and wording bugs introduced in my last commit.
...
Sponsored by: DARPA, NAI Labs
2002-06-18 08:55:17 +00:00
Jake Burkholder
dbf51f8db4
Remove unneeded include of machine/emul.h.
2002-06-18 02:15:11 +00:00
Garrett Wollman
50d0eead10
Actually document pselect(3) so that Bruce can mention it in the release
...
notes. :-)
2002-06-17 02:21:17 +00:00
Garrett Wollman
8466ae9033
Move dillon's time conversion functions to a new header <timeconv.h>.
...
Since they were never documented and have never appeared in a FreeBSD
release, no repo-copy of the header is done. This removes namespace
pollution from <time.h>.
2002-06-17 01:42:33 +00:00
Garrett Wollman
7d0f66cbc3
Add pselect(3) to the build. Need to figure out the most appropriate
...
way to document this interface.
2002-06-15 23:42:59 +00:00
Chris Costello
5f9c048ce7
o Move more information from BUGS into SECURITY CONSIDERATIONS and
...
condense the redundant bits.
o Provide an example for using snprintf over sprintf. This may be
supplemented with an asprintf() example soon.
Sponsored by: DARPA, NAI Labs
2002-06-15 06:00:56 +00:00
Robert Watson
820a52632e
No POSIX.1e capabilities in the main tree yet.
2002-06-13 23:40:13 +00:00
Chris Costello
7bc7869122
Include information on the dangers of passing a user-supplied string as
...
a format string. This will later on be changed to a reference to the
FreeBSD Security Architecture after it has been committed.
PR: docs/39320
Sposnored by: DARPA, NAI Labs
2002-06-13 23:35:22 +00:00