summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect library ordering. I thought I'd committed this already...des2002-06-211-2/+2
|
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-95/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
* Update for libpcap 0.7.1fenner2002-06-211-6/+23
|
* Don't try to dereference conn when we know it's NULL.des2002-06-191-2/+5
|
* Fix style and wording bugs introduced in my last commit.chris2002-06-181-11/+9
| | | | Sponsored by: DARPA, NAI Labs
* Remove unneeded include of machine/emul.h.jake2002-06-181-1/+0
|
* e_pow.c:bde2002-06-172-2/+2
| | | | | | | | | | | | | | | | Fixed pow(x, y) when x is very close to -1.0 and y is a very large odd integer. E.g., pow(-1.0 - pow(2.0, -52.0), 1.0 + pow(2.0, 52.0)) was 0.0 instead of being very close to -exp(1.0). PR: 39236 Submitted by: Stephen L Moshier <steve@moshier.net> e_powf.c: Apply the same patch although it is just cosmetic because odd integers large enough to cause the problem are too large to be precisely represented as floats. MFC after: 1 week
* Actually document pselect(3) so that Bruce can mention it in the releasewollman2002-06-172-1/+123
| | | | notes. :-)
* Move dillon's time conversion functions to a new header <timeconv.h>.wollman2002-06-171-1/+1
| | | | | | 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>.
* Restore local bits lost in recent merge from NetBSD.mdodd2002-06-161-19/+24
|
* Add pselect(3) to the build. Need to figure out the most appropriatewollman2002-06-151-1/+1
| | | | way to document this interface.
* o Move more information from BUGS into SECURITY CONSIDERATIONS andchris2002-06-151-50/+56
| | | | | | | | 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
* Missed in earlier commit -- I did cvs commit src/lib/libc. Oops.rwatson2002-06-148-118/+0
|
* No POSIX.1e capabilities in the main tree yet.rwatson2002-06-1329-2995/+0
|
* Include information on the dangers of passing a user-supplied string aschris2002-06-131-0/+21
| | | | | | | | 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
* Add the following functions:brian2002-06-123-0/+45
| | | | | | | | | | | | | | | | | | | | 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
* Add a reference count to struct fetchconn so we don't prematurely close anddes2002-06-113-1/+22
| | | | free a cached FTP connection.
* Return HOSTNAME_INVALIDADDR when reverse lookup is fail.ume2002-06-071-1/+1
| | | | Submitted by: Sergey Zorin <sergey@cc.tpu.edu.ru>
* Clarify the bit about realloc() and its `ptr' argument a bit.keramida2002-06-061-2/+3
| | | | | | | | 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>
* Tidy up.ru2002-06-061-10/+3
|
* libfetch now depends on libcrypto and libssl.ru2002-06-061-5/+6
|
* Correct FreeBSD release of first appearance in the HISTORY sectionsheldonh2002-06-061-1/+1
| | | | (5.0 -> 4.6).
* Make SSL support conditional on NOCRYPT.des2002-06-054-0/+21
|
* During buildworld, "regular" libraries are built before crypto stuff, sodes2002-06-051-2/+2
| | | | | libfetch can't depend on lib{crypto,ssl}. Move the dependency to fetch until we can figure out how to fix this.
* Add SSL support + slight cleanup.des2002-06-054-20/+78
| | | | Submitted by: Henry Whincup <henry@techiebod.com> (in principle)
* Wrap everything in struct connection, and enforce timeouts everywheredes2002-06-054-113/+204
| | | | | (except for DNS operations). Always use funopen() for HTTP, to support both timeouts and SSL.
* Add the necessary dependencies for SSL.des2002-06-051-0/+2
|
* Rename struct cookie to struct httpio to avoid confusion (it's not an HTTPdes2002-06-051-50/+50
| | | | cookie) and increase symmetry with equivalent FTP code.
* Add comments to struct cookie.des2002-06-051-8/+8
|
* Fix a bug I introduced in the chunk decoder in the previous commit..des2002-06-051-1/+1
|
* First step towards SSL support: wrap connections in a 'struct connection'des2002-06-054-196/+255
| | | | | | | | | | 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.
* Implement _Qp_sqrt. I've been unable to find a C program that gcc generatesjake2002-06-041-0/+14
| | | | a call to this for, but apparently somehing in libstdc++ does.
* Correct bswap64() prototype.sobomax2002-06-031-1/+1
| | | | | | Submitted by: glewis MFC after: 1 day (assuming that there is re's approval)
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-0220-20/+20
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Add NCURSES_OSPEED replace command to MANFILTERache2002-06-022-2/+4
|
* Correct a bunch of typos. Translators can ignore this commit.schweikh2002-06-021-8/+8
| | | | MFC after: 3 weeks
* Remove a URL from the middle of the BSD copyright (a clicko? a pasto?).schweikh2002-06-021-4/+4
| | | | | | | | | Fix typos: s/evironment/environment s/cont/const s/_lonjmp/_longjmp MFC after: 3 weeks
* Add mdoc bits for the new waitpid() WCONTINUED option, andmike2002-06-011-0/+12
| | | | WIFCONTINUED macro.
* Grammar nit: treat "contents" as plural.archie2002-05-311-1/+1
|
* Fixed modes.ru2002-05-3125-25/+28
|
* Grammar fix: "contents" is plural.archie2002-05-311-2/+2
| | | | MFC after: 1 day
* Const poison.phk2002-05-301-3/+5
| | | | Partially submitted by: wollman
* Fix syntax errors (labels with no statement following).wollman2002-05-301-0/+2
|
* Use correct printf format specifier to print unsigned longs.wollman2002-05-301-1/+1
|
* Avoid unintentional trigraph.wollman2002-05-301-1/+1
|
* Add missing newline at end of file.wollman2002-05-301-1/+1
|
* Missed one in previous commit.des2002-05-301-2/+4
| | | | Pointed out by: nectar
* Add used include of <string.h>.wollman2002-05-301-0/+1
|
* Add libusb.so.0 from the FreeBSD services 4.5 DVD. libusb is now known asobrien2002-05-302-4/+110
| | | | | | libusbhid in RELENG_4. Requested by: joe
* Add libusb.so.0 from the FreeBSD services 4.5 DVD. libusb is now known asobrien2002-05-302-3/+111
| | | | | | libusbhid in RELENG_4. Requested by: joe
OpenPOWER on IntegriCloud