summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix errors in .Xr usage.nik2000-03-011-1/+1
| | | | | PR: docs/17057 Submitted by: Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Don't try to build k5 PAM; it ain't ready yet.markm2000-02-282-2/+2
|
* Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).ps2000-02-282-0/+8
| | | | | | | | | | | | This This feature allows you to specify if mmap'd data is included in an application's corefile. Change the type of eflags in struct vm_map_entry from u_char to vm_eflags_t (an unsigned int). Reviewed by: dillon,jdp,alfred Approved by: jkh
* -it do, among other things, clear out anyalfred2000-02-281-1/+1
| | | | | | +it does, amongst other things, clear out any The old sentance didn't seem to make sense.
* Same fix as in ../modules, dont use the crypto stuff if its not there.sos2000-02-261-1/+1
|
* Argh, I can't win today. Spell ${.CURDIR} correctly.peter2000-02-261-1/+1
|
* Don't build pam_ssh if the crypto code is missing.peter2000-02-261-1/+1
| | | | Found by: sos
* Redo this with a repo copy from the original file and reset thepeter2000-02-261-1/+1
| | | | __PREFIX__ markers.
* Use libcrypto instead of libdes.markm2000-02-245-3/+32
| | | | Also - OpenSSH blesses us with a module for PAM.
* Restore `[no]{s|u}unlnk' and `[no]opaque' support.ru2000-02-223-6/+21
| | | | | | | Broken in src/bin/ls/stat_flags.c,v 1.12. PR: 16885 Approved by: jkh
* Change IPv6 scoped addr format again based on recent standard discussion.shin2000-02-193-10/+7
| | | | | | | | | Sorry for the flapping, but no change will be done for 4.0 anymore. Official standard will be published around April or later. If different format would be adopted at that time, then support for the new format will be added to the succeeding FreeBSD 4.x. Approved by: jkh
* Correct an error message presumably as a result of cut/paste.peter2000-02-181-1/+1
| | | | kvm_getfiles() referred to itself as kvm_getprocs().
* Fix the installworld breakage from rev 1.9.ru2000-02-182-10/+8
| | | | | | | Submitted by: reg Reviewed by: ru Approved by: jasone (rev 1.9) Pointy hat to: unfurl
* fixed missing trailing \unfurl2000-02-182-2/+2
| | | | Submitted by: Thimble Smith <tim@mysql.com>
* Hide more debugging behind isDebug(); what's currentlyjkh2000-02-181-2/+4
| | | | spewing out will only alarm people.
* Adds missing symlinks for pthread related manpages.unfurl2000-02-182-0/+6
| | | | | | PR: 16537 Submitted by: AnarCat <beaupran@iro.umontreal.ca> Approved by: jasone
* Fix null-pointer dereference crash when the system is intentionallydillon2000-02-161-1/+2
| | | | | | | | | | | | | | | | run out of KVM through a mmap()/fork() bomb that allocates hundreds of thousands of vm_map_entry structures. Add panic to make null-pointer dereference crash a little more verbose. Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number of mmap()'d spaces (discrete vm_map_entry's in the process). The value defaults to around 9000 for a 128MB machine. The test is scaled for the number of processes sharing a vmspace (aka linux threads). Setting the value to 0 disables the feature. PR: kern/16573 Approved by: jkh
* For errors, return -1 and set errno to indicate the error type, rather thanjasone2000-02-163-48/+99
| | | | | | | | | returning the error directly. For sem_post(), make sure that the correct thread is woken up. This has unfortunate performance implications, but is necessary for POSIX compliance. Approved by: jkh
* Add man pages for the sem_*() functions.jasone2000-02-1620-8/+1535
| | | | Approved by: jkh
* Add libhistory.so.3 from 3.4-RELEASE.obrien2000-02-162-3/+226
| | | | Approved by: JKH
* Fix coredump in gethostbyaddr() when the returned answer is too large tofenner2000-02-161-0/+4
| | | | | | | | | fit in the static buffer. This fix causes it to look like there is no data available, which is also wrong but is better than dumping core. PR: bin/10344 Reviewed by: billf Approved by: jkh
* Add libwrap and libutil from 3.4-RELEASE due to shlib version bump in 4.0.obrien2000-02-143-1/+586
|
* Update major version.shin2000-02-141-2/+2
| | | | | | | | | | Now libutil depends on libc.so.4, so needs to update the major version. Without this, old binaries which use libutil and build with libc.so.3 will coredump on recent 4.0. Solicited comment for cvs-committers and there seems to be no objection. Approved by: jkh
* Remove the version information from `.Os FreeBSD' here. Not onlychris2000-02-141-1/+1
| | | | | | | | might it confuse people, but it causes a warning message with nroff, and no version history mentions a 1.2 version of FreeBSD. If anything, a ``HISTORY'' section should show which version this appeared in.
* Repair misspelled `.Pp' directive:chris2000-02-141-1/+1
| | | | .PP -> .Pp
* Replace `.Os BSD' which caused a troff error with `.Bx' which alsochris2000-02-141-1/+1
| | | | happens to be the correct macro to use in this situation.
* Update major version.shin2000-02-121-0/+2
| | | | | | | | | | Now libwrap depends on libc.so.4, so needs to update the major version. Without this, old binaries which use libwrap and build with libc.so.3 will coredump on recent 4.0. Approved by: jkh Reviewed by: markm
* Document the support in the kernel for hardware debug registers on theobrien2000-02-121-1/+20
| | | | | | ix86 platform which allows for hardware watchpoints, etc... Submitted by: Brian Dean <brdean@unx.sas.com>
* Add functions which allow i/o memory to be accessed without forcing adfr2000-02-122-5/+26
| | | | | | memory barrier (needed for XFree86 4.0). Approved by: jkh
* Document mixpasswordcase here as well as in passwd.1nik2000-02-111-0/+3
|
* Add more dual stack consideration.shin2000-02-101-1/+5
| | | | | | | | -Should not error return when rresvport_af() failed for one of dest addrs resolved by getaddrinfo(). Should retry until all dest addr fail. Approved by: jkh
* Let getaddrinfo() and related functions supports traditional IPv4 formatshin2000-02-102-4/+10
| | | | | | | | | | | | | | | | | | | | | | | (shortend format, etc) Current KAME getaddrinfo() supports only d.d.d.d format IPv4 addr. But traditionally inet_aton() and etc support other formats. (shortend format and octal/deciaml/hex format) Aboud this, -As far as the discussion on freebsd-current, many people think traditional format should also be supported by getaddrinfo(). -X/Open spec requires getaddrinfo() also support those traditional IPv4 format. -RFC2553 say nothing about it. -As the result of confirmation in ietf/ipng list, there is no clear concensus yet, and the reply was, "RFC2553 update and X/Open spec will be in sync" So takeing these conditions into account, I think getaddrinfo() should also support traditional IPv4 format. Specified by: Marc Schneiders <marc@oldserver.demon.nl> Approved by: jkh
* Replace the existing documentation for ``KERN_QUANTUM'' with a morechris2000-02-101-4/+2
| | | | descriptive (and generally more useful) explanation.
* IPv6 scoped addr format is changed as recent KAME change.shin2000-02-092-6/+16
| | | | | | | | | | | | | | KAME scoped addr format is changed recently. before: addr@scope now: scope%addr Because the end of IPv6 numeric addr is tend to be truncated in `netstat -rn ` output, so placing scope part at starting of addr will be convenient. Approved by: jkh Obtained from: KAME project
* There is a problem in that one cannot use ctype.h at the same time as partsobrien2000-02-082-49/+145
| | | | | | | | | | | | | | of the C++ stdlib. Our ctype.h uses symbols of the form _<X> to denote the various character classes. Our ctype.h also extends the usual ctype.h offering by adding the "_T" (special) class. Problem is parts of the STL also use the symbol "_T" as its parameterized type. These two uses are incompatible. Thus change the form of the symbols used in ctype to something that fixes the current problem and is less likely to cause conflicts in the future. Requested by: Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp> Ok'ed by: JKH
* Revert part of the last commit, remove {g|s}etflags from the libcjoe2000-02-051-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh
* Missing tcp_wrapper IPv6 support seemed to be a bug, so commit it.shin2000-02-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Now when tcp_wrapper is enabled by inetd -wW, several accesses which should be permitted are refused only for IPv6, if hostname is used to decide the host to be allowed. IPv6 users will be just upset. About security related concern. -All extensions are wrapped by #ifdef INET6, so people can completely disable the extension by recompile libwrap without INET6 option. -Access via IPv6 is not enabled by default. People need to enable IPv6 access by changing /etc/inetd.conf at first, by adding tcp6 and/or tcp46 entries. -The base of patches are from KAME package and are actually daily used for more than a year in several Japanese IPv6 environments. -Patches are reviewed by markm. Approved by: jkh Submitted by: Hajimu UMEMOTO <ume@mahoroba.org> Reviewed by: markm Obtained from: KAME project
* Set libipsec shared library number to 0shin2000-02-031-0/+2
| | | | | | | | | When libipsec library is created, no SHLIB numbers are specified in the Makefile. Then the library version was set to 2.(by default?) So change it to 0. For now it should not be problem, because the contents are same. I'll also prepare an entry for UPDATING.
* The flags PKT_ALIAS_PUNCH_FW and PKT_ALIAS_PROXY_ONLY were botharchie2000-02-021-1/+1
| | | | | | | being defined as 0x40. Change the former to be 0x100. Submitted by: Erik Salander <erik@whistle.com> Approved by: jkh
* Mention what PKT_ALIAS_PROXY_ONLY does.brian2000-02-021-1/+6
| | | | Prompted by: archie
* sync iruserok() extension API with other BSDsshin2000-02-011-28/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of rcmd related function is need to be updated to support IPv6. Some of them are already updated as standard document. But there is also several de-facto functions and they are not listed in standard documents. They are, iruserok() (used by rlogind, rshd) ruserok() (used by kerberos, etc) KAME package updated those functions in original way. iruserok_af() ruserok_af() But recently there was discussion on IETF IPng mailing list about how to sync those API, and it is decided, -Those function is not standard and not documented. -But let BSDs sync their API as de-facto. And after some discussion, it is announced that -add update to iruserok() as iruserok_sa() -no ruserok() API change(it is only updated internaly) So I sync those API before 4.0 is released. The changes are, -prototype changes -ruserok() internal update (use iruserok_sa() inside) -removal of ruserok_af() -change iruserok_af() as static functioin, and also prefix the name with __. -add iruserok_sa() (Just call __iruserok_af() inside) -adding flag AI_ALL to getipnodebyaddr() called from __icheckhost(). This is necessary to support IPv4 communication via AF_INET6 socket could be correctly authenticated via iruserok_sa() -irusreok_af() call is replaced to iruserok_sa() call in rlogind, and rshd. Approved by: jkh
* Upgrade to libpcap 0.5fenner2000-01-301-2/+2
|
* Use __strong_reference() instead of __weak_reference() to assure that thejasone2000-01-2960-60/+60
| | | | weak symbols of the same name are not used.
* Merge from RELENG_3 (oops):chris2000-01-291-5/+5
| | | | | resolved_name -> resolved_path resolvedname -> resolved_path
* Undo the ill-conceived breakage of the previous commit and really fix:jasone2000-01-293-26/+28
| | | | | | | | | | | | | | | | | | | | | | | | | For libc_r renamed syscalls, correct symbol naming from _thread_sys_foo() <-- _foo() to _thread_sys_foo() <-- _foo() <-- foo(). This is necessary for system calls which libc_r doesn't define foo(). Some weak symbols such as poll() are defined twice. From what I understand, depending on one weak symbol or the other to be used is a bad idea. All such weak symbols defined in the libc_r-specific code should therefore be made strong (non-weak?). Simplify PSEUDO() to not define any weak symbols, since they aren't ever needed. alpha/SYS.h: Correct reversed usage of WEAK_ALIAS(), which has reversed arguments from __weak_reference(). Also, fix reversal of symbols, so that syscall foo() is a weak alias for _foo(). Add WEAK_ALIAS() call to PRSYSCALL(), which unlike the i386 version of PRSYSCALL(), is not defined in terms of PSYSCALL(). Make PSEUDO() equivalent to the i386 version.
* Fix various typos and mdoc style issues.mpp2000-01-2922-108/+200
| | | | Reviewed by: rwatson
* Grammar fix: ``Different than'' should really be ``different from''.chris2000-01-291-1/+1
|
* Revive the warning that dllockinit() is experimental and subject tojdp2000-01-291-1/+6
| | | | change.
* For syscalls that are renamed to _thread_sys_foo, create a weak aliasjasone2000-01-283-16/+16
| | | | called _foo, not _thread_sys_foo.
* Use _fcntl() (not fcntl()) inside of fcntl().jasone2000-01-283-9/+9
| | | | Reported by: green
OpenPOWER on IntegriCloud