summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* More support for Alpha installs.Jordan K. Hubbard1999-01-293-4/+76
| | | | | | | Submitted by: dfr Notes: svn path=/head/; revision=43393
* Removed evil typedef kvm_swap_t and all uses of it (not many).Bruce Evans1999-01-272-11/+13
| | | | | | | Hoped for by: wollman Notes: svn path=/head/; revision=43282
* Typo: `kern.somaxconn' -> `kern.ipc.somaxconn'Joseph Koshy1999-01-271-4/+4
| | | | | | | | PR: docs/9717 Submitted by: Nathan Dorfman <nathan@rtfm.net> Notes: svn path=/head/; revision=43271
* Correct typo.Joseph Koshy1999-01-271-1/+2
| | | | | | | | PR: docs/9597 Submitted by: Christoph Kukulies <kuku@FreeBSD.ORG> Notes: svn path=/head/; revision=43267
* Clarify format of exit status code. Note when a return code of -1 canJoseph Koshy1999-01-271-4/+8
| | | | | | | | | | be expected. PR: docs/9701 Submitted by: Marc van Kempen <marc@bowtie.nl> Notes: svn path=/head/; revision=43265
* Mostly remove the VM_STACK OPTION.Julian Elischer1999-01-261-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the definitions of a few items so that structures are the same whether or not the option itself is enabled. This allows people to enable and disable the option without recompilng the world. As the author says: |I ran into a problem pulling out the VM_STACK option. I was aware of this |when I first did the work, but then forgot about it. The VM_STACK stuff |has some code changes in the i386 branch. There need to be corresponding |changes in the alpha branch before it can come out completely. what is done: | |1) Pull the VM_STACK option out of the header files it appears in. This |really shouldn't affect anything that executes with or without the rest |of the VM_STACK patches. The vm_map_entry will then always have one |extra element (avail_ssize). It just won't be used if the VM_STACK |option is not turned on. | |I've also pulled the option out of vm_map.c. This shouldn't harm anything, |since the routines that are enabled as a result are not called unless |the VM_STACK option is enabled elsewhere. | |2) Add what appears to be appropriate code the the alpha branch, still |protected behind the VM_STACK switch. I don't have an alpha machine, |so we would need to get some testers with alpha machines to try it out. | |Once there is some testing, we can consider making the change permanent |for both i386 and alpha. | [..] | |Once the alpha code is adequately tested, we can pull VM_STACK out |everywhere. | Submitted by: "Richard Seaman, Jr." <dick@tar.com> Notes: svn path=/head/; revision=43209
* Enable Linux threads support by default.Julian Elischer1999-01-261-0/+6
| | | | | | | | | | | | This takes the conditionals out of the code that has been tested by various people for a while. ps and friends (libkvm) will need a recompile as some proc structure changes are made. Submitted by: "Richard Seaman, Jr." <dick@tar.com> Notes: svn path=/head/; revision=43208
* Fix swap radix tree dump formatting ( pstat -ss ), it was printing theMatthew Dillon1999-01-251-4/+4
| | | | | | | wrong radix for recursive subnodes. Notes: svn path=/head/; revision=43173
* gethostbyname2() was broken for lookups via NIS on FreeBSD/alphaAndrew Gallatin1999-01-251-4/+7
| | | | | | | | due to _gethostbynis() setting h.h_length to sizeof(u_long), which works out to 8 on alphas. And 8!= NS_INADDRSZ. Notes: svn path=/head/; revision=43171
* Fix symlinking. Without the -f "force" option, the wrong versionMark Murray1999-01-241-4/+4
| | | | | | | | can be found. Submitted by: Bruce Notes: svn path=/head/; revision=43152
* Backed out most of previous commit to go with backing out support forBruce Evans1999-01-241-4/+6
| | | | | | | revoke() on non-device files. Notes: svn path=/head/; revision=43143
* The new crypt code broke "make world". Back it out.Mark Murray1999-01-2315-1667/+149
| | | | Notes: svn path=/head/; revision=43092
* Fixed missing cross reference to kvm_getfiles.Bruce Evans1999-01-231-0/+1
| | | | | | | | | | This man page may be overdoing the cross references by referencing man pages that are just links to other pages that are referenced. kvm_uread() is still completely undocumented in kvm*.3. Notes: svn path=/head/; revision=43090
* Fixed unsorting of SRCS and MAN3 in previous commit.Bruce Evans1999-01-231-4/+4
| | | | | | | Sorted MLINKS. Notes: svn path=/head/; revision=43089
* Fixed unsorting of cross references in previous commit.Bruce Evans1999-01-231-1/+1
| | | | Notes: svn path=/head/; revision=43088
* Oops, forgot this. Needed by libkvm.Matthew Dillon1999-01-231-1/+14
| | | | Notes: svn path=/head/; revision=43085
* Fix breakage for the static a.out case. The a.out linker doesn'tJohn Polstra1999-01-221-4/+10
| | | | | | | | | | | consider a linker set definition to be sufficient reason to pull an object module from an archive library. This caused undefined symbols when linking with libpam.a using a.out. I solved it by linking in the object that references the linker set in the "ld -r" step. Notes: svn path=/head/; revision=43056
* Fix type-o's in manualMatthew Dillon1999-01-221-3/+3
| | | | Notes: svn path=/head/; revision=43051
* Add SWIF_DEV_PREFIX flag to add "/dev/..." to device name.Matthew Dillon1999-01-221-2/+3
| | | | Notes: svn path=/head/; revision=43048
* Implement kvm_getswapinfo() libkvm function. Will be used byMatthew Dillon1999-01-224-2/+551
| | | | | | | pstat, top, and systat. Notes: svn path=/head/; revision=43045
* Typo police.Brian Somers1999-01-221-1/+1
| | | | Notes: svn path=/head/; revision=43029
* Revert my last change, "Rename some globals to reduce namespaceJohn Polstra1999-01-212-20/+20
| | | | | | | | pollution." Unfortunately, some of these globals are used by ftpd, and I broke make world. Pointy hat, please. Notes: svn path=/head/; revision=43015
* Merge from vendor branch: timezone file structure changes and doco.Garrett Wollman1999-01-213-25/+45
| | | | | | | | | Fix localtime.c to deal with new magic number field. Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz Notes: svn path=/head/; revision=42989
* Moved from the old secure/lib/libcrypt area, because of the rewrite to howBrandon Gillespie1999-01-215-0/+532
| | | | | | | | | the Makefile handles des support by just including the single .c file. Reviewed by: Mark Murray Notes: svn path=/head/; revision=42982
* Rewrite of crypt library to be more modular, and addition of theBrandon Gillespie1999-01-2110-149/+1135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Secure Hashing Algorithm - 1 (SHA-1), along with the further refinement of what $x$salt$hash means. With this new crypt the following are all acceptable: $1$ $MD5$ $SHA1$ Note: $2$ is used by OpenBSD's Blowfish, which I considered adding as $BF$, but there is no actual need for it with SHA-1. However, somebody wishing to add OpenBSD password support could easilly add it in now. There is also a malloc_crypt() available in the library now, which behaves exactly the same as crypt(), but it uses a malloced buffer instead of a static buffer. However, this is not standard so will likely not be used much (at all). Also, for those interested I did a brief speed test Pentium 166/MMX, which shows the DES crypt to do approximately 2640 crypts a CPU second, MD5 to do about 62 crypts a CPU second and SHA1 to do about 18 crypts a CPU second. Reviewed by: Mark Murray Notes: svn path=/head/; revision=42981
* Rename some globals to reduce namespace pollution.John Polstra1999-01-202-20/+20
| | | | Notes: svn path=/head/; revision=42919
* Make it possible to use PAM in statically-linked applications.John Polstra1999-01-2015-74/+86
| | | | Notes: svn path=/head/; revision=42917
* Install man page link for strtok_r.John Polstra1999-01-191-1/+2
| | | | Notes: svn path=/head/; revision=42870
* Spell check and minor grammar fix.John Polstra1999-01-191-3/+3
| | | | Notes: svn path=/head/; revision=42869
* Document the errno return if the restrictions on the fcntl(F_SETOWN, ...)Don Lewis1999-01-191-0/+7
| | | | | | | | argument implemented by the security patch in PR kern/7899 are violated. PR: kern/7899 Notes: svn path=/head/; revision=42829
* Initialize __progname by argv[0] before striping leading path,Hidetoshi Shimokawa1999-01-191-1/+2
| | | | | | | otherwise we always get empty name. Notes: svn path=/head/; revision=42826
* revoke(2) is supported on regular files under current. Change wordingJoseph Koshy1999-01-181-6/+5
| | | | | | | | | | in manual page that indicated otherwise. PR: docs/9517 Submitted by: David Malone <dwmalone@maths.tcd.ie> Notes: svn path=/head/; revision=42781
* Use the correct type for uid and gid in struct passwd. Document it.Dag-Erling Smørgrav1999-01-181-2/+2
| | | | Notes: svn path=/head/; revision=42780
* Increase the size of private thread flags so that the test for aJohn Birrell1999-01-153-3/+3
| | | | | | | | | | thread trying to call pthread_exit() from a cleanup handler actually works. Submitted by: David Leonard <david.leonard@csee.uq.edu.au> OpenBSD Notes: svn path=/head/; revision=42681
* Bring us one step closer to sysinstall'ing on a DOC2k device.Poul-Henning Kamp1999-01-141-1/+3
| | | | Notes: svn path=/head/; revision=42669
* Fix an NFS-related installation problem.John Polstra1999-01-111-1/+1
| | | | | | | Submitted by: asami Notes: svn path=/head/; revision=42527
* POSIX introduced optreset to deal with multiple invocationsMike Smith1999-01-111-2/+2
| | | | | | | | | | | | | of getopt (as in, multiple input lines :). This is documented in the man page and is used in the code, but unistd.h and stand.h do not declare it. Incidentally, it prevents me fixing a bug in loader's code... :-) PR: misc/9373 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com> Notes: svn path=/head/; revision=42511
* Fix a minor security problem in libc_r.Warner Losh1999-01-113-12/+75
| | | | | | | | | Submitted by: Alexandre Snarskii <snar@paranoia.ru> Approved by: John Birrell Reminded me that I'd been sitting on this too long: snar@paranoia.ru Notes: svn path=/head/; revision=42500
* Merge changes from vendor branch (1.1.1 -> 1.1.3) into mainline.Peter Wemm1999-01-1013-103/+157
| | | | Notes: svn path=/head/; revision=42471
* This commit was generated by cvs2svn to compensate for changes in r42468,Peter Wemm1999-01-1012-145/+553
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=42469
| * Import zlib 1.1.3 onto the vendor branch.Peter Wemm1999-01-1021-235/+697
| | | | | | | | | | | | | | Obtained from: ftp.cdrom.com:/pub/infozip/zlib Notes: svn path=/vendor/libz/dist/; revision=42468
* | If we can't open alias.log, don't try to write to theBrian Somers1999-01-101-2/+4
| | | | | | | | | | | | | | | | resulting NULL FILE *. PR: 9403 Notes: svn path=/head/; revision=42454
* | Switch to using ".So" as the extension for PIC object files ratherJohn Polstra1999-01-094-10/+10
| | | | | | | | | | | | | | | | | | | | | | than ".so". The old extension conflicted with well-established naming conventions for dynamically loadable modules. The "clean" targets continue to remove ".so" files too, to deal with old systems. Notes: svn path=/head/; revision=42450
* | Changes for alpha support.Jordan K. Hubbard1999-01-082-2/+21
| | | | | | | | | | | | | | Submitted by: dfr Notes: svn path=/head/; revision=42387
* | Strip the leading path from __progname.Steve Price1999-01-071-3/+7
| | | | | | | | | | | | | | Ok'd by: jdp Notes: svn path=/head/; revision=42376
* | Make the implementation and documentation agree. Specifically:Dag-Erling Smørgrav1999-01-062-6/+11
| | | | | | | | | | | | | | | | | | | | - document that sysctl() and sysctlbyname() return 0 on success - if the provided buffer is too small, set errno to ENOMEM and return -1 instead of returning ENOMEM. Notes: svn path=/head/; revision=42353
* | add MLINKs for all the functions covered by the manpageDavid E. O'Brien1999-01-061-0/+10
| | | | | | | | Notes: svn path=/head/; revision=42330
* | spell checkDavid E. O'Brien1999-01-061-4/+4
| | | | | | | | Notes: svn path=/head/; revision=42329
* | Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.Dmitrij Tejblum1999-01-042-13/+4
| | | | | | | | Notes: svn path=/head/; revision=42293
* | Add STANDARDS section.Garrett Wollman1999-01-031-6/+37
| | | | | | | | | | | | | | | | s/bytes/characters/g to be consistent with Standard C terminology. Update date and add RCS Id. Notes: svn path=/head/; revision=42259