summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Summer of Code 2005: improve libalias - part 1 of 2piso2006-09-2612-13/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru
* Fix typovd2006-09-261-2/+1
| | | | | | PR: docs/103666 Submitted by: vd Approved by: maxim
* Hook up additional OpenBSM man page aliases following OpenBSM 1.0 alpha 12rwatson2006-09-251-11/+20
| | | | | | | import. Most of these should have existed previously, but didn't. MFC after: 3 days Obtained from: TrustedBSD Project
* Keep compatible parts in sync with OpenBSD v1.21, add some comments.ache2006-09-231-15/+7
| | | | No functional changes.
* Remove code #ifndef'ed in prev. commit to stay in sync with OpenBSDache2006-09-221-12/+0
| | | | v1.21 which just do that.
* Be more GNU compatible:ache2006-09-221-2/+5
| | | | | | don't be greedy on the GNU "::" extension when arg separated by whitespace and POSIX_CORRECTLY is set. From POSIX point of view this is unclear situation, so minimal assumption looks right.
* Do not declare __evOptMonoTime static in one place and externkan2006-09-221-0/+2
| | | | in another. GCC4 does not like that.
* Use correct type in va_arg argument.kan2006-09-212-2/+2
|
* remove thr_getscheduler, thr_setscheduler, thr_setschedparam,davidxu2006-09-211-9/+3
| | | | add rtprio_thread.
* use rtprio_thread system call to get or set thread priority.davidxu2006-09-217-16/+90
|
* Silence GCC4 warning.kan2006-09-216-4/+6
| | | | strlen, strcmp live in <string.h> not <string.h>.
* Don't forget to set internal error message in kvm_nlist().wkoszek2006-09-201-2/+7
| | | | Approved by: cognet (mentor)
* Hook up au_open.3 man page (and its symlinks), apparently missed duringrwatson2006-09-191-0/+5
| | | | | | | initial OpenBSM merge. Obtained from: TrustedBSD Project MFC after: 3 days
* o Don't fseek() on closed file.maxim2006-09-181-2/+2
| | | | | Submitted by: pgollucci@p6m7g8.com, Mark Costlow MFC after: 3 weeks
* Markup fixes.ru2006-09-1727-184/+196
|
* Remove more traces of Alpha.ru2006-09-171-4/+0
|
* Reject user with names that are longer than OPIE is willing to deal with;des2006-09-151-4/+13
| | | | | | | otherwise OPIE will happily truncate it. Spotted by: ghelmer MFC after: 2 weeks
* Remove reference to T/TCP.joel2006-09-131-5/+2
| | | | Reviewed by: andre
* Bump .Dd.joel2006-09-131-1/+1
| | | | Noticed by: danger
* Remove references to the pam(8) manual page. It does not exist.joel2006-09-131-1/+0
| | | | | Requested by: novel Discussed with: brueffer, simon
* Fix a typobrian2006-09-101-2/+2
|
* Sync with NetBSD rev. 1.16 + 1.17mbr2006-09-091-2/+5
| | | | | | | | Coverity CID 2292: Plug memory leak. Coverity CID 2291: Move function call before allocating storage to prevent memory leak on error. MFC after: 1 month
* Sync with NetBSD rev. 1.29mbr2006-09-091-0/+4
| | | | | | Coverity CID 2293: Fix memory leak. MFC after: 1 month
* Sync with NetBSD rev. 1.6 + 1.7mbr2006-09-091-4/+4
| | | | | | Coverity CID 779 + 780: Avoid NULL pointer dereference. MFC after: 1 month
* Sync with NetBSD rev. 1.20 + 1.21mbr2006-09-091-6/+11
| | | | | | | Coverity CID 2284: Fix multiple memory leaks. Coverity CID 710: Remove unreachable code. MFC after: 1 month
* Sync with NetBSD rev. 1.10mbr2006-09-091-0/+1
| | | | | | Coverity CID 2276: Don't leak memory on error. MFC after: 1 month
* Sync with NetBSD rev. 1.15mbr2006-09-091-0/+1
| | | | | | Coverity CID 2275: Avoid memory leak on error. MFC after: 1 month
* Sync part of NetBSD rev. 1.14mbr2006-09-091-1/+1
| | | | | | | Fix unpaired sigblock which possibly leaves the process with all signals blocked. MFC after: 2 weeks
* Sync with NetBSD rev. 1.16 + 1.17mbr2006-09-091-1/+4
| | | | | | | Coverity CID 3651: Don't leak ifaddrs on getaddrinfo failure. Coverity CID 2283: Don't leak sys_auth on error. MFC after: 1 month
* Change the way base allocation is done for internal malloc datajasone2006-09-081-56/+93
| | | | | | | structures, in order to avoid the possibility of attempted recursive lock acquisition for chunks_mtx. Reported by: Slawa Olhovchenkov <slw@zxy.spb.ru>
* Use return value of _thr_umutex_lock instead of using zero.davidxu2006-09-081-2/+1
|
* Minor comment fix.thomas2006-09-081-1/+1
|
* Replace internal usage of struct umtx with umutex which can supportsdavidxu2006-09-0614-158/+94
| | | | real-time if we want, no functionality is changed.
* alloca() cannot check if the allocation is valid; mention the consequences.ru2006-09-051-4/+13
| | | | Obtained from: OpenBSD
* GC dead code. If we want to stay polite to the foreign compilers,ru2006-09-052-63/+1
| | | | | | we can find another way to issue an #error, but using a preprocessed assembler for that purpose and clobbering libc.a with an empty .o just for the sake of #error reporting is way too much of a burden.
* Same as pthread_setschedparam, use sizeof(struct sched_param) instead.davidxu2006-09-051-2/+2
|
* Pass correct parameter size.davidxu2006-09-051-2/+2
|
* Some minor corrections:kientzle2006-09-0510-41/+127
| | | | | | | * Expose functions for setting the "skip file" dev/ino information * Expose functions for setting/querying the block size on reads * Correctly propagate errors out of archive_read_close/archive_write_close * Update manpage with information about new functions
* (pw_copy): Handle the case of a malformed line in master.passwdthomas2006-09-041-2/+11
| | | | | | | | (copy it silently, do not dereference NULL pointer). PR: bin/102848 Reviewed by: security-officer (cperciva) MFC after: 1 week
* Whitespace fix.marcel2006-09-021-1/+1
|
* Stylize:marcel2006-09-014-70/+102
| | | | | | | o avoid using a global register variable. o redefine struct ia64_tp as a union. We don't have to get to the fields themselves. We just need it to be of the right size with the right alignment.
* Stylize: avoid using a global register variable.marcel2006-09-012-6/+8
|
* Enable TLS on PowerPC.marcel2006-09-011-1/+0
|
* The ucontext is 16-byte aligned, which means that struct tcb ismarcel2006-09-012-0/+2
| | | | | | | 16-byte aligned. Consequently, struct tcb is a multiple of 16 bytes in size. We need to make sure there's no padding after struct ppc32_tp. We do this by explicitly adding the necessary padding in front of it.
* Stylize. Introduce ppc_{get|set}_tp() and ppc_{get|set}_tcb() tomarcel2006-09-014-58/+118
| | | | abstract the magic that happens when deriving one or the other.
* Fix style(9) in code copied from rtld.marcel2006-09-011-3/+3
|
* Rename TLS_TP_OFFSET back to TP_OFFSET. The former clashes with rtld.marcel2006-09-011-3/+3
|
* Enable TLS on ia64.marcel2006-09-011-1/+0
|
* Implement TLS.marcel2006-09-018-100/+122
|
* Stylize.marcel2006-09-012-17/+11
|
OpenPOWER on IntegriCloud