cognet
93ee84a578
Cleanup: we always have to use __error() now, and we shouldn't provide a
...
errno symbol, so completely remove the !_REENTRANT case.
Spotted out by: ru
2006-11-09 01:28:16 +00:00
ru
adde7c231a
Remove a forgotten file.
2006-11-08 21:29:20 +00:00
simon
bee45f8f12
Fix infinite loop in corrupt archives handling in libarchive(3).
...
Reported by: rink
Submitted by: kientzle
Security: FreeBSD-SA-06:24.libarchive
2006-11-08 14:03:50 +00:00
cognet
367bc6b8e0
Instead of re-implementing hton[ls] and friends for each arch, add a new MI
...
file, net/ntoh.c, which just implement them using the inline functions from
<sys/endian.h>.
Suggested by: bde
2006-11-06 22:07:47 +00:00
cognet
55a9fb22cc
Provide definitions suitable for arm big-endian.
2006-11-06 20:49:23 +00:00
rwatson
ef1d02698e
Remove sys/uio.h include -- this is no longer required by the extattr
...
system call API.
MFC after: 3 weeks
2006-11-06 15:12:43 +00:00
kientzle
109c8f1daf
Eliminate documentation references to a non-existent function.
2006-11-06 00:28:46 +00:00
kientzle
dce2089396
Computing SHLIB_MAJOR is not a good idea. It's really a FreeBSD
...
system value that has no real relation to the libarchive version.
(Except, of course, that any ABI breakage will force both to be
incremented.)
2006-11-06 00:24:57 +00:00
kientzle
ba33e1d526
Remove an unused declaration.
2006-11-06 00:16:40 +00:00
trhodes
444451185b
Fix a typo: "the give login class" to "the given login class."
...
PR: 75577
Submitted by: Nobuyuki Koganemaru
2006-11-05 19:00:08 +00:00
lawrance
20a2ef67d2
Document return values for res_query and res_search.
...
h_errno is not an extern int, just a macro providing an integer lvalue.
PR: doc/50573
Submitted by: Ronald F.Guilmette <rfg@monkeys.com>
Reviewed by: trhodes
MFC after: 3 days
2006-11-04 09:42:22 +00:00
danger
b5fdd84df7
- clock_gettime is in time.h instead of sys/time.h
...
Approved by: trhodes (mentor), keramida (mentor)
PR: docs/104707
MFC-after: 3 days
2006-11-04 09:35:36 +00:00
kmacy
73954d8d22
- change ABI for user trap handler for sun4v (eventually will sync sparc64 no
...
hardware set up to test at the moment)
Approved by: scottl (standing in for mentor rwatson)
2006-11-03 23:43:18 +00:00
ru
6332347a51
Replace the SEE ALSO xrefs with a more reasonable set stolen from POSIX.
2006-11-02 14:10:56 +00:00
mjacob
19b599de4a
2nd and final commit that moves us to CAM_NEW_TRAN_CODE
...
as the default.
Reviewed by multitudes.
2006-11-02 00:54:38 +00:00
pjd
1f52d4e246
Document MNT_GJOURNAL option.
2006-11-01 23:40:44 +00:00
pjd
51fb042070
Implement cgwrite1(3) function which stored a given cylinder group on disk.
...
Sponsored by: home.pl
2006-10-31 21:21:48 +00:00
bde
fd31361d3d
Backed out rev.1.10 (a special case for amd64). The amd64 mcount code
...
never needed any frame pointers for itself.
2006-10-28 13:34:35 +00:00
ru
e80cd771cb
Add missing markup bits.
...
Submitted by: Emil Mikulic
2006-10-28 13:05:10 +00:00
maxim
5c30a548b8
o Fix function name.
...
Obtained from: DragonFlyBSD
MFC after: 1 week
2006-10-28 10:53:39 +00:00
jb
f82c799735
Make KSE a kernel option, turned on by default in all GENERIC
...
kernel configs except sun4v (which doesn't process signals properly
with KSE).
Reviewed by: davidxu@
2006-10-26 21:42:22 +00:00
ume
89159bd1c6
Merge res_send.c of BIND9 9.3.3rc2 into main chunk. It includes
...
following fix:
Retransmission timeouts should be based on which attempt
it is to the nameserver and not the nameserver itself.
Obtained from: ISC
MFC after: 3 days
2006-10-24 14:41:43 +00:00
kib
e6083a98d8
Revert the rev. 1.4, it causes breakage on most arches except i386.
...
Remove the const qualifier from ap argument for __v2printf, that induced
that breakage, and seems to be the real reason for bad code. ap is modified
inside the __v2printf body by va_arg macro.
Pointy hat to: kib
Approved by: pjd (mentor)
2006-10-23 07:25:25 +00:00
simon
16797e6408
Minor markup fix: A comma should be seperated by space from macro
...
argument. This resulted in "pwritev,()" instead of the intended
"pwritev()," in the output.
MFC after: 3 days
2006-10-21 20:36:50 +00:00
ru
85a0824042
Avoid a potential hard sentence break.
2006-10-21 18:03:53 +00:00
maxim
993b54a4b0
o Fix typo.
...
Obtained from: DragonFlyBSD
MFC after: 1 week
2006-10-21 15:12:36 +00:00
kib
3c7ee268c4
Workaround for (what seems to be) compiler error for gcc 3.4.6. On
...
i386 with default optimization level (-O2), va_list pointer ap in the
__v2printf function is advanced before the use. That cause argument
shift and garbage instead last argument in printf-family when xprintf is
activated.
The nsswitch is easy victim of the bug.
Reviewed by: kan
Approved by: kan (mentor)
MFC after: 1 week
2006-10-21 11:49:07 +00:00
davidxu
df52e86556
remove libc_r remanent.
2006-10-20 14:15:42 +00:00
glebius
221ee422f9
Include sys/socket.h to know about sa_family_t.
2006-10-17 16:56:29 +00:00
ache
9a7ddac59a
file == NULL:
...
Issue __sflush() before possible setting O_APPEND mode or ftruncate(),
write to wrong place may occurse oserwise.
Use simplified _sseek() to the start, if no O_APPEND is set, instead
of _fseeko() (_sseek() to the end, if O_APPEND, occurse later, as for
file != NULL).
Don't check seek error return, as original fopen() and freopen() never
does.
file != NULL:
Add missing _sseek() to the end.
2006-10-16 14:31:56 +00:00
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