kmacy
ea415a0be8
unbreak build for sparc64 etc.
...
TARGET won't be defined on non subarches
Approved by: rwatson (mentor)
Reviewed by: jmg
2006-10-09 05:12:54 +00:00
kmacy
a37c943bc5
buildworld fixes for sun4v
...
not sure why pmap.c is included as it is unchanged
Approved by: rwatson (mentor)
Reviewed by: jmg
2006-10-09 04:58:45 +00:00
piso
5696dc1060
Fix a regression: let natd load libalias modules before /usr is mounted
...
renaming /lib/libalias_*.so.4 to /lib/libalias_*.so.
Approved by: glebius
Reviewed by: glebius, ru
2006-10-08 14:02:00 +00:00
kmacy
3785d22822
Fix TLS on sparc64 for statically and dynamically linked binaries
...
Approved by: rwatson (mentor)
Reviewed by: jmg and marcel
2006-10-08 02:50:34 +00:00
trhodes
1f27dd98e0
getenv.3: Put "is" on a line with other words
...
getobjformat.3: "takes precedence over" is not an envrionment variable.
PR: 75545
Submitted by: n-kogane@syd.odn.ne.jp
MFC after: 3 days
2006-10-07 21:27:21 +00:00
trhodes
a906aad1ec
Reword previous delta a little bit.
...
Submitted by: ru
2006-10-07 10:49:20 +00:00
trhodes
57665efa96
Fix ambiguity in description. Note that the aio_return() system call should
...
only be called once after failure or completion of an AIO request. Bump doc
date while I'm here.
Noticed by: Samy Al Bahra
2006-10-07 05:34:51 +00:00
trhodes
d96e9c3643
Add missing word "returns."
...
Noticed by: Samy Al Bahra
2006-10-07 05:13:32 +00:00
davidxu
d31c0f57db
Remove libc_r support.
2006-10-05 06:26:31 +00:00
kientzle
91ef326cd2
Performance: If the dir mode requested is "reasonable", then just
...
restore it directly and skip chmod() during the post-extract fixup.
In particular, bsdtar -xm now completely skips the post-extract fixup
for directories, which produces a noticable speedup in that case.
2006-10-04 02:08:04 +00:00
ache
152e82b738
Automatically re-stir every 400000 calls
...
Obtained from: OpenBSD
2006-10-04 01:17:23 +00:00
ru
b6d284e093
Fix build.
2006-09-30 20:33:42 +00:00
ru
6e2dfd0e20
Removed libc_r build support.
2006-09-30 11:32:46 +00:00
ru
81bed6b884
Revise markup in recently added manpages.
2006-09-30 10:34:13 +00:00
ru
1da895d121
Fix markup, language, function prototype, and example code.
2006-09-30 10:24:00 +00:00
ru
930749d9ee
Markup nit.
2006-09-29 22:57:22 +00:00
ru
0ff3b55dca
- Removed a copyright from makefile.
...
- Added ${.CURDIR} to .include "...".
- Whitespace fixes.
OK'ed by: piso
2006-09-27 12:30:27 +00:00
ru
5af6b1e9b0
Put back NO_WERROR= to fix sparc64 build.
2006-09-27 10:30:17 +00:00
piso
5582e56d9d
Summer of Code 2005: improve libalias - part 1 of 2
...
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
2006-09-26 23:26:53 +00:00
vd
2fdf351700
Fix typo
...
PR: docs/103666
Submitted by: vd
Approved by: maxim
2006-09-26 09:47:46 +00:00
rwatson
9532b696ac
Hook up additional OpenBSM man page aliases following OpenBSM 1.0 alpha 12
...
import. Most of these should have existed previously, but didn't.
MFC after: 3 days
Obtained from: TrustedBSD Project
2006-09-25 11:53:58 +00:00
ache
b8fd741213
Keep compatible parts in sync with OpenBSD v1.21, add some comments.
...
No functional changes.
2006-09-23 14:48:31 +00:00
ache
b4df5c3aa1
Remove code #ifndef'ed in prev. commit to stay in sync with OpenBSD
...
v1.21 which just do that.
2006-09-22 18:59:03 +00:00
ache
eb7bc007cc
Be more GNU compatible:
...
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.
2006-09-22 17:01:38 +00:00
kan
5f08ee5bca
Do not declare __evOptMonoTime static in one place and extern
...
in another. GCC4 does not like that.
2006-09-22 01:52:26 +00:00
kan
ac7b520bb5
Use correct type in va_arg argument.
2006-09-21 14:40:20 +00:00
davidxu
8f17739963
remove thr_getscheduler, thr_setscheduler, thr_setschedparam,
...
add rtprio_thread.
2006-09-21 04:22:46 +00:00
davidxu
d2c57b7fad
use rtprio_thread system call to get or set thread priority.
2006-09-21 04:21:30 +00:00
kan
4c44b31e5d
Silence GCC4 warning.
...
strlen, strcmp live in <string.h> not <string.h>.
2006-09-21 01:30:04 +00:00
wkoszek
0f11fa239b
Don't forget to set internal error message in kvm_nlist().
...
Approved by: cognet (mentor)
2006-09-20 12:09:21 +00:00
rwatson
3aa148db24
Hook up au_open.3 man page (and its symlinks), apparently missed during
...
initial OpenBSM merge.
Obtained from: TrustedBSD Project
MFC after: 3 days
2006-09-19 08:30:34 +00:00
maxim
93ed40a8c9
o Don't fseek() on closed file.
...
Submitted by: pgollucci@p6m7g8.com , Mark Costlow
MFC after: 3 weeks
2006-09-18 09:34:48 +00:00
ru
f4eec08060
Markup fixes.
2006-09-17 21:27:35 +00:00
ru
b4db035948
Remove more traces of Alpha.
2006-09-17 20:53:30 +00:00
des
22cf0fa876
Reject user with names that are longer than OPIE is willing to deal with;
...
otherwise OPIE will happily truncate it.
Spotted by: ghelmer
MFC after: 2 weeks
2006-09-15 13:42:38 +00:00
joel
4d276cbac6
Remove reference to T/TCP.
...
Reviewed by: andre
2006-09-13 19:48:00 +00:00
joel
e751eb9832
Bump .Dd.
...
Noticed by: danger
2006-09-13 18:34:32 +00:00
joel
e532d7ce17
Remove references to the pam(8) manual page. It does not exist.
...
Requested by: novel
Discussed with: brueffer, simon
2006-09-13 17:46:20 +00:00
brian
c4fc7dad18
Fix a typo
2006-09-10 20:41:33 +00:00
mbr
283bae6f03
Sync with NetBSD rev. 1.16 + 1.17
...
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
2006-09-09 22:33:21 +00:00
mbr
958b62e8da
Sync with NetBSD rev. 1.29
...
Coverity CID 2293: Fix memory leak.
MFC after: 1 month
2006-09-09 22:32:07 +00:00
mbr
5fb3f2afad
Sync with NetBSD rev. 1.6 + 1.7
...
Coverity CID 779 + 780: Avoid NULL pointer dereference.
MFC after: 1 month
2006-09-09 22:29:16 +00:00
mbr
f5fc251a25
Sync with NetBSD rev. 1.20 + 1.21
...
Coverity CID 2284: Fix multiple memory leaks.
Coverity CID 710: Remove unreachable code.
MFC after: 1 month
2006-09-09 22:26:47 +00:00
mbr
a71d32ed3c
Sync with NetBSD rev. 1.10
...
Coverity CID 2276: Don't leak memory on error.
MFC after: 1 month
2006-09-09 22:22:39 +00:00
mbr
cbf797decd
Sync with NetBSD rev. 1.15
...
Coverity CID 2275: Avoid memory leak on error.
MFC after: 1 month
2006-09-09 22:21:15 +00:00
mbr
a197a4c83b
Sync part of NetBSD rev. 1.14
...
Fix unpaired sigblock which possibly leaves the process with all
signals blocked.
MFC after: 2 weeks
2006-09-09 22:18:57 +00:00
mbr
bc9ee76c28
Sync with NetBSD rev. 1.16 + 1.17
...
Coverity CID 3651: Don't leak ifaddrs on getaddrinfo failure.
Coverity CID 2283: Don't leak sys_auth on error.
MFC after: 1 month
2006-09-09 22:14:42 +00:00
jasone
ce0ab81797
Change the way base allocation is done for internal malloc data
...
structures, in order to avoid the possibility of attempted recursive
lock acquisition for chunks_mtx.
Reported by: Slawa Olhovchenkov <slw@zxy.spb.ru>
2006-09-08 17:52:15 +00:00
davidxu
e83ab88356
Use return value of _thr_umutex_lock instead of using zero.
2006-09-08 09:29:14 +00:00
thomas
e5de30ab6d
Minor comment fix.
2006-09-08 08:14:32 +00:00