ache
98e47524e9
Honor errno obtained from __sflags
...
Move errno restoring after FUNLOCKFILE in one case
2006-10-16 09:57:15 +00:00
ache
5b6b5391fa
Back out ftruncate error handling. There can some file tipes
...
f.e. sockets when ftruncate normally fail.
2006-10-16 09:39:15 +00:00
ache
ce03393cc5
Do real seek
...
Catch ftruncate errors
PR: 104295
Submitted by: ru (seek)
2006-10-15 16:24:31 +00:00
bde
d36e6277cb
Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++
...
isn't broken,
PR: 104425
2006-10-14 20:35:56 +00:00
davidxu
e8a2970aaf
Don't inherit THR_FLAGS_NEED_SUSPEND for child process, child process
...
only has one thread, setting the flag can cause the thread to be
suspended and no another thread will resume it.
2006-10-14 13:40:08 +00:00
tegge
aa695ee90e
Backout unblocking of signal if no threads can currently handle it.
...
The check for pending signal after direct invocation of signal handler
is sufficient.
2006-10-14 01:11:44 +00:00
davidxu
653013bedc
o Make _thr_umutex_init a function.
...
o Eliminate unused parameter for some functions.
o Convert type of first parameter to void * for _thr_umtx_wait
and _thr_umtx_wake.
2006-10-13 22:31:00 +00:00
ru
113e32ee73
Forgot to bump the document date.
2006-10-13 20:34:44 +00:00
ru
b942ce05ed
Some word smithing adopted from the PR.
...
PR: docs/54451
Originally by: Andreas Fuchs
Adopted by: jhb
MFC after: 3 days
2006-10-13 20:28:58 +00:00
tegge
d21c14576e
Delay unblocking signal and restoring process signal mask until the
...
thread signal mask has been updated to avoid stack overflow during signal
bursts.
Don't block signal forever if no threads can currently handle signal.
Check for pending signal after direct invocation of signal handler.
2006-10-13 20:12:07 +00:00
tegge
8f000653f2
Delay setting wakeup time until after poll array has been allocated.
...
Blocking on the malloc spinlock would cause the select timeout to be lost.
2006-10-13 20:04:13 +00:00
tegge
6ddeb6ab39
Sync thread jump table with libc and other thread libraries.
2006-10-13 20:01:40 +00:00
ru
89970b0707
Add missing comma.
2006-10-13 16:11:12 +00:00
davidxu
4fdad8dba6
Use type pthread_state for thread state.
2006-10-13 12:45:21 +00:00
ru
1db31f4d88
Use normal parentheses.
...
PR: docs/84549
Submitted by: Gary W. Swearingen
MFC after: 3 days
2006-10-12 20:50:26 +00:00
ru
d510dd202f
Don't say "rightmost" when referring to the least significant bit.
...
PR: docs/94803
MFC after: 3 days
2006-10-12 15:08:41 +00:00
ru
f2378ce746
The pam_unix module also provides password management.
...
PR: docs/93491
Submitted by: Lior Kadosh
MFC after: 3 days
2006-10-12 15:00:17 +00:00
ru
6cd9b8b511
More accurately document the implementation details of internal storage.
...
PR: docs/82508
2006-10-12 14:31:17 +00:00
ru
edfb232c7d
Link select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).
...
PR: docs/57974
MFC after: 3 days
2006-10-12 13:46:33 +00:00
ru
f31ae74951
Document S_IRWXU and permission bits for group/other.
...
PR: docs/57153
MFC after: 3 days
2006-10-12 13:35:07 +00:00
ru
dc9cd76103
Document what "msgsz" argument really denotes. [1]
...
Don't say that "msgsz" can be less than 0, it cannot
as it's unsigned (POSIX has the same bug).
PR: docs/101145 [1]
MFC after: 3 days
2006-10-12 11:42:41 +00:00
trhodes
784213457b
Note that the value from getenv() should not be modified by applications.
...
PR: 60544
Reviewed by: ru
2006-10-12 08:39:24 +00:00
kmacy
ad9b4ceef9
fix bus error in newsyslog by making sure that fields in struct fpemu
...
that are accessed as 8 byte quantities are 8 byte aligned
2006-10-12 04:38:41 +00:00
maxim
6a25457482
o Follow the trend and try to explain what the slow device is.
...
Not ideal but better than nothing.
Obtained from: OpenBSD, NetBSD
2006-10-11 13:33:02 +00:00
maxim
f4bd36942d
o From kern_prot.c::p_cansignal():
...
UNIX signalling semantics require that processes in the same
session always be able to deliver SIGCONT to one another,
overriding the remaining protections.
Fix SIGCONT special case description similar to rev. 1.22 kill.2.
PR: docs/58710
Submitted by: Ryan Younce
MFC after: 2 weeks
2006-10-10 11:37:41 +00:00
ru
c23de2fec8
Fix markup in previous revision.
2006-10-10 08:15:08 +00:00
trhodes
f19a940255
Add information on how to escape a literal colon in a value or name.
...
PR: 101262
2006-10-09 22:35:02 +00:00
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