Commit Graph

115234 Commits

Author SHA1 Message Date
nathanw
be42851d66 Test for pthread_exit() in the main thread with no other threads. 2003-07-22 21:27:58 +00:00
nathanw
dfd29b093b Add a test that a cancellation registered while cancellation is enabled
is not honored while cancellation is disabled.
2003-07-22 21:26:13 +00:00
yamt
808b43aeb1 fix garbages printed with -h option.
- always clear linebuffer.
- don't use an uninitialized variable.
2003-07-22 14:22:09 +00:00
lukem
4b391b57bf pass in -DHOSTPROG if a HOSTPROG 2003-07-22 13:58:49 +00:00
yamt
f5721758ca move pv_head and page attributes into md part of vm_page structure
instead of having separate arrays for them.
(i.e. use __HAVE_VM_PAGE_MD instead of __HAVE_PMAP_PHYSSEG.)
2003-07-22 13:55:31 +00:00
lukem
c0a8541252 oops, typo in previous. should have been COPTS.sha.c. (this was not being compiled anyway, but...) 2003-07-22 12:50:46 +00:00
lukem
77c4c3827a use COPTS.sha1.c=-O0 to turn off optimization for sha1.c 2003-07-22 12:39:24 +00:00
lukem
59efd8a9dd remove unnecessary rules 2003-07-22 12:34:40 +00:00
lukem
3839e0f0c0 use CPPFLAGS.getpwent.c=... to set file-specific cpp flags 2003-07-22 12:25:57 +00:00
dsl
f8beccb8d0 Ask for sets when doing 'install more sets' 2003-07-22 12:18:39 +00:00
simonb
ea8d25e941 Use local APIC id to determine boot CPU.
Fixes PR kern/20690 from Jaromir Dolecek.  Fix from fvdl.
2003-07-22 12:10:20 +00:00
simonb
4754215738 Clean up autoconfiguration output a little. 2003-07-22 11:59:55 +00:00
mrg
84813a0362 note SMP & xfree4 update. 2003-07-22 11:59:49 +00:00
mrg
3c0ab73024 note sparc port uses xf4 now 2003-07-22 11:50:45 +00:00
mrg
ad4196a2ab switch sparc port to xfree 4 tree. 2003-07-22 11:48:59 +00:00
mrg
11569a7f9b support XF4 on sparc. had to move parts of x{base,comp}4/mi into the
relevant ports as they do not apply to sparc (or other non-"hw/xfree86"
ports.)
2003-07-22 11:46:52 +00:00
dsl
92c7597c91 Specify username+password to ftp even when username is 'ftp'.
Only use 'ftp -a ...' when the username is ftp and the password is null.
Fixed PR install/13656
2003-07-22 11:45:16 +00:00
lukem
0b856bc2de use CPPFLAGS.filename=... to add file-specific overrides 2003-07-22 11:29:53 +00:00
itojun
c8ebadb000 unifdef -U_IP_VHL 2003-07-22 11:18:24 +00:00
itojun
da7d7203a8 fix comments, style 2003-07-22 11:12:15 +00:00
itojun
8f4ef7c537 clear enc/auth key before freeing 2003-07-22 11:01:09 +00:00
itojun
0d84200c22 clear scheduled key before freeing, for safety 2003-07-22 08:54:27 +00:00
itojun
18a884bc94 oops, forgot to bump version string 2003-07-22 08:46:03 +00:00
dsl
bdd53bdf93 Output a messge before the 5 second delay while the network comes up.
Ask user before deleting set files (fixes PR/7190).
2003-07-22 08:30:10 +00:00
lukem
29c0479a2a Add source-file-specific variables in <bsd.lib.mk> and <bsd.prog.mk>:
COPTS.<fn>	Additional flags to the compiler when creating the C objects
		for <fn>.

CPUFLAGS.<fn>	Additional flags to the compiler/assembler for <fn>.

CPPFLAGS.<fn>	Additional flags to the C pre-processor for <fn>.


(For <fn>.[ly], "<fn>.c" must be used.)
2003-07-22 06:53:21 +00:00
briggs
ed5f36a260 Deal with case where __data_store == _edata. 2003-07-22 04:57:24 +00:00
lukem
e87b2970a6 improve documentation for bsd.files.mk and bsd.kernobj.mk 2003-07-22 04:23:28 +00:00
itojun
c7bb6b93fd hmac-sha2 support 2003-07-22 03:42:18 +00:00
itojun
aa96314290 support hmac-sha2. 2003-07-22 03:41:28 +00:00
itojun
aada1051de support hmac-sha2 2003-07-22 03:38:14 +00:00
itojun
453e29a18a cleanup 2003-07-22 03:37:59 +00:00
itojun
0ee6664ebd support hmac-sha2 2003-07-22 03:33:10 +00:00
itojun
26585fc6b8 don't explicitly clear "reserved" field. instead clear "id" field. 2003-07-22 03:32:58 +00:00
itojun
24389b0290 plug memory leak 2003-07-22 03:32:17 +00:00
itojun
536967658d cosmetic 2003-07-22 03:31:44 +00:00
itojun
77283a8429 sha2 is needed for AH, not ESP 2003-07-22 03:26:16 +00:00
itojun
d64e1c8d6a add hmac-sha2 support. various cleanups (like avoid hardcoding '16').
from kame
2003-07-22 03:24:23 +00:00
itojun
409ba7efc4 cosmetic 2003-07-22 03:21:21 +00:00
lukem
70e86ffb8d add more rules to disable default '.cc -> NULL' transforms,
because the default rules cause problems if "valarray.cc" is newer
than "valarray" (for example)
2003-07-22 02:52:37 +00:00
itojun
e4feda72ab avoid code dup when check broadcast addr in bind(2) 2003-07-22 02:09:30 +00:00
nathanw
6d30f1a3db Disable cancellation on the first lock, too, not just on internal
recursive locks (Duh).

Disable cancellation around the cond_wait() call, since that's also a
cancellation point. Arguably, that would be better handled with
pthread_cleanup_*(), but stubbing those for libc is difficult, and the
current non-exception-based implementation of cleanup handlers is
probably no faster than disabling and reenabling cancellation.
Finally, it only happens in the slow path where the thread is going to
sleep anyway...
2003-07-22 00:56:25 +00:00
matt
9925d4a0c7 Since telnetd has ignored the USER environment variable for logging in for
quite a bit of time, make telnetd ignore it completely now.  This results
in the :if=: entry in the default gettytab entry to honored instead of
being ignored.  The -h option to telnetd will continue to suppress the
inclusion of :if=:
2003-07-22 00:03:26 +00:00
nathanw
6b22e87c69 Whitespace. 2003-07-21 22:57:46 +00:00
nathanw
5a5cd67fff Set the _LOCKINTERNAL() count on initial locking as well as subsequent
recursive locks.
2003-07-21 22:24:47 +00:00
nathanw
0878df5d25 Lock accesses to pt_flags and pt_cancel.
When disabling cancellation, clear the pt_cancel flag if it was set
and note the cancellation request with PT_FLAG_CS_PENDING. This avoids
a problem where a cancellation request entered but not acted upon before
pthread_setcanclstate(PTHREAD_CANCEL_DISABLE) is called would still be
aceted upon before cancellation was re-enabled.
2003-07-21 22:24:09 +00:00
nathanw
329747fb90 Add a lock on the pt_flags field. 2003-07-21 22:21:07 +00:00
nathanw
0c96790183 Use _sys_write() instead of write() in the assertion and error
functions, to avoid invoking the cancellation machinery in the middle
of trying to print an assertion or error message.
2003-07-21 22:17:14 +00:00
nathanw
68a63a4079 Move initialization of variable 'nthreads' so that pthread_exit() from
the main thread, with no other threads created, exits cleanly instead
of triggering an assertion in pthread_next().
2003-07-21 22:14:57 +00:00
nathanw
f0dee7380d KNF a bit. 2003-07-21 19:21:12 +00:00
tshiozak
8506e58599 add new locales - bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13 2003-07-21 17:45:50 +00:00