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
Matthew N. Dodd
2b13992856
Restore local bits lost in recent merge from NetBSD.
2002-06-16 08:29:35 +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
4a85ccbe6d
Missed in earlier commit -- I did cvs commit src/lib/libc. Oops.
2002-06-14 04:02:25 +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
Brian Somers
628e6cd45f
Add the following functions:
...
rad_request_authenticator()
Returns the Request-Authenticator relevant to the most recently received
RADIUS response.
rad_server_secret()
Returns the Shared Secret relevant to the most recently received
RADIUS response.
Neither of these functions should be necessary, however, the
MS-MPPE-Recv-Key and MS-MPPE-Send-Key Microsoft Vendor Specific
attributes are supplied in a mangled (encrypted) format, requiring
this information to demangle.
It's not clear whether these functions should be replaced with a
rad_demangle() function or whether these attributes are one-offs.
Sponsored by: Monzoon
2002-06-12 00:21:07 +00:00
Dag-Erling Smørgrav
f606d589b9
Add a reference count to struct fetchconn so we don't prematurely close and
...
free a cached FTP connection.
2002-06-11 11:27:28 +00:00
Hajimu UMEMOTO
82684fa6da
Return HOSTNAME_INVALIDADDR when reverse lookup is fail.
...
Submitted by: Sergey Zorin <sergey@cc.tpu.edu.ru>
2002-06-07 17:25:19 +00:00
Giorgos Keramidas
f2572d955f
Clarify the bit about realloc() and its `ptr' argument a bit.
...
Hopefully, now it is more clear that the memory referenced by the
ptr argument of realloc(ptr,size) is freed and only the return value
of realloc() points to a valid memory area upon successful completion.
Submitted by: Martin Faxer <gmh003532@brfmasthugget.se>
2002-06-06 22:11:19 +00:00
Ruslan Ermilov
c101b5f3f3
Tidy up.
2002-06-06 13:55:01 +00:00
Ruslan Ermilov
4093807dd9
libfetch now depends on libcrypto and libssl.
2002-06-06 13:45:46 +00:00
Sheldon Hearn
68f8e47a04
Correct FreeBSD release of first appearance in the HISTORY section
...
(5.0 -> 4.6).
2002-06-06 10:51:25 +00:00
Dag-Erling Smørgrav
3070f6cb06
Make SSL support conditional on NOCRYPT.
2002-06-05 21:35:35 +00:00
Dag-Erling Smørgrav
d9615d7da4
During buildworld, "regular" libraries are built before crypto stuff, so
...
libfetch can't depend on lib{crypto,ssl}. Move the dependency to fetch
until we can figure out how to fix this.
2002-06-05 21:25:33 +00:00
Dag-Erling Smørgrav
111e251009
Add SSL support + slight cleanup.
...
Submitted by: Henry Whincup <henry@techiebod.com> (in principle)
2002-06-05 12:46:36 +00:00
Dag-Erling Smørgrav
9601e333a8
Wrap everything in struct connection, and enforce timeouts everywhere
...
(except for DNS operations). Always use funopen() for HTTP, to support
both timeouts and SSL.
2002-06-05 12:19:08 +00:00
Dag-Erling Smørgrav
4dc0da3f3e
Add the necessary dependencies for SSL.
2002-06-05 11:38:19 +00:00
Dag-Erling Smørgrav
ccdd94bdd9
Rename struct cookie to struct httpio to avoid confusion (it's not an HTTP
...
cookie) and increase symmetry with equivalent FTP code.
2002-06-05 10:31:01 +00:00
Dag-Erling Smørgrav
d3b03a9006
Add comments to struct cookie.
2002-06-05 10:27:24 +00:00
Dag-Erling Smørgrav
3f4823c55d
Fix a bug I introduced in the chunk decoder in the previous commit..
2002-06-05 10:23:19 +00:00
Dag-Erling Smørgrav
dea29ca1d5
First step towards SSL support: wrap connections in a 'struct connection'
...
which contains the socket descriptor, the input buffer and (yet unused)
SSL state variables. This has the neat side effect of greatly improving
reentrance (though we're not *quite* there yet) and opening the door to
HTTP connection caching.
This commit is inspired by email conversations with and patches from
Henry Whincup <henry@techiebod.com> last fall.
2002-06-05 10:05:03 +00:00
Jake Burkholder
3671cacae1
Implement _Qp_sqrt. I've been unable to find a C program that gcc generates
...
a call to this for, but apparently somehing in libstdc++ does.
2002-06-04 17:02:27 +00:00
Maxim Sobolev
70225aabb7
Correct bswap64() prototype.
...
Submitted by: glewis
MFC after: 1 day
(assuming that there is re's approval)
2002-06-03 19:04:10 +00:00
Jens Schweikhardt
21dc7d4f57
Fix typo in the BSD copyright: s/withough/without/
...
Spotted and suggested by: des
MFC after: 3 weeks
2002-06-02 20:05:59 +00:00
Andrey A. Chernov
c9e2508f62
Add NCURSES_OSPEED replace command to MANFILTER
2002-06-02 16:11:57 +00:00
Jens Schweikhardt
27cf01ec47
Correct a bunch of typos. Translators can ignore this commit.
...
MFC after: 3 weeks
2002-06-02 10:27:41 +00:00
Jens Schweikhardt
81c4f30f7f
Remove a URL from the middle of the BSD copyright (a clicko? a pasto?).
...
Fix typos:
s/evironment/environment
s/cont/const
s/_lonjmp/_longjmp
MFC after: 3 weeks
2002-06-02 10:05:55 +00:00
Mike Barcroft
9c85a5ca25
Add mdoc bits for the new waitpid() WCONTINUED option, and
...
WIFCONTINUED macro.
2002-06-01 18:38:58 +00:00
Archie Cobbs
c05b5b0453
Grammar nit: treat "contents" as plural.
2002-05-31 22:26:19 +00:00
Ruslan Ermilov
8c5fbbf993
Fixed modes.
2002-05-31 13:20:01 +00:00
Archie Cobbs
6accdce98b
Grammar fix: "contents" is plural.
...
MFC after: 1 day
2002-05-31 05:01:17 +00:00
Poul-Henning Kamp
ff84d98ac2
Const poison.
...
Partially submitted by: wollman
2002-05-30 21:59:16 +00:00
Garrett Wollman
a96d3de6b3
Fix syntax errors (labels with no statement following).
2002-05-30 21:03:02 +00:00
Garrett Wollman
d7c98975c5
Use correct printf format specifier to print unsigned longs.
2002-05-30 21:00:42 +00:00
Garrett Wollman
c7c5d95d56
Avoid unintentional trigraph.
2002-05-30 20:53:45 +00:00
Garrett Wollman
42959a87a7
Add missing newline at end of file.
2002-05-30 20:51:53 +00:00
Dag-Erling Smørgrav
eb6f605e2f
Missed one in previous commit.
...
Pointed out by: nectar
2002-05-30 20:48:59 +00:00
Garrett Wollman
5685a7738f
Add used include of <string.h>.
2002-05-30 19:38:07 +00:00
David E. O'Brien
e9217a0b8a
Add libusb.so.0 from the FreeBSD services 4.5 DVD. libusb is now known as
...
libusbhid in RELENG_4.
Requested by: joe
2002-05-30 18:51:03 +00:00
David E. O'Brien
686bea03e9
Add libusb.so.0 from the FreeBSD services 4.5 DVD. libusb is now known as
...
libusbhid in RELENG_4.
Requested by: joe
2002-05-30 17:58:49 +00:00
Ruslan Ermilov
6a63652701
mdoc(7) police: kill whitespace at EOL.
2002-05-30 14:52:00 +00:00
Ruslan Ermilov
5617846748
mdoc(7) police: polish markup.
2002-05-30 14:49:57 +00:00
Ruslan Ermilov
9baa2c98cf
mdoc(7) police: tidy up the markup.
2002-05-30 14:32:48 +00:00
Ruslan Ermilov
af41ab4c8d
mdoc(7) police: Tidy up the markup.
2002-05-30 12:16:01 +00:00
Ruslan Ermilov
6c3079ad7f
mdoc(7) police: kill hard sentence break.
2002-05-30 12:04:36 +00:00
Ruslan Ermilov
432e57ebfa
mdoc(7) police: markup nits.
2002-05-30 09:53:47 +00:00
Alfred Perlstein
e043516d4d
Check for defined(__i386__) instead of just defined(i386) since the compiler
...
will be updated to only define(__i386__) for ANSI cleanliness.
2002-05-30 07:00:42 +00:00